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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.h

Issue 165370: Merge 22711 - Fix a few bugs with the theme infobar:... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 years, 4 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
Property Changes:
Modified: svn:mergeinfo
Merged /trunk/src/chrome/browser/tab_contents/tab_contents.h:r22711
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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 bool FocusLocationBarByDefault(); 392 bool FocusLocationBarByDefault();
393 393
394 // Infobars ------------------------------------------------------------------ 394 // Infobars ------------------------------------------------------------------
395 395
396 // Adds an InfoBar for the specified |delegate|. 396 // Adds an InfoBar for the specified |delegate|.
397 void AddInfoBar(InfoBarDelegate* delegate); 397 void AddInfoBar(InfoBarDelegate* delegate);
398 398
399 // Removes the InfoBar for the specified |delegate|. 399 // Removes the InfoBar for the specified |delegate|.
400 void RemoveInfoBar(InfoBarDelegate* delegate); 400 void RemoveInfoBar(InfoBarDelegate* delegate);
401 401
402 // Replaces one infobar with another, without any animation in between.
403 void ReplaceInfoBar(InfoBarDelegate* old_delegate,
404 InfoBarDelegate* new_delegate);
405
402 // Enumeration and access functions. 406 // Enumeration and access functions.
403 int infobar_delegate_count() const { return infobar_delegates_.size(); } 407 int infobar_delegate_count() const { return infobar_delegates_.size(); }
404 InfoBarDelegate* GetInfoBarDelegateAt(int index) { 408 InfoBarDelegate* GetInfoBarDelegateAt(int index) {
405 return infobar_delegates_.at(index); 409 return infobar_delegates_.at(index);
406 } 410 }
407 411
408 // Toolbars and such --------------------------------------------------------- 412 // Toolbars and such ---------------------------------------------------------
409 413
410 // Returns whether the bookmark bar should be visible. 414 // Returns whether the bookmark bar should be visible.
411 virtual bool IsBookmarkBarAlwaysVisible(); 415 virtual bool IsBookmarkBarAlwaysVisible();
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 // True if the user has decided to block future javascript messages. This is 1086 // True if the user has decided to block future javascript messages. This is
1083 // reset on navigations to false on navigations. 1087 // reset on navigations to false on navigations.
1084 bool suppress_javascript_messages_; 1088 bool suppress_javascript_messages_;
1085 1089
1086 // --------------------------------------------------------------------------- 1090 // ---------------------------------------------------------------------------
1087 1091
1088 DISALLOW_COPY_AND_ASSIGN(TabContents); 1092 DISALLOW_COPY_AND_ASSIGN(TabContents);
1089 }; 1093 };
1090 1094
1091 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1095 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_install_ui.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698