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

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

Issue 2667283007: Refactor Samsung SmartClip implementation. (Closed)
Patch Set: Really apply code review comments Created 3 years, 10 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 196
197 // Non-virtual methods 197 // Non-virtual methods
198 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 198 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
199 SkColor GetCachedBackgroundColor() const; 199 SkColor GetCachedBackgroundColor() const;
200 void SendKeyEvent(const NativeWebKeyboardEvent& event); 200 void SendKeyEvent(const NativeWebKeyboardEvent& event);
201 void SendMouseEvent(const ui::MotionEventAndroid&, int changed_button); 201 void SendMouseEvent(const ui::MotionEventAndroid&, int changed_button);
202 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); 202 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event);
203 void SendGestureEvent(const blink::WebGestureEvent& event); 203 void SendGestureEvent(const blink::WebGestureEvent& event);
204 204
205 void OnStartContentIntent(const GURL& content_url, bool is_main_frame); 205 void OnStartContentIntent(const GURL& content_url, bool is_main_frame);
206 void OnSmartClipDataExtracted(const base::string16& text,
207 const base::string16& html,
208 const gfx::Rect rect);
209 206
210 bool OnTouchEvent(const ui::MotionEvent& event); 207 bool OnTouchEvent(const ui::MotionEvent& event);
211 bool OnTouchHandleEvent(const ui::MotionEvent& event); 208 bool OnTouchHandleEvent(const ui::MotionEvent& event);
212 void ResetGestureDetection(); 209 void ResetGestureDetection();
213 void SetDoubleTapSupportEnabled(bool enabled); 210 void SetDoubleTapSupportEnabled(bool enabled);
214 void SetMultiTouchZoomSupportEnabled(bool enabled); 211 void SetMultiTouchZoomSupportEnabled(bool enabled);
215 212
216 long GetNativeImeAdapter(); 213 long GetNativeImeAdapter();
217 214
218 void WasResized(); 215 void WasResized();
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 gfx::Vector2dF last_scroll_offset_; 377 gfx::Vector2dF last_scroll_offset_;
381 378
382 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 379 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
383 380
384 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 381 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
385 }; 382 };
386 383
387 } // namespace content 384 } // namespace content
388 385
389 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 386 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698