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

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

Issue 2639623002: Fixed Android text selection by redefining |button| value. (Closed)
Patch Set: Fixed WebPointerProperties comment. 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 // cc::BeginFrameObserver implementation. 192 // cc::BeginFrameObserver implementation.
193 void OnBeginFrame(const cc::BeginFrameArgs& args) override; 193 void OnBeginFrame(const cc::BeginFrameArgs& args) override;
194 const cc::BeginFrameArgs& LastUsedBeginFrameArgs() const override; 194 const cc::BeginFrameArgs& LastUsedBeginFrameArgs() const override;
195 void OnBeginFrameSourcePausedChanged(bool paused) override; 195 void OnBeginFrameSourcePausedChanged(bool paused) override;
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 action_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 206
207 bool OnTouchEvent(const ui::MotionEvent& event); 207 bool OnTouchEvent(const ui::MotionEvent& event);
208 bool OnTouchHandleEvent(const ui::MotionEvent& event); 208 bool OnTouchHandleEvent(const ui::MotionEvent& event);
209 void ResetGestureDetection(); 209 void ResetGestureDetection();
210 void SetDoubleTapSupportEnabled(bool enabled); 210 void SetDoubleTapSupportEnabled(bool enabled);
211 void SetMultiTouchZoomSupportEnabled(bool enabled); 211 void SetMultiTouchZoomSupportEnabled(bool enabled);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 gfx::Vector2dF last_scroll_offset_; 377 gfx::Vector2dF last_scroll_offset_;
378 378
379 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 379 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
380 380
381 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 381 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
382 }; 382 };
383 383
384 } // namespace content 384 } // namespace content
385 385
386 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 386 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698