summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_widget.cc
diff options
context:
space:
mode:
authorhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 06:18:58 +0000
committerhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 06:18:58 +0000
commite738ea51ac8011f8c16c10666fba1bb7b930fbb3 (patch)
tree65cdae9bce903f5a7717d1242e8d640d70ab51d0 /chrome/renderer/render_widget.cc
parent779aae5fa525671293b0db3ddad27cc3811a362a (diff)
downloadchromium_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/renderer/render_widget.cc')
-rw-r--r--chrome/renderer/render_widget.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/renderer/render_widget.cc b/chrome/renderer/render_widget.cc
index 6bfcb7b..a7ad380 100644
--- a/chrome/renderer/render_widget.cc
+++ b/chrome/renderer/render_widget.cc
@@ -119,7 +119,6 @@ IPC_DEFINE_MESSAGE_MAP(RenderWidget)
IPC_MESSAGE_HANDLER(ViewMsg_ImeSetInputMode, OnImeSetInputMode)
IPC_MESSAGE_HANDLER(ViewMsg_ImeSetComposition, OnImeSetComposition)
IPC_MESSAGE_HANDLER(ViewMsg_Repaint, OnMsgRepaint)
- IPC_MESSAGE_HANDLER(ViewMsg_SetTextDirection, OnSetTextDirection)
IPC_MESSAGE_UNHANDLED_ERROR()
IPC_END_MESSAGE_MAP()
@@ -636,13 +635,6 @@ void RenderWidget::OnMsgRepaint(const gfx::Size& size_to_paint) {
DidInvalidateRect(webwidget_, repaint_rect);
}
-void RenderWidget::OnSetTextDirection(WebTextDirection direction) {
- if (!webwidget_)
- return;
-
- webwidget_->SetTextDirection(direction);
-}
-
bool RenderWidget::next_paint_is_resize_ack() const {
return ViewHostMsg_PaintRect_Flags::is_resize_ack(next_paint_flags_);
}