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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 56643003: Start using FocusedNodedChanged to restartInput. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes based on jamesr comments Created 7 years, 1 month 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 | Annotate | Revision Log
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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 virtual bool IsShowing() OVERRIDE; 97 virtual bool IsShowing() OVERRIDE;
98 virtual gfx::Rect GetViewBounds() const OVERRIDE; 98 virtual gfx::Rect GetViewBounds() const OVERRIDE;
99 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE; 99 virtual gfx::Size GetPhysicalBackingSize() const OVERRIDE;
100 virtual float GetOverdrawBottomHeight() const OVERRIDE; 100 virtual float GetOverdrawBottomHeight() const OVERRIDE;
101 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; 101 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE;
102 virtual void SetIsLoading(bool is_loading) OVERRIDE; 102 virtual void SetIsLoading(bool is_loading) OVERRIDE;
103 virtual void TextInputTypeChanged(ui::TextInputType type, 103 virtual void TextInputTypeChanged(ui::TextInputType type,
104 ui::TextInputMode input_mode, 104 ui::TextInputMode input_mode,
105 bool can_compose_inline) OVERRIDE; 105 bool can_compose_inline) OVERRIDE;
106 virtual void ImeCancelComposition() OVERRIDE; 106 virtual void ImeCancelComposition() OVERRIDE;
107 virtual void FocusedNodeChanged(bool is_editable_node) OVERRIDE;
107 virtual void DidUpdateBackingStore( 108 virtual void DidUpdateBackingStore(
108 const gfx::Rect& scroll_rect, 109 const gfx::Rect& scroll_rect,
109 const gfx::Vector2d& scroll_delta, 110 const gfx::Vector2d& scroll_delta,
110 const std::vector<gfx::Rect>& copy_rects, 111 const std::vector<gfx::Rect>& copy_rects,
111 const ui::LatencyInfo& latency_info) OVERRIDE; 112 const ui::LatencyInfo& latency_info) OVERRIDE;
112 virtual void RenderProcessGone(base::TerminationStatus status, 113 virtual void RenderProcessGone(base::TerminationStatus status,
113 int error_code) OVERRIDE; 114 int error_code) OVERRIDE;
114 virtual void Destroy() OVERRIDE; 115 virtual void Destroy() OVERRIDE;
115 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; 116 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
116 virtual void SelectionChanged(const string16& text, 117 virtual void SelectionChanged(const string16& text,
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 345
345 // Size to use if we have no backing ContentViewCore 346 // Size to use if we have no backing ContentViewCore
346 gfx::Size default_size_; 347 gfx::Size default_size_;
347 348
348 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 349 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
349 }; 350 };
350 351
351 } // namespace content 352 } // namespace content
352 353
353 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 354 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698