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

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

Issue 10797043: content: Make sure the renderer notifies the browser about touch-event handlers properly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 int32 route_id, 491 int32 route_id,
492 int32 gpu_process_host_id); 492 int32 gpu_process_host_id);
493 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 493 void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
494 void OnMsgUpdateIsDelayed(); 494 void OnMsgUpdateIsDelayed();
495 void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type, 495 void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type,
496 bool processed); 496 bool processed);
497 void OnMsgBeginSmoothScroll(bool scroll_down, bool scroll_far); 497 void OnMsgBeginSmoothScroll(bool scroll_down, bool scroll_far);
498 virtual void OnMsgFocus(); 498 virtual void OnMsgFocus();
499 virtual void OnMsgBlur(); 499 virtual void OnMsgBlur();
500 void OnMsgDidChangeNumTouchEvents(int count); 500 void OnMsgDidChangeNumTouchEvents(int count);
501 void OnMsgHasTouchEventHandlers(bool has_handlers);
501 502
502 void OnMsgSetCursor(const WebCursor& cursor); 503 void OnMsgSetCursor(const WebCursor& cursor);
503 void OnMsgTextInputStateChanged(ui::TextInputType type, 504 void OnMsgTextInputStateChanged(ui::TextInputType type,
504 bool can_compose_inline); 505 bool can_compose_inline);
505 void OnMsgImeCompositionRangeChanged( 506 void OnMsgImeCompositionRangeChanged(
506 const ui::Range& range, 507 const ui::Range& range,
507 const std::vector<gfx::Rect>& character_bounds); 508 const std::vector<gfx::Rect>& character_bounds);
508 void OnMsgImeCancelComposition(); 509 void OnMsgImeCancelComposition();
509 510
510 void OnMsgDidActivateAcceleratedCompositing(bool activated); 511 void OnMsgDidActivateAcceleratedCompositing(bool activated);
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 scoped_ptr<TapSuppressionController> tap_suppression_controller_; 769 scoped_ptr<TapSuppressionController> tap_suppression_controller_;
769 770
770 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; 771 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_;
771 772
772 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 773 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
773 }; 774 };
774 775
775 } // namespace content 776 } // namespace content
776 777
777 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 778 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698