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

Side by Side Diff: chrome/test/base/test_browser_window.cc

Issue 11830008: ash/immersive mode: Hide the launcher when entering immersive mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: call up via ShellDelegate Created 7 years, 11 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 | Annotate | Revision Log
« ash/shell_delegate.h ('K') | « chrome/test/base/test_browser_window.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/test/base/test_browser_window.h" 5 #include "chrome/test/base/test_browser_window.h"
6 6
7 #include "chrome/browser/ui/browser_list.h" 7 #include "chrome/browser/ui/browser_list.h"
8 #include "chrome/browser/ui/browser_list_observer.h" 8 #include "chrome/browser/ui/browser_list_observer.h"
9 #include "ui/gfx/rect.h" 9 #include "ui/gfx/rect.h"
10 10
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 int TestBrowserWindow::GetExtraRenderViewHeight() const { 109 int TestBrowserWindow::GetExtraRenderViewHeight() const {
110 return 0; 110 return 0;
111 } 111 }
112 112
113 #if defined(OS_MACOSX) 113 #if defined(OS_MACOSX)
114 bool TestBrowserWindow::InPresentationMode() { 114 bool TestBrowserWindow::InPresentationMode() {
115 return false; 115 return false;
116 } 116 }
117 #endif 117 #endif
118 118
119 #if defined(USE_ASH)
120 bool TestBrowserWindow::IsImmersiveMode() const {
121 return false;
122 }
123 #endif
124
119 gfx::Rect TestBrowserWindow::GetInstantBounds() { 125 gfx::Rect TestBrowserWindow::GetInstantBounds() {
120 return gfx::Rect(); 126 return gfx::Rect();
121 } 127 }
122 128
123 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds( 129 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds(
124 const gfx::Rect& bounds) { 130 const gfx::Rect& bounds) {
125 return NEW_POPUP; 131 return NEW_POPUP;
126 } 132 }
127 133
128 bool TestBrowserWindow::IsInstantTabShowing() { 134 bool TestBrowserWindow::IsInstantTabShowing() {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 } 178 }
173 179
174 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params) { 180 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params) {
175 TestBrowserWindow* window = new TestBrowserWindow; 181 TestBrowserWindow* window = new TestBrowserWindow;
176 new TestBrowserWindowOwner(window); 182 new TestBrowserWindowOwner(window);
177 params->window = window; 183 params->window = window;
178 return new Browser(*params); 184 return new Browser(*params);
179 } 185 }
180 186
181 } // namespace chrome 187 } // namespace chrome
OLDNEW
« ash/shell_delegate.h ('K') | « chrome/test/base/test_browser_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698