Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: chrome/browser/ui/fullscreen/fullscreen_controller_state_interactive_browsertest.cc

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "chrome/browser/ui/browser.h" 6 #include "chrome/browser/ui/browser.h"
7 #include "chrome/browser/ui/browser_tabstrip.h" 7 #include "chrome/browser/ui/browser_tabstrip.h"
8 #include "chrome/browser/ui/browser_window.h" 8 #include "chrome/browser/ui/browser_window.h"
9 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h" 9 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h"
10 #include "chrome/browser/ui/fullscreen/fullscreen_controller_state_test.h" 10 #include "chrome/browser/ui/fullscreen/fullscreen_controller_state_test.h"
(...skipping 15 matching lines...) Expand all
26 // interactive_ui_tests 26 // interactive_ui_tests
27 // --gtest_filter="FullscreenControllerStateInteractiveTest.*" 27 // --gtest_filter="FullscreenControllerStateInteractiveTest.*"
28 // --gtest_also_run_disabled_tests 28 // --gtest_also_run_disabled_tests
29 // 29 //
30 // More context atop fullscreen_controller_state_test.h. 30 // More context atop fullscreen_controller_state_test.h.
31 class FullscreenControllerStateInteractiveTest 31 class FullscreenControllerStateInteractiveTest
32 : public InProcessBrowserTest, 32 : public InProcessBrowserTest,
33 public FullscreenControllerStateTest { 33 public FullscreenControllerStateTest {
34 private: 34 private:
35 // FullscreenControllerStateTest override: 35 // FullscreenControllerStateTest override:
36 virtual Browser* GetBrowser() OVERRIDE; 36 virtual Browser* GetBrowser() override;
37 }; 37 };
38 38
39 Browser* FullscreenControllerStateInteractiveTest::GetBrowser() { 39 Browser* FullscreenControllerStateInteractiveTest::GetBrowser() {
40 return InProcessBrowserTest::browser(); 40 return InProcessBrowserTest::browser();
41 } 41 }
42 42
43 43
44 // Soak tests ------------------------------------------------------------------ 44 // Soak tests ------------------------------------------------------------------
45 45
46 // Tests all states with all permutations of multiple events to detect lingering 46 // Tests all states with all permutations of multiple events to detect lingering
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 ASSERT_TRUE(InvokeEvent(TAB_FULLSCREEN_TRUE)) << GetAndClearDebugLog(); 93 ASSERT_TRUE(InvokeEvent(TAB_FULLSCREEN_TRUE)) << GetAndClearDebugLog();
94 ASSERT_TRUE(InvokeEvent(TOGGLE_FULLSCREEN)) << GetAndClearDebugLog(); 94 ASSERT_TRUE(InvokeEvent(TOGGLE_FULLSCREEN)) << GetAndClearDebugLog();
95 ASSERT_TRUE(InvokeEvent(WINDOW_CHANGE)) << GetAndClearDebugLog(); 95 ASSERT_TRUE(InvokeEvent(WINDOW_CHANGE)) << GetAndClearDebugLog();
96 96
97 // Wait, allowing human operator to observe the result. 97 // Wait, allowing human operator to observe the result.
98 scoped_refptr<content::MessageLoopRunner> message_loop 98 scoped_refptr<content::MessageLoopRunner> message_loop
99 = new content::MessageLoopRunner(); 99 = new content::MessageLoopRunner();
100 message_loop->Run(); 100 message_loop->Run();
101 } 101 }
102 102
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698