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

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

Issue 1120293003: Make sure send one WebTouchEvent ack per ui::TouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: put in RenderWidgetHostViewAura Created 5 years, 7 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_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 bool CanRendererHandleEvent(const ui::MouseEvent* event, 502 bool CanRendererHandleEvent(const ui::MouseEvent* event,
503 bool mouse_locked, 503 bool mouse_locked,
504 bool selection_popup); 504 bool selection_popup);
505 505
506 // Called when the parent window bounds change. 506 // Called when the parent window bounds change.
507 void HandleParentBoundsChanged(); 507 void HandleParentBoundsChanged();
508 508
509 // Called when the parent window hierarchy for our window changes. 509 // Called when the parent window hierarchy for our window changes.
510 void ParentHierarchyChanged(); 510 void ParentHierarchyChanged();
511 511
512 // Reset unchange touch point to StateStationary for touchmove and
513 // touchcancel.
514 void SetTouchPointStateStationary(blink::WebTouchEvent* event, int touch_id);
515
512 // The model object. 516 // The model object.
513 RenderWidgetHostImpl* host_; 517 RenderWidgetHostImpl* host_;
514 518
515 aura::Window* window_; 519 aura::Window* window_;
516 520
517 scoped_ptr<DelegatedFrameHost> delegated_frame_host_; 521 scoped_ptr<DelegatedFrameHost> delegated_frame_host_;
518 522
519 scoped_ptr<WindowObserver> window_observer_; 523 scoped_ptr<WindowObserver> window_observer_;
520 524
521 // Tracks the ancestors of the RWHVA window for window location changes. 525 // Tracks the ancestors of the RWHVA window for window location changes.
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 // compositing surface and showing the disambiguation popup. 674 // compositing surface and showing the disambiguation popup.
671 gfx::Vector2dF disambiguation_scroll_offset_; 675 gfx::Vector2dF disambiguation_scroll_offset_;
672 676
673 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 677 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
674 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 678 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
675 }; 679 };
676 680
677 } // namespace content 681 } // namespace content
678 682
679 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 683 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698