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

Side by Side Diff: chrome/browser/browser.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/app/chrome_dll_resource.h ('k') | chrome/browser/browser.cc » ('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_H_ 5 #ifndef CHROME_BROWSER_BROWSER_H_
6 #define CHROME_BROWSER_BROWSER_H_ 6 #define CHROME_BROWSER_BROWSER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 void BrowserShowHtmlDialog(HtmlDialogUIDelegate* delegate, 266 void BrowserShowHtmlDialog(HtmlDialogUIDelegate* delegate,
267 gfx::NativeWindow parent_window); 267 gfx::NativeWindow parent_window);
268 268
269 // Called when a popup select is about to be displayed. 269 // Called when a popup select is about to be displayed.
270 void BrowserRenderWidgetShowing(); 270 void BrowserRenderWidgetShowing();
271 271
272 // Notification that some of our content has changed size as 272 // Notification that some of our content has changed size as
273 // part of an animation. 273 // part of an animation.
274 void ToolbarSizeChanged(bool is_animating); 274 void ToolbarSizeChanged(bool is_animating);
275 275
276 // Notification that the extension shelf has changed size (as a result of
277 // becoming detached or attached).
278 void ExtensionShelfSizeChanged();
279
276 // Replaces the state of the currently selected tab with the session 280 // Replaces the state of the currently selected tab with the session
277 // history restored from the SessionRestore system. 281 // history restored from the SessionRestore system.
278 void ReplaceRestoredTab( 282 void ReplaceRestoredTab(
279 const std::vector<TabNavigation>& navigations, 283 const std::vector<TabNavigation>& navigations,
280 int selected_navigation); 284 int selected_navigation);
281 285
282 // Returns true if a tab can be restored. 286 // Returns true if a tab can be restored.
283 virtual bool CanRestoreTab(); 287 virtual bool CanRestoreTab();
284 288
285 // Show a DOMUI tab given a URL. If a tab with the same URL is already 289 // Show a DOMUI tab given a URL. If a tab with the same URL is already
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // Show various bits of UI 370 // Show various bits of UI
367 void OpenFile(); 371 void OpenFile();
368 void OpenCreateShortcutsDialog(); 372 void OpenCreateShortcutsDialog();
369 void ToggleDevToolsWindow(); 373 void ToggleDevToolsWindow();
370 void OpenTaskManager(); 374 void OpenTaskManager();
371 void OpenSelectProfileDialog(); 375 void OpenSelectProfileDialog();
372 void OpenNewProfileDialog(); 376 void OpenNewProfileDialog();
373 void OpenBugReportDialog(); 377 void OpenBugReportDialog();
374 378
375 void ToggleBookmarkBar(); 379 void ToggleBookmarkBar();
380 void ToggleExtensionShelf();
376 381
377 void OpenBookmarkManager(); 382 void OpenBookmarkManager();
378 void ShowAppMenu(); 383 void ShowAppMenu();
379 void ShowPageMenu(); 384 void ShowPageMenu();
380 void ShowHistoryTab(); 385 void ShowHistoryTab();
381 void ShowDownloadsTab(); 386 void ShowDownloadsTab();
382 void OpenClearBrowsingDataDialog(); 387 void OpenClearBrowsingDataDialog();
383 void OpenOptionsDialog(); 388 void OpenOptionsDialog();
384 void OpenKeywordEditor(); 389 void OpenKeywordEditor();
385 void OpenPasswordManager(); 390 void OpenPasswordManager();
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 // The browser idle task helps cleanup unused memory resources when idle. 788 // The browser idle task helps cleanup unused memory resources when idle.
784 scoped_ptr<BrowserIdleTimer> idle_task_; 789 scoped_ptr<BrowserIdleTimer> idle_task_;
785 790
786 // Keep track of the encoding auto detect pref. 791 // Keep track of the encoding auto detect pref.
787 BooleanPrefMember encoding_auto_detect_; 792 BooleanPrefMember encoding_auto_detect_;
788 793
789 DISALLOW_COPY_AND_ASSIGN(Browser); 794 DISALLOW_COPY_AND_ASSIGN(Browser);
790 }; 795 };
791 796
792 #endif // CHROME_BROWSER_BROWSER_H_ 797 #endif // CHROME_BROWSER_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/app/chrome_dll_resource.h ('k') | chrome/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698