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

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

Issue 342633003: [Android] Select text when stylus first button is pressed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed predefined namespace 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // current frame. 276 // current frame.
277 void RetainFrame(uint32 output_surface_id, 277 void RetainFrame(uint32 output_surface_id,
278 scoped_ptr<cc::CompositorFrame> frame); 278 scoped_ptr<cc::CompositorFrame> frame);
279 279
280 void InternalSwapCompositorFrame(uint32 output_surface_id, 280 void InternalSwapCompositorFrame(uint32 output_surface_id,
281 scoped_ptr<cc::CompositorFrame> frame); 281 scoped_ptr<cc::CompositorFrame> frame);
282 282
283 void SetNeedsAnimate(); 283 void SetNeedsAnimate();
284 bool Animate(base::TimeTicks frame_time); 284 bool Animate(base::TimeTicks frame_time);
285 285
286 bool ShouldConvertToMouseEvent(const ui::MotionEvent& event);
287
286 288
287 // The model object. 289 // The model object.
288 RenderWidgetHostImpl* host_; 290 RenderWidgetHostImpl* host_;
289 291
290 // Used to track whether this render widget needs a BeginFrame. 292 // Used to track whether this render widget needs a BeginFrame.
291 bool needs_begin_frame_; 293 bool needs_begin_frame_;
292 294
293 bool is_showing_; 295 bool is_showing_;
294 296
295 // ContentViewCoreImpl is our interface to the view system. 297 // ContentViewCoreImpl is our interface to the view system.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 struct LastFrameInfo { 348 struct LastFrameInfo {
347 LastFrameInfo(uint32 output_id, 349 LastFrameInfo(uint32 output_id,
348 scoped_ptr<cc::CompositorFrame> output_frame); 350 scoped_ptr<cc::CompositorFrame> output_frame);
349 ~LastFrameInfo(); 351 ~LastFrameInfo();
350 uint32 output_surface_id; 352 uint32 output_surface_id;
351 scoped_ptr<cc::CompositorFrame> frame; 353 scoped_ptr<cc::CompositorFrame> frame;
352 }; 354 };
353 355
354 scoped_ptr<LastFrameInfo> last_frame_info_; 356 scoped_ptr<LastFrameInfo> last_frame_info_;
355 357
358 bool convert_touch_sequence_to_mouse_;
359
356 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 360 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
357 }; 361 };
358 362
359 } // namespace content 363 } // namespace content
360 364
361 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698