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

Side by Side Diff: content/renderer/render_widget.h

Issue 1050993004: Route touchmove existence notifications to the TouchEventQueue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 10
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 // Called by OnHandleInputEvent() to forward a mouse wheel event to the 567 // Called by OnHandleInputEvent() to forward a mouse wheel event to the
568 // compositor thread, to effect the elastic overscroll effect. 568 // compositor thread, to effect the elastic overscroll effect.
569 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event, 569 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event,
570 const gfx::Vector2dF& wheel_unused_delta, 570 const gfx::Vector2dF& wheel_unused_delta,
571 bool event_processed); 571 bool event_processed);
572 572
573 // Check whether the WebWidget has any touch event handlers registered 573 // Check whether the WebWidget has any touch event handlers registered
574 // at the given point. 574 // at the given point.
575 virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const; 575 virtual bool HasTouchEventHandlersAt(const gfx::Point& point) const;
576 576
577 // Check whether the WebWidget has any touch event handlers registered. 577 // Notifies whether the WebWidget has any touch event handlers registered.
578 virtual void hasTouchEventHandlers(bool has_handlers); 578 virtual void hasEventHandlers(blink::WebEventHandlerClass handler_class,
579 bool has_handlers);
579 580
580 // Tell the browser about the actions permitted for a new touch point. 581 // Tell the browser about the actions permitted for a new touch point.
581 virtual void setTouchAction(blink::WebTouchAction touch_action); 582 virtual void setTouchAction(blink::WebTouchAction touch_action);
582 583
583 // Called when value of focused text field gets dirty, e.g. value is modified 584 // Called when value of focused text field gets dirty, e.g. value is modified
584 // by script, not by user input. 585 // by script, not by user input.
585 virtual void didUpdateTextOfFocusedElementByNonUserInput(); 586 virtual void didUpdateTextOfFocusedElementByNonUserInput();
586 587
587 // Creates a 3D context associated with this view. 588 // Creates a 3D context associated with this view.
588 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D( 589 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D(
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 ui::MenuSourceType context_menu_source_type_; 818 ui::MenuSourceType context_menu_source_type_;
818 bool has_host_context_menu_location_; 819 bool has_host_context_menu_location_;
819 gfx::Point host_context_menu_location_; 820 gfx::Point host_context_menu_location_;
820 821
821 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 822 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
822 }; 823 };
823 824
824 } // namespace content 825 } // namespace content
825 826
826 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 827 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698