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

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

Issue 12018007: Refactor BrowserWindow fullscreen and presentation on Mac to be consistent with other platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge TOT Created 7 years, 10 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
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 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 virtual void ShowWebsiteSettings(Profile* profile, 113 virtual void ShowWebsiteSettings(Profile* profile,
114 content::WebContents* web_contents, 114 content::WebContents* web_contents,
115 const GURL& url, 115 const GURL& url,
116 const content::SSLStatus& ssl, 116 const content::SSLStatus& ssl,
117 bool show_history) OVERRIDE {} 117 bool show_history) OVERRIDE {}
118 virtual void Cut() OVERRIDE {} 118 virtual void Cut() OVERRIDE {}
119 virtual void Copy() OVERRIDE {} 119 virtual void Copy() OVERRIDE {}
120 virtual void Paste() OVERRIDE {} 120 virtual void Paste() OVERRIDE {}
121 #if defined(OS_MACOSX) 121 #if defined(OS_MACOSX)
122 virtual void OpenTabpose() OVERRIDE {} 122 virtual void OpenTabpose() OVERRIDE {}
123 virtual void EnterPresentationMode( 123 virtual void EnterFullscreenWithChrome() OVERRIDE {}
124 const GURL& url, 124 virtual bool IsFullscreenWithChrome() OVERRIDE;
125 FullscreenExitBubbleType bubble_type) OVERRIDE {} 125 virtual bool IsFullscreenWithoutChrome() OVERRIDE;
126 virtual void ExitPresentationMode() OVERRIDE {}
127 virtual bool InPresentationMode() OVERRIDE;
128 #endif 126 #endif
129 127
130 virtual gfx::Rect GetInstantBounds() OVERRIDE; 128 virtual gfx::Rect GetInstantBounds() OVERRIDE;
131 virtual WindowOpenDisposition GetDispositionForPopupBounds( 129 virtual WindowOpenDisposition GetDispositionForPopupBounds(
132 const gfx::Rect& bounds) OVERRIDE; 130 const gfx::Rect& bounds) OVERRIDE;
133 virtual FindBar* CreateFindBar() OVERRIDE; 131 virtual FindBar* CreateFindBar() OVERRIDE;
134 virtual bool GetConstrainedWindowTopY(int* top_y) OVERRIDE; 132 virtual bool GetConstrainedWindowTopY(int* top_y) OVERRIDE;
135 virtual void ShowAvatarBubble(content::WebContents* web_contents, 133 virtual void ShowAvatarBubble(content::WebContents* web_contents,
136 const gfx::Rect& rect) OVERRIDE {} 134 const gfx::Rect& rect) OVERRIDE {}
137 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE {} 135 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE {}
(...skipping 14 matching lines...) Expand all
152 150
153 namespace chrome { 151 namespace chrome {
154 152
155 // Helpers that handle the lifetime of TestBrowserWindow instances. 153 // Helpers that handle the lifetime of TestBrowserWindow instances.
156 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile); 154 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile);
157 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 155 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
158 156
159 } // namespace chrome 157 } // namespace chrome
160 158
161 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 159 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698