diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-07 17:15:55 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-07 17:15:55 +0000 |
commit | 4c540ee5ff0b163f594911c1e507cdf386771415 (patch) | |
tree | 0cd3787278e22929f22e8fc341e498d040cea985 /chrome/browser/external_tab_container.cc | |
parent | ce190ab7ea2b0838f756cf50fcd6ec6fb5b98b51 (diff) | |
download | chromium_src-4c540ee5ff0b163f594911c1e507cdf386771415.zip chromium_src-4c540ee5ff0b163f594911c1e507cdf386771415.tar.gz chromium_src-4c540ee5ff0b163f594911c1e507cdf386771415.tar.bz2 |
Fix a typo. TextDirection is the name of the enum, while GetTextDirection returns the current text direction. Also fixes a few lint nits.
CID=4539
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/149257
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20035 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.cc')
-rw-r--r-- | chrome/browser/external_tab_container.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc index 68fc66b..62b6a3f 100644 --- a/chrome/browser/external_tab_container.cc +++ b/chrome/browser/external_tab_container.cc @@ -4,6 +4,8 @@ #include "chrome/browser/external_tab_container.h" +#include <string> + #include "app/l10n_util.h" #include "app/win_util.h" #include "base/logging.h" @@ -240,7 +242,7 @@ void ExternalTabContainer::ToolbarSizeChanged(TabContents* source, void ExternalTabContainer::ForwardMessageToExternalHost( const std::string& message, const std::string& origin, const std::string& target) { - if(automation_) { + if (automation_) { automation_->Send( new AutomationMsg_ForwardMessageToExternalHost(0, tab_handle_, message, origin, target)); @@ -271,7 +273,7 @@ bool ExternalTabContainer::HandleContextMenu(const ContextMenuParams& params) { POINT screen_pt = { params.x, params.y }; MapWindowPoints(GetNativeView(), HWND_DESKTOP, &screen_pt, 1); - bool rtl = l10n_util::TextDirection() == l10n_util::RIGHT_TO_LEFT; + bool rtl = l10n_util::GetTextDirection() == l10n_util::RIGHT_TO_LEFT; automation_->Send( new AutomationMsg_ForwardContextMenuToExternalHost(0, tab_handle_, external_context_menu_->GetMenuHandle(), screen_pt.x, screen_pt.y, |