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

Side by Side Diff: chrome/browser/ui/views/frame/immersive_mode_controller_stub.cc

Issue 2251213004: Moves ImmersiveFullscreenController::SetupForTest into test class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/ui/views/frame/immersive_mode_controller_stub.h" 5 #include "chrome/browser/ui/views/frame/immersive_mode_controller_stub.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 ImmersiveModeControllerStub::ImmersiveModeControllerStub() { 9 ImmersiveModeControllerStub::ImmersiveModeControllerStub()
10 } 10 : ImmersiveModeController(Type::STUB) {}
11 11
12 ImmersiveModeControllerStub::~ImmersiveModeControllerStub() { 12 ImmersiveModeControllerStub::~ImmersiveModeControllerStub() {
13 } 13 }
14 14
15 void ImmersiveModeControllerStub::Init(BrowserView* browser_view) { 15 void ImmersiveModeControllerStub::Init(BrowserView* browser_view) {
16 } 16 }
17 17
18 void ImmersiveModeControllerStub::SetEnabled(bool enabled) { 18 void ImmersiveModeControllerStub::SetEnabled(bool enabled) {
19 NOTREACHED(); 19 NOTREACHED();
20 } 20 }
(...skipping 20 matching lines...) Expand all
41 } 41 }
42 42
43 ImmersiveRevealedLock* ImmersiveModeControllerStub::GetRevealedLock( 43 ImmersiveRevealedLock* ImmersiveModeControllerStub::GetRevealedLock(
44 AnimateReveal animate_reveal) { 44 AnimateReveal animate_reveal) {
45 return nullptr; 45 return nullptr;
46 } 46 }
47 47
48 void ImmersiveModeControllerStub::OnFindBarVisibleBoundsChanged( 48 void ImmersiveModeControllerStub::OnFindBarVisibleBoundsChanged(
49 const gfx::Rect& new_visible_bounds_in_screen) { 49 const gfx::Rect& new_visible_bounds_in_screen) {
50 } 50 }
51
52 void ImmersiveModeControllerStub::SetupForTest() {
53 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698