Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(654)

Unified Diff: chrome/browser/external_tab_container.cc

Issue 149257: Fix a typo. TextDirection is the name of the enum, while GetTextDirection re... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/external_tab_container.cc
===================================================================
--- chrome/browser/external_tab_container.cc (revision 20031)
+++ chrome/browser/external_tab_container.cc (working copy)
@@ -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::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 @@
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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698