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

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

Issue 681823004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/browser_tabstrip.h" 8 #include "chrome/browser/ui/browser_tabstrip.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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 // FullscreenControllerStateUnitTest ------------------------------------------- 210 // FullscreenControllerStateUnitTest -------------------------------------------
211 211
212 // Unit test fixture testing Fullscreen Controller through its states. Most of 212 // Unit test fixture testing Fullscreen Controller through its states. Most of
213 // the test logic comes from FullscreenControllerStateTest. 213 // the test logic comes from FullscreenControllerStateTest.
214 class FullscreenControllerStateUnitTest : public BrowserWithTestWindowTest, 214 class FullscreenControllerStateUnitTest : public BrowserWithTestWindowTest,
215 public FullscreenControllerStateTest { 215 public FullscreenControllerStateTest {
216 public: 216 public:
217 FullscreenControllerStateUnitTest(); 217 FullscreenControllerStateUnitTest();
218 218
219 // FullscreenControllerStateTest: 219 // FullscreenControllerStateTest:
220 virtual void SetUp() override; 220 void SetUp() override;
221 BrowserWindow* CreateBrowserWindow() override; 221 BrowserWindow* CreateBrowserWindow() override;
222 void ChangeWindowFullscreenState() override; 222 void ChangeWindowFullscreenState() override;
223 const char* GetWindowStateString() override; 223 const char* GetWindowStateString() override;
224 void VerifyWindowState() override; 224 void VerifyWindowState() override;
225 225
226 protected: 226 protected:
227 // FullscreenControllerStateTest: 227 // FullscreenControllerStateTest:
228 bool ShouldSkipStateAndEventPair(State state, Event event) override; 228 bool ShouldSkipStateAndEventPair(State state, Event event) override;
229 Browser* GetBrowser() override; 229 Browser* GetBrowser() override;
230 FullscreenControllerTestWindow* window_; 230 FullscreenControllerTestWindow* window_;
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 EXPECT_FALSE(browser()->window()->IsFullscreen()); 786 EXPECT_FALSE(browser()->window()->IsFullscreen());
787 EXPECT_FALSE(wc_delegate->IsFullscreenForTabOrPending(tab)); 787 EXPECT_FALSE(wc_delegate->IsFullscreenForTabOrPending(tab));
788 EXPECT_FALSE(second_wc_delegate->IsFullscreenForTabOrPending(tab)); 788 EXPECT_FALSE(second_wc_delegate->IsFullscreenForTabOrPending(tab));
789 EXPECT_FALSE(GetFullscreenController()->IsWindowFullscreenForTabOrPending()); 789 EXPECT_FALSE(GetFullscreenController()->IsWindowFullscreenForTabOrPending());
790 EXPECT_FALSE(second_browser->fullscreen_controller()-> 790 EXPECT_FALSE(second_browser->fullscreen_controller()->
791 IsWindowFullscreenForTabOrPending()); 791 IsWindowFullscreenForTabOrPending());
792 792
793 // Required tear-down specific to this test. 793 // Required tear-down specific to this test.
794 second_browser->tab_strip_model()->CloseAllTabs(); 794 second_browser->tab_strip_model()->CloseAllTabs();
795 } 795 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698