diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-28 20:45:42 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-28 20:45:42 +0000 |
commit | 45da6c72f2d0d50f2acbf7dc306108c861b71aa4 (patch) | |
tree | 4d5b3c889638b3789033503c11e420f325b51984 /views | |
parent | 799c8ef9901a90908432f2d82daafa79a7fecc1f (diff) | |
download | chromium_src-45da6c72f2d0d50f2acbf7dc306108c861b71aa4.zip chromium_src-45da6c72f2d0d50f2acbf7dc306108c861b71aa4.tar.gz chromium_src-45da6c72f2d0d50f2acbf7dc306108c861b71aa4.tar.bz2 |
CompactLocationBar 1st step:
* Added OnMouseXXXTab methods to BrowserExtender to handle on tabs.
* Changed tab to call above methods.
* Added GetSelectedTab to TabStrip
Minor changes along with the major changes above
* Removed unnecessary file entries in chrome.gyp
* Fixed a few method's const.
* Removed unnecessary class declarations and includes.
Know issue: keyboard focus is not working.
In 2nd step, I'm going to eliminate popup and use whatever that FindBar is using to show compact location bar. I'll fix the issue above after this migration. (if it still persists)
BUG=None
Test=None
Review URL: http://codereview.chromium.org/341008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/view.cc | 2 | ||||
-rw-r--r-- | views/view.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/view.cc b/views/view.cc index 1e09824..1e1cd20 100644 --- a/views/view.cc +++ b/views/view.cc @@ -1384,7 +1384,7 @@ int View::GetLineScrollIncrement(ScrollView* scroll_view, return 0; } -ThemeProvider* View::GetThemeProvider() { +ThemeProvider* View::GetThemeProvider() const { Widget* widget = GetWidget(); return widget ? widget->GetThemeProvider() : NULL; } diff --git a/views/view.h b/views/view.h index dd7662b..8f362f1 100644 --- a/views/view.h +++ b/views/view.h @@ -936,7 +936,7 @@ class View : public AcceleratorTarget { bool is_horizontal, bool is_positive); // Get the theme provider from the parent widget. - ThemeProvider* GetThemeProvider(); + ThemeProvider* GetThemeProvider() const; protected: // The id of this View. Used to find this View. |