diff options
author | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-18 06:18:58 +0000 |
---|---|---|
committer | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-18 06:18:58 +0000 |
commit | e738ea51ac8011f8c16c10666fba1bb7b930fbb3 (patch) | |
tree | 65cdae9bce903f5a7717d1242e8d640d70ab51d0 /chrome/browser/renderer_host/render_widget_host.cc | |
parent | 779aae5fa525671293b0db3ddad27cc3811a362a (diff) | |
download | chromium_src-e738ea51ac8011f8c16c10666fba1bb7b930fbb3.zip chromium_src-e738ea51ac8011f8c16c10666fba1bb7b930fbb3.tar.gz chromium_src-e738ea51ac8011f8c16c10666fba1bb7b930fbb3.tar.bz2 |
Reverting 11953.
Review URL: http://codereview.chromium.org/48121
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host.cc')
-rw-r--r-- | chrome/browser/renderer_host/render_widget_host.cc | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host.cc b/chrome/browser/renderer_host/render_widget_host.cc index f40fe08..83d7bcf 100644 --- a/chrome/browser/renderer_host/render_widget_host.cc +++ b/chrome/browser/renderer_host/render_widget_host.cc @@ -53,9 +53,7 @@ RenderWidgetHost::RenderWidgetHost(RenderProcessHost* process, mouse_move_pending_(false), needs_repainting_on_restore_(false), is_unresponsive_(false), - view_being_painted_(false), - text_direction_updated_(false), - text_direction_(WEB_TEXT_DIRECTION_LTR) { + view_being_painted_(false) { if (routing_id_ == MSG_ROUTING_NONE) routing_id_ = process_->GetNextRoutingID(); @@ -358,19 +356,6 @@ gfx::Rect RenderWidgetHost::GetRootWindowResizerRect() const { return gfx::Rect(); } -void RenderWidgetHost::UpdateTextDirection(WebTextDirection direction) { - text_direction_updated_ = true; - text_direction_ = direction; -} - -void RenderWidgetHost::NotifyTextDirection() { - if (text_direction_updated_) { - text_direction_updated_ = false; - Send(new ViewMsg_SetTextDirection(routing_id(), - text_direction_)); - } -} - void RenderWidgetHost::Destroy() { NotificationService::current()->Notify( NotificationType::RENDER_WIDGET_HOST_DESTROYED, |