#include "chrome/browser/renderer_context_menu/accessibility_labels_menu_observer.h"
#include <memory>
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "build/chromeos_buildflags.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/renderer_context_menu/mock_render_view_context_menu.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/context_menu_params.h"
#include "content/public/test/browser_test.h"
#include "testing/gtest/include/gtest/gtest.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chrome/browser/ash/accessibility/accessibility_manager.h"
#else
#include "content/public/test/scoped_accessibility_mode_override.h"
#endif
namespace {
class AccessibilityLabelsMenuObserverTest : public InProcessBrowserTest { … };
AccessibilityLabelsMenuObserverTest::AccessibilityLabelsMenuObserverTest() { … }
AccessibilityLabelsMenuObserverTest::~AccessibilityLabelsMenuObserverTest() { … }
}
IN_PROC_BROWSER_TEST_F(AccessibilityLabelsMenuObserverTest,
AccessibilityLabelsNotShownWithoutScreenReader) { … }
IN_PROC_BROWSER_TEST_F(AccessibilityLabelsMenuObserverTest,
AccessibilityLabelsShowWithScreenReaderEnabled) { … }