#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/in_process_browser_test.h"
-#include "chrome/test/base/ui_test_utils.h"
#include "content/public/test/browser_test_utils.h"
#include "ui/aura/client/cursor_client.h"
#include "ui/aura/window_tree_host.h"
virtual ~TouchExplorationTest() {}
protected:
- virtual void SetUpOnMainThread() OVERRIDE {
+ virtual void SetUpOnMainThread() override {
// The RenderView for WebContents is created as a result of the
// navigation to the New Tab page which is done as part of the test
// SetUp. The creation involves sending a resize message to the renderer
root_window_->AddPreTargetHandler(event_handler_.get());
}
- virtual void TearDownOnMainThread() OVERRIDE {
+ virtual void TearDownOnMainThread() override {
SwitchTouchExplorationMode(false);
root_window_->RemovePreTargetHandler(event_handler_.get());
}
ash::AccessibilityDelegate* ad =
ash::Shell::GetInstance()->accessibility_delegate();
if (on != ad->IsSpokenFeedbackEnabled())
- ad->ToggleSpokenFeedback(ash::A11Y_NOTIFICATION_NONE);
+ ad->ToggleSpokenFeedback(ui::A11Y_NOTIFICATION_NONE);
}
base::TimeDelta Now() {
DISALLOW_COPY_AND_ASSIGN(TouchExplorationTest);
};
+#if defined(OS_CHROMEOS)
+// crbug.com/422943
+#define MAYBE_NoRewritingEventsWhenOff DISABLED_NoRewritingEventsWhenOff
+#else
+#define MAYBE_NoRewritingEventsWhenOff NoRewritingEventsWhenOff
+#endif
+
// This test turns the touch exploration mode off and confirms that events
// aren't modified.
-IN_PROC_BROWSER_TEST_F(TouchExplorationTest, NoRewritingEventsWhenOff) {
+IN_PROC_BROWSER_TEST_F(TouchExplorationTest, MAYBE_NoRewritingEventsWhenOff) {
SwitchTouchExplorationMode(false);
ui::test::EventGenerator generator(root_window_);