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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.h

Issue 789403002: Rename fullscreen_exit_bubble_* to exclusive_access_bubble_* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated based on CR comments Created 6 years 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_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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 void ZoomChangedForActiveTab(bool can_show_bubble) override; 69 void ZoomChangedForActiveTab(bool can_show_bubble) override;
70 gfx::Rect GetRestoredBounds() const override; 70 gfx::Rect GetRestoredBounds() const override;
71 ui::WindowShowState GetRestoredState() const override; 71 ui::WindowShowState GetRestoredState() const override;
72 gfx::Rect GetBounds() const override; 72 gfx::Rect GetBounds() const override;
73 bool IsMaximized() const override; 73 bool IsMaximized() const override;
74 bool IsMinimized() const override; 74 bool IsMinimized() const override;
75 void Maximize() override; 75 void Maximize() override;
76 void Minimize() override; 76 void Minimize() override;
77 void Restore() override; 77 void Restore() override;
78 void EnterFullscreen(const GURL& url, 78 void EnterFullscreen(const GURL& url,
79 FullscreenExitBubbleType type, 79 ExclusiveAccessBubbleType type,
80 bool with_toolbar) override; 80 bool with_toolbar) override;
81 void ExitFullscreen() override; 81 void ExitFullscreen() override;
82 void UpdateFullscreenExitBubbleContent( 82 void UpdateFullscreenExitBubbleContent(
83 const GURL& url, 83 const GURL& url,
84 FullscreenExitBubbleType bubble_type) override; 84 ExclusiveAccessBubbleType bubble_type) override;
85 bool ShouldHideUIForFullscreen() const override; 85 bool ShouldHideUIForFullscreen() const override;
86 bool IsFullscreen() const override; 86 bool IsFullscreen() const override;
87 bool IsFullscreenBubbleVisible() const override; 87 bool IsFullscreenBubbleVisible() const override;
88 bool SupportsFullscreenWithToolbar() const override; 88 bool SupportsFullscreenWithToolbar() const override;
89 void UpdateFullscreenWithToolbar(bool with_toolbar) override; 89 void UpdateFullscreenWithToolbar(bool with_toolbar) override;
90 bool IsFullscreenWithToolbar() const override; 90 bool IsFullscreenWithToolbar() const override;
91 LocationBar* GetLocationBar() const override; 91 LocationBar* GetLocationBar() const override;
92 void SetFocusToLocationBar(bool select_all) override; 92 void SetFocusToLocationBar(bool select_all) override;
93 void UpdateReloadStopState(bool is_loading, bool force) override; 93 void UpdateReloadStopState(bool is_loading, bool force) override;
94 void UpdateToolbar(content::WebContents* contents) override; 94 void UpdateToolbar(content::WebContents* contents) override;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 NSWindow* window() const; // Accessor for the (current) |NSWindow|. 177 NSWindow* window() const; // Accessor for the (current) |NSWindow|.
178 178
179 Browser* browser_; // weak, owned by controller 179 Browser* browser_; // weak, owned by controller
180 BrowserWindowController* controller_; // weak, owns us 180 BrowserWindowController* controller_; // weak, owns us
181 base::scoped_nsobject<NSString> pending_window_title_; 181 base::scoped_nsobject<NSString> pending_window_title_;
182 ui::WindowShowState initial_show_state_; 182 ui::WindowShowState initial_show_state_;
183 NSInteger attention_request_id_; // identifier from requestUserAttention 183 NSInteger attention_request_id_; // identifier from requestUserAttention
184 }; 184 };
185 185
186 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 186 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/applescript/window_applescript.mm ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698