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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/immersive_mode_controller_stub.cc
diff --git a/chrome/browser/ui/views/frame/immersive_mode_controller_stub.cc b/chrome/browser/ui/views/frame/immersive_mode_controller_stub.cc
index c07d77fec202e09624dc21733788f546aabf6726..b25f80078d4607c7cf3046e9b6674569d621d558 100644
--- a/chrome/browser/ui/views/frame/immersive_mode_controller_stub.cc
+++ b/chrome/browser/ui/views/frame/immersive_mode_controller_stub.cc
@@ -6,8 +6,8 @@
#include "base/logging.h"
-ImmersiveModeControllerStub::ImmersiveModeControllerStub() {
-}
+ImmersiveModeControllerStub::ImmersiveModeControllerStub()
+ : ImmersiveModeController(Type::STUB) {}
ImmersiveModeControllerStub::~ImmersiveModeControllerStub() {
}
@@ -48,6 +48,3 @@ ImmersiveRevealedLock* ImmersiveModeControllerStub::GetRevealedLock(
void ImmersiveModeControllerStub::OnFindBarVisibleBoundsChanged(
const gfx::Rect& new_visible_bounds_in_screen) {
}
-
-void ImmersiveModeControllerStub::SetupForTest() {
-}

Powered by Google App Engine
This is Rietveld 408576698