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

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

Issue 2943383002: Android double/triple click (Closed)
Patch Set: move incrememnt outside if Created 3 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 std::unique_ptr<viz::FrameEvictor> frame_evictor_; 421 std::unique_ptr<viz::FrameEvictor> frame_evictor_;
422 422
423 bool observing_root_window_; 423 bool observing_root_window_;
424 424
425 // The last scroll offset of the view. 425 // The last scroll offset of the view.
426 gfx::Vector2dF last_scroll_offset_; 426 gfx::Vector2dF last_scroll_offset_;
427 427
428 float prev_top_shown_pix_; 428 float prev_top_shown_pix_;
429 float prev_bottom_shown_pix_; 429 float prev_bottom_shown_pix_;
430 430
431 base::TimeTicks prev_mousedown_timestamp_;
432 gfx::Point prev_mousedown_point_;
433 int click_count_ = 0;
aelias_OOO_until_Jul13 2017/06/21 01:13:12 left_click_count_
amaralp 2017/06/21 19:34:22 Done.
434
431 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink_ = 435 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink_ =
432 nullptr; 436 nullptr;
433 437
434 base::ObserverList<DestructionObserver> destruction_observers_; 438 base::ObserverList<DestructionObserver> destruction_observers_;
435 439
436 MouseWheelPhaseHandler mouse_wheel_phase_handler_; 440 MouseWheelPhaseHandler mouse_wheel_phase_handler_;
437 441
438 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 442 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
439 443
440 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 444 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
441 }; 445 };
442 446
443 } // namespace content 447 } // namespace content
444 448
445 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 449 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698