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

Unified Diff: chrome/browser/tab_contents/infobar.h

Issue 7635019: Set Extension Infobars to have a fixed height determined by the developer (clamped to sane min an... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/infobar.h
===================================================================
--- chrome/browser/tab_contents/infobar.h (revision 96544)
+++ chrome/browser/tab_contents/infobar.h (working copy)
@@ -39,6 +39,7 @@
virtual ~InfoBar();
// Platforms must define these.
+ static const int kDefaultBarTargetHeight;
static const int kSeparatorLineHeight;
static const int kDefaultArrowTargetHeight;
static const int kMaximumArrowTargetHeight;
@@ -74,9 +75,6 @@
int total_height() const { return arrow_height_ + bar_height_; }
protected:
- // Platforms must define this.
- static const int kDefaultBarTargetHeight;
-
// ui::AnimationDelegate:
virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698