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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 2024003002: Add GetTextDirection to ui::TextInputClient API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/render_widget_host_view_aura.h" 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 } 1525 }
1526 1526
1527 ui::TextInputType RenderWidgetHostViewAura::GetTextInputType() const { 1527 ui::TextInputType RenderWidgetHostViewAura::GetTextInputType() const {
1528 return text_input_type_; 1528 return text_input_type_;
1529 } 1529 }
1530 1530
1531 ui::TextInputMode RenderWidgetHostViewAura::GetTextInputMode() const { 1531 ui::TextInputMode RenderWidgetHostViewAura::GetTextInputMode() const {
1532 return text_input_mode_; 1532 return text_input_mode_;
1533 } 1533 }
1534 1534
1535 base::i18n::TextDirection RenderWidgetHostViewAura::GetTextDirection() const {
1536 NOTIMPLEMENTED();
1537 return base::i18n::UNKNOWN_DIRECTION;
1538 }
1539
1535 int RenderWidgetHostViewAura::GetTextInputFlags() const { 1540 int RenderWidgetHostViewAura::GetTextInputFlags() const {
1536 return text_input_flags_; 1541 return text_input_flags_;
1537 } 1542 }
1538 1543
1539 bool RenderWidgetHostViewAura::CanComposeInline() const { 1544 bool RenderWidgetHostViewAura::CanComposeInline() const {
1540 return can_compose_inline_; 1545 return can_compose_inline_;
1541 } 1546 }
1542 1547
1543 gfx::Rect RenderWidgetHostViewAura::ConvertRectToScreen( 1548 gfx::Rect RenderWidgetHostViewAura::ConvertRectToScreen(
1544 const gfx::Rect& rect) const { 1549 const gfx::Rect& rect) const {
(...skipping 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after
3003 3008
3004 //////////////////////////////////////////////////////////////////////////////// 3009 ////////////////////////////////////////////////////////////////////////////////
3005 // RenderWidgetHostViewBase, public: 3010 // RenderWidgetHostViewBase, public:
3006 3011
3007 // static 3012 // static
3008 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) { 3013 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) {
3009 GetScreenInfoForWindow(results, NULL); 3014 GetScreenInfoForWindow(results, NULL);
3010 } 3015 }
3011 3016
3012 } // namespace content 3017 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.h ('k') | ui/base/ime/dummy_text_input_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698