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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.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/gtk/browser_window_gtk.cc ('k') | chrome/browser/tab_contents/tab_contents.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) 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_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <map> 10 #include <map>
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 int infobar_delegate_count() const { return infobar_delegates_.size(); } 417 int infobar_delegate_count() const { return infobar_delegates_.size(); }
418 InfoBarDelegate* GetInfoBarDelegateAt(int index) { 418 InfoBarDelegate* GetInfoBarDelegateAt(int index) {
419 return infobar_delegates_.at(index); 419 return infobar_delegates_.at(index);
420 } 420 }
421 421
422 // Toolbars and such --------------------------------------------------------- 422 // Toolbars and such ---------------------------------------------------------
423 423
424 // Returns whether the bookmark bar should be visible. 424 // Returns whether the bookmark bar should be visible.
425 virtual bool IsBookmarkBarAlwaysVisible(); 425 virtual bool IsBookmarkBarAlwaysVisible();
426 426
427 // Returns whether the extension shelf should be visible.
428 virtual bool IsExtensionShelfAlwaysVisible();
429
427 // Notifies the delegate that a download started. 430 // Notifies the delegate that a download started.
428 void OnStartDownload(DownloadItem* download); 431 void OnStartDownload(DownloadItem* download);
429 432
430 // Notify our delegate that some of our content has animated. 433 // Notify our delegate that some of our content has animated.
431 void ToolbarSizeChanged(bool is_animating); 434 void ToolbarSizeChanged(bool is_animating);
432 435
433 // Called when a ConstrainedWindow we own is about to be closed. 436 // Called when a ConstrainedWindow we own is about to be closed.
434 void WillClose(ConstrainedWindow* window); 437 void WillClose(ConstrainedWindow* window);
435 438
436 // Called when a BlockedPopupContainer we own is about to be closed. 439 // Called when a BlockedPopupContainer we own is about to be closed.
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 1113
1111 // Settings that get passed to the renderer process. 1114 // Settings that get passed to the renderer process.
1112 RendererPreferences renderer_preferences_; 1115 RendererPreferences renderer_preferences_;
1113 1116
1114 // --------------------------------------------------------------------------- 1117 // ---------------------------------------------------------------------------
1115 1118
1116 DISALLOW_COPY_AND_ASSIGN(TabContents); 1119 DISALLOW_COPY_AND_ASSIGN(TabContents);
1117 }; 1120 };
1118 1121
1119 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1122 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698