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

Side by Side Diff: chrome/browser/browser_window.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.cc ('k') | chrome/browser/cocoa/browser_window_cocoa.h » ('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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_
7 7
8 #include "base/gfx/native_widget_types.h" 8 #include "base/gfx/native_widget_types.h"
9 #include "chrome/browser/tab_contents/navigation_entry.h" 9 #include "chrome/browser/tab_contents/navigation_entry.h"
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 // Return the status bubble associated with the frame 69 // Return the status bubble associated with the frame
70 virtual StatusBubble* GetStatusBubble() = 0; 70 virtual StatusBubble* GetStatusBubble() = 0;
71 71
72 // Inform the receiving frame that an animation has progressed in the 72 // Inform the receiving frame that an animation has progressed in the
73 // selected tab. 73 // selected tab.
74 // TODO(beng): Remove. Infobars/Boomarks bars should talk directly to 74 // TODO(beng): Remove. Infobars/Boomarks bars should talk directly to
75 // BrowserView. 75 // BrowserView.
76 virtual void SelectedTabToolbarSizeChanged(bool is_animating) = 0; 76 virtual void SelectedTabToolbarSizeChanged(bool is_animating) = 0;
77 77
78 // Notification for the Extension Shelf changing its size.
79 virtual void SelectedTabExtensionShelfSizeChanged() = 0;
80
78 // Inform the frame that the selected tab favicon or title has changed. Some 81 // Inform the frame that the selected tab favicon or title has changed. Some
79 // frames may need to refresh their title bar. 82 // frames may need to refresh their title bar.
80 virtual void UpdateTitleBar() = 0; 83 virtual void UpdateTitleBar() = 0;
81 84
82 // Inform the frame that the dev tools window for the selected tab has 85 // Inform the frame that the dev tools window for the selected tab has
83 // changed. 86 // changed.
84 virtual void UpdateDevTools() = 0; 87 virtual void UpdateDevTools() = 0;
85 88
86 // Tries to focus docked devtools window (when breakpoint is hit). 89 // Tries to focus docked devtools window (when breakpoint is hit).
87 virtual void FocusDevTools() = 0; 90 virtual void FocusDevTools() = 0;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 virtual void DisableInactiveFrame() {} 143 virtual void DisableInactiveFrame() {}
141 144
142 // Shows a confirmation dialog box for adding a search engine described by 145 // Shows a confirmation dialog box for adding a search engine described by
143 // |template_url|. 146 // |template_url|.
144 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 147 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
145 Profile* profile) = 0; 148 Profile* profile) = 0;
146 149
147 // Shows or hides the bookmark bar depending on its current visibility. 150 // Shows or hides the bookmark bar depending on its current visibility.
148 virtual void ToggleBookmarkBar() = 0; 151 virtual void ToggleBookmarkBar() = 0;
149 152
153 // Shows or hides the extension shelf depending on its current visibility.
154 virtual void ToggleExtensionShelf() = 0;
155
150 // Shows the About Chrome dialog box. 156 // Shows the About Chrome dialog box.
151 virtual void ShowAboutChromeDialog() = 0; 157 virtual void ShowAboutChromeDialog() = 0;
152 158
153 // Shows the Task manager. 159 // Shows the Task manager.
154 virtual void ShowTaskManager() = 0; 160 virtual void ShowTaskManager() = 0;
155 161
156 // Shows the Bookmark Manager window. 162 // Shows the Bookmark Manager window.
157 virtual void ShowBookmarkManager() = 0; 163 virtual void ShowBookmarkManager() = 0;
158 164
159 // Shows the Bookmark bubble. |url| is the URL being bookmarked, 165 // Shows the Bookmark bubble. |url| is the URL being bookmarked,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 275
270 // Returns the TabContentsContainer. 276 // Returns the TabContentsContainer.
271 virtual views::View* GetTabContentsContainerView() const = 0; 277 virtual views::View* GetTabContentsContainerView() const = 0;
272 278
273 // Returns the ToolbarView. 279 // Returns the ToolbarView.
274 virtual ToolbarView* GetToolbarView() const = 0; 280 virtual ToolbarView* GetToolbarView() const = 0;
275 #endif 281 #endif
276 }; 282 };
277 283
278 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ 284 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698