diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 20:29:07 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 20:29:07 +0000 |
commit | 6c940e699a1bf82046416bed61040a8568b42197 (patch) | |
tree | 552d1245076b8b0286a7e97343c28b6a11306d61 /chrome/browser/gtk/custom_button.h | |
parent | adfb98c43223a2f40da7d6ee76a9dae3f8c57070 (diff) | |
download | chromium_src-6c940e699a1bf82046416bed61040a8568b42197.zip chromium_src-6c940e699a1bf82046416bed61040a8568b42197.tar.gz chromium_src-6c940e699a1bf82046416bed61040a8568b42197.tar.bz2 |
Handle RTL layout in the gtk tabstrip.
BUG=none
TEST=Open the browser with --lang=he and make sure the tabs are ordered starting from the right. Also, the UI elements in the tabs should be reversed as well.
Review URL: http://codereview.chromium.org/147020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19051 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/custom_button.h')
-rw-r--r-- | chrome/browser/gtk/custom_button.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/gtk/custom_button.h b/chrome/browser/gtk/custom_button.h index fa6897b..10cd1e6 100644 --- a/chrome/browser/gtk/custom_button.h +++ b/chrome/browser/gtk/custom_button.h @@ -69,6 +69,7 @@ class CustomDrawButton { } int width() const { return widget_->allocation.width; } + int height() const { return widget_->allocation.height; } // Set the state to draw. We will paint the widget as if it were in this // state. |