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

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

Issue 7740044: Implement fullscreen info bubble on Win and Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: windows compile fix Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_nsobject.h" 9 #include "base/memory/scoped_nsobject.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void UpdateTitleBar(); 48 virtual void UpdateTitleBar();
49 virtual void BookmarkBarStateChanged( 49 virtual void BookmarkBarStateChanged(
50 BookmarkBar::AnimateChangeType change_type); 50 BookmarkBar::AnimateChangeType change_type);
51 virtual void UpdateDevTools(); 51 virtual void UpdateDevTools();
52 virtual void UpdateLoadingAnimations(bool should_animate); 52 virtual void UpdateLoadingAnimations(bool should_animate);
53 virtual void SetStarredState(bool is_starred); 53 virtual void SetStarredState(bool is_starred);
54 virtual gfx::Rect GetRestoredBounds() const; 54 virtual gfx::Rect GetRestoredBounds() const;
55 virtual gfx::Rect GetBounds() const; 55 virtual gfx::Rect GetBounds() const;
56 virtual bool IsMaximized() const; 56 virtual bool IsMaximized() const;
57 virtual bool IsMinimized() const; 57 virtual bool IsMinimized() const;
58 virtual void SetFullscreen(bool fullscreen); 58 virtual void EnterFullscreen(const GURL& url, bool ask_permission);
59 virtual void ExitFullscreen();
59 virtual bool IsFullscreen() const; 60 virtual bool IsFullscreen() const;
60 virtual bool IsFullscreenBubbleVisible() const; 61 virtual bool IsFullscreenBubbleVisible() const;
61 virtual LocationBar* GetLocationBar() const; 62 virtual LocationBar* GetLocationBar() const;
62 virtual void SetFocusToLocationBar(bool select_all); 63 virtual void SetFocusToLocationBar(bool select_all);
63 virtual void UpdateReloadStopState(bool is_loading, bool force); 64 virtual void UpdateReloadStopState(bool is_loading, bool force);
64 virtual void UpdateToolbar(TabContentsWrapper* contents, 65 virtual void UpdateToolbar(TabContentsWrapper* contents,
65 bool should_restore_state); 66 bool should_restore_state);
66 virtual void FocusToolbar(); 67 virtual void FocusToolbar();
67 virtual void FocusAppMenu(); 68 virtual void FocusAppMenu();
68 virtual void FocusBookmarksToolbar(); 69 virtual void FocusBookmarksToolbar();
(...skipping 29 matching lines...) Expand all
98 bool* is_keyboard_shortcut); 99 bool* is_keyboard_shortcut);
99 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 100 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
100 virtual void ShowCreateWebAppShortcutsDialog( 101 virtual void ShowCreateWebAppShortcutsDialog(
101 TabContentsWrapper* tab_contents); 102 TabContentsWrapper* tab_contents);
102 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, 103 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile,
103 const Extension* app); 104 const Extension* app);
104 virtual void Cut(); 105 virtual void Cut();
105 virtual void Copy(); 106 virtual void Copy();
106 virtual void Paste(); 107 virtual void Paste();
107 virtual void OpenTabpose(); 108 virtual void OpenTabpose();
108 virtual void SetPresentationMode(bool presentation_mode); 109 virtual void SetPresentationMode(bool presentation_mode,
110 const GURL& url,
111 bool ask_permission);
109 virtual bool InPresentationMode(); 112 virtual bool InPresentationMode();
110 virtual void ShowInstant(TabContentsWrapper* preview); 113 virtual void ShowInstant(TabContentsWrapper* preview);
111 virtual void HideInstant(bool instant_is_active); 114 virtual void HideInstant(bool instant_is_active);
112 virtual gfx::Rect GetInstantBounds(); 115 virtual gfx::Rect GetInstantBounds();
113 virtual WindowOpenDisposition GetDispositionForPopupBounds( 116 virtual WindowOpenDisposition GetDispositionForPopupBounds(
114 const gfx::Rect& bounds); 117 const gfx::Rect& bounds);
115 virtual FindBar* CreateFindBar() OVERRIDE; 118 virtual FindBar* CreateFindBar() OVERRIDE;
116 virtual void ShowAvatarBubble(TabContents* tab_contents, 119 virtual void ShowAvatarBubble(TabContents* tab_contents,
117 const gfx::Rect& rect) OVERRIDE; 120 const gfx::Rect& rect) OVERRIDE;
118 121
(...skipping 18 matching lines...) Expand all
137 NotificationRegistrar registrar_; 140 NotificationRegistrar registrar_;
138 PrefChangeRegistrar pref_change_registrar_; 141 PrefChangeRegistrar pref_change_registrar_;
139 Browser* browser_; // weak, owned by controller 142 Browser* browser_; // weak, owned by controller
140 BrowserWindowController* controller_; // weak, owns us 143 BrowserWindowController* controller_; // weak, owns us
141 base::WeakPtrFactory<Browser> confirm_close_factory_; 144 base::WeakPtrFactory<Browser> confirm_close_factory_;
142 scoped_nsobject<NSString> pending_window_title_; 145 scoped_nsobject<NSString> pending_window_title_;
143 ui::WindowShowState initial_show_state_; 146 ui::WindowShowState initial_show_state_;
144 }; 147 };
145 148
146 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 149 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698