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

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

Issue 1203223002: [Experimental, WIP] Demo version of extracting WebView selection data from CompositorFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 #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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void UpdateCursor(const WebCursor& cursor) override; 106 void UpdateCursor(const WebCursor& cursor) override;
107 void SetIsLoading(bool is_loading) override; 107 void SetIsLoading(bool is_loading) override;
108 void TextInputTypeChanged(ui::TextInputType type, 108 void TextInputTypeChanged(ui::TextInputType type,
109 ui::TextInputMode input_mode, 109 ui::TextInputMode input_mode,
110 bool can_compose_inline, 110 bool can_compose_inline,
111 int flags) override; 111 int flags) override;
112 void ImeCancelComposition() override; 112 void ImeCancelComposition() override;
113 void ImeCompositionRangeChanged( 113 void ImeCompositionRangeChanged(
114 const gfx::Range& range, 114 const gfx::Range& range,
115 const std::vector<gfx::Rect>& character_bounds) override; 115 const std::vector<gfx::Rect>& character_bounds) override;
116 void FocusedNodeChanged(bool is_editable_node) override; 116 void FocusedNodeChanged(bool is_editable_node, bool is_plugin_node) override;
117 void RenderProcessGone(base::TerminationStatus status, 117 void RenderProcessGone(base::TerminationStatus status,
118 int error_code) override; 118 int error_code) override;
119 void Destroy() override; 119 void Destroy() override;
120 void SetTooltipText(const base::string16& tooltip_text) override; 120 void SetTooltipText(const base::string16& tooltip_text) override;
121 void SelectionChanged(const base::string16& text, 121 void SelectionChanged(const base::string16& text,
122 size_t offset, 122 size_t offset,
123 const gfx::Range& range) override; 123 const gfx::Range& range) override;
124 void SelectionBoundsChanged( 124 void SelectionBoundsChanged(
125 const ViewHostMsg_SelectionBounds_Params& params) override; 125 const ViewHostMsg_SelectionBounds_Params& params) override;
126 void AcceleratedSurfaceInitialized(int route_id) override; 126 void AcceleratedSurfaceInitialized(int route_id) override;
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 gfx::Vector2dF last_scroll_offset_; 415 gfx::Vector2dF last_scroll_offset_;
416 416
417 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 417 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
418 418
419 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 419 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
420 }; 420 };
421 421
422 } // namespace content 422 } // namespace content
423 423
424 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 424 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698