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

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

Issue 10928199: Add ExtendSelectionAndDelete() method to ui::TextInputClient. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: reflected the review Created 8 years, 3 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 "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 if (!host_) 1159 if (!host_)
1160 return false; 1160 return false;
1161 host_->UpdateTextDirection( 1161 host_->UpdateTextDirection(
1162 direction == base::i18n::RIGHT_TO_LEFT ? 1162 direction == base::i18n::RIGHT_TO_LEFT ?
1163 WebKit::WebTextDirectionRightToLeft : 1163 WebKit::WebTextDirectionRightToLeft :
1164 WebKit::WebTextDirectionLeftToRight); 1164 WebKit::WebTextDirectionLeftToRight);
1165 host_->NotifyTextDirection(); 1165 host_->NotifyTextDirection();
1166 return true; 1166 return true;
1167 } 1167 }
1168 1168
1169 void RenderWidgetHostViewAura::ExtendSelectionAndDelete(int before, int after) {
1170 NOTIMPLEMENTED();
1171 }
1172
1169 //////////////////////////////////////////////////////////////////////////////// 1173 ////////////////////////////////////////////////////////////////////////////////
1170 // RenderWidgetHostViewAura, aura::WindowDelegate implementation: 1174 // RenderWidgetHostViewAura, aura::WindowDelegate implementation:
1171 1175
1172 gfx::Size RenderWidgetHostViewAura::GetMinimumSize() const { 1176 gfx::Size RenderWidgetHostViewAura::GetMinimumSize() const {
1173 return gfx::Size(); 1177 return gfx::Size();
1174 } 1178 }
1175 1179
1176 void RenderWidgetHostViewAura::OnBoundsChanged(const gfx::Rect& old_bounds, 1180 void RenderWidgetHostViewAura::OnBoundsChanged(const gfx::Rect& old_bounds,
1177 const gfx::Rect& new_bounds) { 1181 const gfx::Rect& new_bounds) {
1178 // We don't care about this one, we are always sized via SetSize() or 1182 // We don't care about this one, we are always sized via SetSize() or
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1756 RenderWidgetHost* widget) { 1760 RenderWidgetHost* widget) {
1757 return new RenderWidgetHostViewAura(widget); 1761 return new RenderWidgetHostViewAura(widget);
1758 } 1762 }
1759 1763
1760 // static 1764 // static
1761 void RenderWidgetHostViewPort::GetDefaultScreenInfo(WebScreenInfo* results) { 1765 void RenderWidgetHostViewPort::GetDefaultScreenInfo(WebScreenInfo* results) {
1762 GetScreenInfoForWindow(results, NULL); 1766 GetScreenInfoForWindow(results, NULL);
1763 } 1767 }
1764 1768
1765 } // namespace content 1769 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698