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

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

Issue 175017: Experiment with dislodging the Extension Shelf and having it only appear on t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « chrome/browser/browser_window.h ('k') | chrome/browser/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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_
7 7
8 #include "chrome/browser/browser_window.h" 8 #include "chrome/browser/browser_window.h"
9 #include "chrome/browser/bookmarks/bookmark_model.h" 9 #include "chrome/browser/bookmarks/bookmark_model.h"
10 #include "chrome/common/notification_registrar.h" 10 #include "chrome/common/notification_registrar.h"
(...skipping 20 matching lines...) Expand all
31 virtual void Show(); 31 virtual void Show();
32 virtual void SetBounds(const gfx::Rect& bounds); 32 virtual void SetBounds(const gfx::Rect& bounds);
33 virtual void Close(); 33 virtual void Close();
34 virtual void Activate(); 34 virtual void Activate();
35 virtual bool IsActive() const; 35 virtual bool IsActive() const;
36 virtual void FlashFrame(); 36 virtual void FlashFrame();
37 virtual gfx::NativeWindow GetNativeHandle(); 37 virtual gfx::NativeWindow GetNativeHandle();
38 virtual BrowserWindowTesting* GetBrowserWindowTesting(); 38 virtual BrowserWindowTesting* GetBrowserWindowTesting();
39 virtual StatusBubble* GetStatusBubble(); 39 virtual StatusBubble* GetStatusBubble();
40 virtual void SelectedTabToolbarSizeChanged(bool is_animating); 40 virtual void SelectedTabToolbarSizeChanged(bool is_animating);
41 virtual void SelectedTabExtensionShelfSizeChanged();
41 virtual void UpdateTitleBar(); 42 virtual void UpdateTitleBar();
42 virtual void UpdateDevTools(); 43 virtual void UpdateDevTools();
43 virtual void FocusDevTools(); 44 virtual void FocusDevTools();
44 virtual void UpdateLoadingAnimations(bool should_animate); 45 virtual void UpdateLoadingAnimations(bool should_animate);
45 virtual void SetStarredState(bool is_starred); 46 virtual void SetStarredState(bool is_starred);
46 virtual gfx::Rect GetRestoredBounds() const; 47 virtual gfx::Rect GetRestoredBounds() const;
47 virtual bool IsMaximized() const; 48 virtual bool IsMaximized() const;
48 virtual void SetFullscreen(bool fullscreen); 49 virtual void SetFullscreen(bool fullscreen);
49 virtual bool IsFullscreen() const; 50 virtual bool IsFullscreen() const;
50 virtual LocationBar* GetLocationBar() const; 51 virtual LocationBar* GetLocationBar() const;
51 virtual void SetFocusToLocationBar(); 52 virtual void SetFocusToLocationBar();
52 virtual void UpdateStopGoState(bool is_loading, bool force); 53 virtual void UpdateStopGoState(bool is_loading, bool force);
53 virtual void UpdateToolbar(TabContents* contents, 54 virtual void UpdateToolbar(TabContents* contents,
54 bool should_restore_state); 55 bool should_restore_state);
55 virtual void FocusToolbar(); 56 virtual void FocusToolbar();
56 virtual bool IsBookmarkBarVisible() const; 57 virtual bool IsBookmarkBarVisible() const;
57 virtual gfx::Rect GetRootWindowResizerRect() const; 58 virtual gfx::Rect GetRootWindowResizerRect() const;
58 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 59 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
59 Profile* profile); 60 Profile* profile);
60 virtual void ToggleBookmarkBar(); 61 virtual void ToggleBookmarkBar();
62 virtual void ToggleExtensionShelf();
61 virtual void ShowAboutChromeDialog(); 63 virtual void ShowAboutChromeDialog();
62 virtual void ShowTaskManager(); 64 virtual void ShowTaskManager();
63 virtual void ShowBookmarkManager(); 65 virtual void ShowBookmarkManager();
64 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); 66 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked);
65 virtual bool IsDownloadShelfVisible() const; 67 virtual bool IsDownloadShelfVisible() const;
66 virtual DownloadShelf* GetDownloadShelf(); 68 virtual DownloadShelf* GetDownloadShelf();
67 virtual void ShowReportBugDialog(); 69 virtual void ShowReportBugDialog();
68 virtual void ShowClearBrowsingDataDialog(); 70 virtual void ShowClearBrowsingDataDialog();
69 virtual void ShowImportDialog(); 71 virtual void ShowImportDialog();
70 virtual void ShowSearchEnginesDialog(); 72 virtual void ShowSearchEnginesDialog();
(...skipping 28 matching lines...) Expand all
99 virtual void DestroyBrowser(); 101 virtual void DestroyBrowser();
100 102
101 private: 103 private:
102 NotificationRegistrar registrar_; 104 NotificationRegistrar registrar_;
103 NSWindow* window_; // weak, owned by controller 105 NSWindow* window_; // weak, owned by controller
104 Browser* browser_; // weak, owned by controller 106 Browser* browser_; // weak, owned by controller
105 BrowserWindowController* controller_; // weak, owns us 107 BrowserWindowController* controller_; // weak, owns us
106 }; 108 };
107 109
108 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ 110 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_window.h ('k') | chrome/browser/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698