diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 19:45:19 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-11 19:45:19 +0000 |
commit | 34cc1917d8003c107c1c320e5b50fe240de8a010 (patch) | |
tree | 4731a3d0036c85308171ec612a4bcd6cd15e1e60 /chrome/browser/views/location_bar_view.h | |
parent | 960141c714a764b26ab954773018e68eafc3b97d (diff) | |
download | chromium_src-34cc1917d8003c107c1c320e5b50fe240de8a010.zip chromium_src-34cc1917d8003c107c1c320e5b50fe240de8a010.tar.gz chromium_src-34cc1917d8003c107c1c320e5b50fe240de8a010.tar.bz2 |
Add a first attempt at a compact location bar and a status bar. The status bar
contains a clock, an application menu, and a non-working battery indicator.
The compact location bar can be toggled by COMPACT_NAV_BAR in browser_window_gtk.cc
Review URL: http://codereview.chromium.org/165272
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23070 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/location_bar_view.h')
-rw-r--r-- | chrome/browser/views/location_bar_view.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/views/location_bar_view.h b/chrome/browser/views/location_bar_view.h index 1ab1811..3be0266 100644 --- a/chrome/browser/views/location_bar_view.h +++ b/chrome/browser/views/location_bar_view.h @@ -238,8 +238,8 @@ class LocationBarView : public LocationBar, class ShowFirstRunBubbleTask; class LocationBarImageView : public views::ImageView, - public InfoBubbleDelegate { - public: + public InfoBubbleDelegate { + public: LocationBarImageView(); virtual ~LocationBarImageView(); @@ -254,10 +254,10 @@ class LocationBarView : public LocationBar, virtual void ShowInfoBubble() = 0; - protected: + protected: void ShowInfoBubbleImpl(const std::wstring& text, SkColor text_color); - private: + private: friend class ShowInfoBubbleTask; // The currently shown info bubble if any. @@ -319,7 +319,7 @@ class LocationBarView : public LocationBar, // PageActionImageView is used to display the icon for a given PageAction // and notify the extension when the icon is clicked. class PageActionImageView : public LocationBarImageView { - public: + public: PageActionImageView( LocationBarView* owner, Profile* profile, const PageAction* page_action); @@ -339,7 +339,7 @@ class LocationBarView : public LocationBar, // A callback for when the image has loaded. void OnImageLoaded(SkBitmap* image, size_t index); - private: + private: // We load the images for the PageActions on the file thread. These tasks // help with that. class LoadImageTask; |