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

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: Rebase and merge code 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
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 75 bool SupportsFullscreenWithToolbar() const override;
76 void UpdateFullscreenWithToolbar(bool with_toolbar) override; 76 void UpdateFullscreenWithToolbar(bool with_toolbar) override;
77 void ToggleFullscreenToolbar() override;
77 bool IsFullscreenWithToolbar() const override; 78 bool IsFullscreenWithToolbar() const override;
79 bool ShouldHideFullscreenToolbar() const override;
78 #if defined(OS_WIN) 80 #if defined(OS_WIN)
79 void SetMetroSnapMode(bool enable) override {} 81 void SetMetroSnapMode(bool enable) override {}
80 bool IsInMetroSnapMode() const override; 82 bool IsInMetroSnapMode() const override;
81 #endif 83 #endif
82 LocationBar* GetLocationBar() const override; 84 LocationBar* GetLocationBar() const override;
83 void SetFocusToLocationBar(bool select_all) override {} 85 void SetFocusToLocationBar(bool select_all) override {}
84 void UpdateReloadStopState(bool is_loading, bool force) override {} 86 void UpdateReloadStopState(bool is_loading, bool force) override {}
85 void UpdateToolbar(content::WebContents* contents) override {} 87 void UpdateToolbar(content::WebContents* contents) override {}
86 void ResetToolbarTabState(content::WebContents* contents) override {} 88 void ResetToolbarTabState(content::WebContents* contents) override {}
87 void FocusToolbar() override {} 89 void FocusToolbar() override {}
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 215
214 namespace chrome { 216 namespace chrome {
215 217
216 // Helper that handle the lifetime of TestBrowserWindow instances. 218 // Helper that handle the lifetime of TestBrowserWindow instances.
217 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( 219 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams(
218 Browser::CreateParams* params); 220 Browser::CreateParams* params);
219 221
220 } // namespace chrome 222 } // namespace chrome
221 223
222 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 224 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/test/base/test_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698