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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.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/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('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_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
7 7
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/extensions/extension_keybinding_registry.h" 10 #include "chrome/browser/extensions/extension_keybinding_registry.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 bool with_toolbar) override; 82 bool with_toolbar) override;
83 void ExitFullscreen() override; 83 void ExitFullscreen() override;
84 void UpdateExclusiveAccessExitBubbleContent( 84 void UpdateExclusiveAccessExitBubbleContent(
85 const GURL& url, 85 const GURL& url,
86 ExclusiveAccessBubbleType bubble_type) override; 86 ExclusiveAccessBubbleType bubble_type) override;
87 bool ShouldHideUIForFullscreen() const override; 87 bool ShouldHideUIForFullscreen() const override;
88 bool IsFullscreen() const override; 88 bool IsFullscreen() const override;
89 bool IsFullscreenBubbleVisible() const override; 89 bool IsFullscreenBubbleVisible() const override;
90 bool SupportsFullscreenWithToolbar() const override; 90 bool SupportsFullscreenWithToolbar() const override;
91 void UpdateFullscreenWithToolbar(bool with_toolbar) override; 91 void UpdateFullscreenWithToolbar(bool with_toolbar) override;
92 void ToggleFullscreenToolbar() override;
92 bool IsFullscreenWithToolbar() const override; 93 bool IsFullscreenWithToolbar() const override;
94 bool ShouldHideFullscreenToolbar() const override;
93 LocationBar* GetLocationBar() const override; 95 LocationBar* GetLocationBar() const override;
94 void SetFocusToLocationBar(bool select_all) override; 96 void SetFocusToLocationBar(bool select_all) override;
95 void UpdateReloadStopState(bool is_loading, bool force) override; 97 void UpdateReloadStopState(bool is_loading, bool force) override;
96 void UpdateToolbar(content::WebContents* contents) override; 98 void UpdateToolbar(content::WebContents* contents) override;
97 void ResetToolbarTabState(content::WebContents* contents) override; 99 void ResetToolbarTabState(content::WebContents* contents) override;
98 void FocusToolbar() override; 100 void FocusToolbar() override;
99 ToolbarActionsBar* GetToolbarActionsBar() override; 101 ToolbarActionsBar* GetToolbarActionsBar() override;
100 void ToolbarSizeChanged(bool is_animating) override; 102 void ToolbarSizeChanged(bool is_animating) override;
101 void FocusAppMenu() override; 103 void FocusAppMenu() override;
102 void FocusBookmarksToolbar() override; 104 void FocusBookmarksToolbar() override;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 NSWindow* window() const; // Accessor for the (current) |NSWindow|. 193 NSWindow* window() const; // Accessor for the (current) |NSWindow|.
192 194
193 Browser* browser_; // weak, owned by controller 195 Browser* browser_; // weak, owned by controller
194 BrowserWindowController* controller_; // weak, owns us 196 BrowserWindowController* controller_; // weak, owns us
195 base::scoped_nsobject<NSString> pending_window_title_; 197 base::scoped_nsobject<NSString> pending_window_title_;
196 ui::WindowShowState initial_show_state_; 198 ui::WindowShowState initial_show_state_;
197 NSInteger attention_request_id_; // identifier from requestUserAttention 199 NSInteger attention_request_id_; // identifier from requestUserAttention
198 }; 200 };
199 201
200 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 202 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698