diff options
author | glen@google.com <glen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-01 22:32:50 +0000 |
---|---|---|
committer | glen@google.com <glen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-01 22:32:50 +0000 |
commit | 5e9c8899e1c3d26cbf82024ff24559882a588194 (patch) | |
tree | 8ecfd6f19b1eab662b98ddc5d87708ab11b33820 /chrome/browser/native_ui_contents.h | |
parent | cd542e1a631294858a81b83bbe6a4c8deaacfa00 (diff) | |
download | chromium_src-5e9c8899e1c3d26cbf82024ff24559882a588194.zip chromium_src-5e9c8899e1c3d26cbf82024ff24559882a588194.tar.gz chromium_src-5e9c8899e1c3d26cbf82024ff24559882a588194.tar.bz2 |
Let the logo display correctly on the History and Downloads pages in RTL. This really should be using our GridLayout, but GridLayout had trouble both handling our row-spanned images, and cropping the image correctly when the column got too small (it center-cropped it). In the interests of not adding complication for Beta, I just modified the existing code.
BUG=1304459
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/native_ui_contents.h')
-rw-r--r-- | chrome/browser/native_ui_contents.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/native_ui_contents.h b/chrome/browser/native_ui_contents.h index 37b8596e..f933d69 100644 --- a/chrome/browser/native_ui_contents.h +++ b/chrome/browser/native_ui_contents.h @@ -267,6 +267,8 @@ class SearchableUIContainer : public ChromeViews::View, void SetContents(ChromeViews::View* contents); ChromeViews::View* GetContents(); + virtual void Layout(); + // Overriden to paint the container. virtual void Paint(ChromeCanvas* canvas); @@ -304,6 +306,7 @@ class SearchableUIContainer : public ChromeViews::View, Delegate* delegate_; ChromeViews::Link* title_link_; ChromeViews::ImageView* title_image_; + ChromeViews::ImageView* product_logo_; ChromeViews::TextField* search_field_; ChromeViews::NativeButton* search_button_; ChromeViews::ScrollView* scroll_view_; |