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

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

Issue 292113008: Plumbing for browser process to access text surrounding selection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@adb_install_humans
Patch Set: rebase - use int Created 6 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 uint32 output_surface_id, 156 uint32 output_surface_id,
157 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; 157 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE;
158 virtual void DidOverscroll(const DidOverscrollParams& params) OVERRIDE; 158 virtual void DidOverscroll(const DidOverscrollParams& params) OVERRIDE;
159 virtual void DidStopFlinging() OVERRIDE; 159 virtual void DidStopFlinging() OVERRIDE;
160 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 160 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
161 const SkBitmap& zoomed_bitmap) OVERRIDE; 161 const SkBitmap& zoomed_bitmap) OVERRIDE;
162 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 162 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
163 OVERRIDE; 163 OVERRIDE;
164 virtual void LockCompositingSurface() OVERRIDE; 164 virtual void LockCompositingSurface() OVERRIDE;
165 virtual void UnlockCompositingSurface() OVERRIDE; 165 virtual void UnlockCompositingSurface() OVERRIDE;
166 virtual void OnTextSurroundingSelectionResponse(const base::string16& content,
167 int start_offset,
168 int end_offset) OVERRIDE;
166 169
167 // cc::DelegatedFrameResourceCollectionClient implementation. 170 // cc::DelegatedFrameResourceCollectionClient implementation.
168 virtual void UnusedResourcesAreAvailable() OVERRIDE; 171 virtual void UnusedResourcesAreAvailable() OVERRIDE;
169 172
170 // ui::GestureProviderClient implementation. 173 // ui::GestureProviderClient implementation.
171 virtual void OnGestureEvent(const ui::GestureEventData& gesture) OVERRIDE; 174 virtual void OnGestureEvent(const ui::GestureEventData& gesture) OVERRIDE;
172 175
173 // ui::WindowAndroidObserver implementation. 176 // ui::WindowAndroidObserver implementation.
174 virtual void OnCompositingDidCommit() OVERRIDE; 177 virtual void OnCompositingDidCommit() OVERRIDE;
175 virtual void OnAttachCompositor() OVERRIDE {} 178 virtual void OnAttachCompositor() OVERRIDE {}
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 }; 353 };
351 354
352 scoped_ptr<LastFrameInfo> last_frame_info_; 355 scoped_ptr<LastFrameInfo> last_frame_info_;
353 356
354 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 357 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
355 }; 358 };
356 359
357 } // namespace content 360 } // namespace content
358 361
359 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 362 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698