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

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

Issue 652983005: mac: Fix bug where exiting tab fullscreen would cause Chrome menubar to disappear. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit test. Created 6 years, 2 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
« no previous file with comments | « chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc ('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 #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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 virtual void WebContentsFocused(content::WebContents* contents) override {} 129 virtual void WebContentsFocused(content::WebContents* contents) override {}
130 virtual void ShowWebsiteSettings(Profile* profile, 130 virtual void ShowWebsiteSettings(Profile* profile,
131 content::WebContents* web_contents, 131 content::WebContents* web_contents,
132 const GURL& url, 132 const GURL& url,
133 const content::SSLStatus& ssl) override {} 133 const content::SSLStatus& ssl) override {}
134 virtual void Cut() override {} 134 virtual void Cut() override {}
135 virtual void Copy() override {} 135 virtual void Copy() override {}
136 virtual void Paste() override {} 136 virtual void Paste() override {}
137 #if defined(OS_MACOSX) 137 #if defined(OS_MACOSX)
138 virtual void EnterFullscreenWithChrome() override {} 138 virtual void EnterFullscreenWithChrome() override {}
139 virtual void EnterFullscreenWithoutChrome() override {}
139 virtual bool IsFullscreenWithChrome() override; 140 virtual bool IsFullscreenWithChrome() override;
140 virtual bool IsFullscreenWithoutChrome() override; 141 virtual bool IsFullscreenWithoutChrome() override;
141 #endif 142 #endif
142 143
143 virtual WindowOpenDisposition GetDispositionForPopupBounds( 144 virtual WindowOpenDisposition GetDispositionForPopupBounds(
144 const gfx::Rect& bounds) override; 145 const gfx::Rect& bounds) override;
145 virtual FindBar* CreateFindBar() override; 146 virtual FindBar* CreateFindBar() override;
146 virtual web_modal::WebContentsModalDialogHost* 147 virtual web_modal::WebContentsModalDialogHost*
147 GetWebContentsModalDialogHost() override; 148 GetWebContentsModalDialogHost() override;
148 virtual void ShowAvatarBubble(content::WebContents* web_contents, 149 virtual void ShowAvatarBubble(content::WebContents* web_contents,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 }; 198 };
198 199
199 namespace chrome { 200 namespace chrome {
200 201
201 // Helper that handle the lifetime of TestBrowserWindow instances. 202 // Helper that handle the lifetime of TestBrowserWindow instances.
202 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); 203 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params);
203 204
204 } // namespace chrome 205 } // namespace chrome
205 206
206 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 207 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698