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

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

Issue 1414033009: Implement a Menu Item to Hide the Toolbar in Fullscreen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hide menu item on 10.6 Created 5 years, 1 month 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 (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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 void EnterFullscreen(const GURL& url, 65 void EnterFullscreen(const GURL& url,
66 ExclusiveAccessBubbleType type, 66 ExclusiveAccessBubbleType type,
67 bool with_toolbar) override {} 67 bool with_toolbar) override {}
68 void ExitFullscreen() override {} 68 void ExitFullscreen() override {}
69 void UpdateExclusiveAccessExitBubbleContent( 69 void UpdateExclusiveAccessExitBubbleContent(
70 const GURL& url, 70 const GURL& url,
71 ExclusiveAccessBubbleType bubble_type) override {} 71 ExclusiveAccessBubbleType bubble_type) override {}
72 bool ShouldHideUIForFullscreen() const override; 72 bool ShouldHideUIForFullscreen() const override;
73 bool IsFullscreen() const override; 73 bool IsFullscreen() const override;
74 bool IsFullscreenBubbleVisible() const override; 74 bool IsFullscreenBubbleVisible() const override;
75 bool SupportsFullscreenWithToolbar() const override;
76 void UpdateFullscreenWithToolbar(bool with_toolbar) override; 75 void UpdateFullscreenWithToolbar(bool with_toolbar) override;
76 void ToggleFullscreenToolbar() override;
77 bool IsFullscreenWithToolbar() const override; 77 bool IsFullscreenWithToolbar() const override;
78 bool ShouldHideFullscreenToolbar() const override;
78 #if defined(OS_WIN) 79 #if defined(OS_WIN)
79 void SetMetroSnapMode(bool enable) override {} 80 void SetMetroSnapMode(bool enable) override {}
80 bool IsInMetroSnapMode() const override; 81 bool IsInMetroSnapMode() const override;
81 #endif 82 #endif
82 LocationBar* GetLocationBar() const override; 83 LocationBar* GetLocationBar() const override;
83 void SetFocusToLocationBar(bool select_all) override {} 84 void SetFocusToLocationBar(bool select_all) override {}
84 void UpdateReloadStopState(bool is_loading, bool force) override {} 85 void UpdateReloadStopState(bool is_loading, bool force) override {}
85 void UpdateToolbar(content::WebContents* contents) override {} 86 void UpdateToolbar(content::WebContents* contents) override {}
86 void ResetToolbarTabState(content::WebContents* contents) override {} 87 void ResetToolbarTabState(content::WebContents* contents) override {}
87 void FocusToolbar() override {} 88 void FocusToolbar() override {}
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 209
209 namespace chrome { 210 namespace chrome {
210 211
211 // Helper that handle the lifetime of TestBrowserWindow instances. 212 // Helper that handle the lifetime of TestBrowserWindow instances.
212 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( 213 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams(
213 Browser::CreateParams* params); 214 Browser::CreateParams* params);
214 215
215 } // namespace chrome 216 } // namespace chrome
216 217
217 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 218 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698