OLD | NEW |
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 <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 } | 365 } |
366 | 366 |
367 // Whether forwarded WebInputEvents should be ignored. True if either | 367 // Whether forwarded WebInputEvents should be ignored. True if either |
368 // |ignore_input_events_| or |process_->IgnoreInputEvents()| is true. | 368 // |ignore_input_events_| or |process_->IgnoreInputEvents()| is true. |
369 bool IgnoreInputEvents() const; | 369 bool IgnoreInputEvents() const; |
370 | 370 |
371 // Event queries delegated to the |input_router_|. | 371 // Event queries delegated to the |input_router_|. |
372 bool ShouldForwardTouchEvent() const; | 372 bool ShouldForwardTouchEvent() const; |
373 bool ShouldForwardGestureEvent( | 373 bool ShouldForwardGestureEvent( |
374 const GestureEventWithLatencyInfo& gesture_event) const; | 374 const GestureEventWithLatencyInfo& gesture_event) const; |
375 bool HasQueuedGestureEvents() const; | |
376 | 375 |
377 bool has_touch_handler() const { return has_touch_handler_; } | 376 bool has_touch_handler() const { return has_touch_handler_; } |
378 | 377 |
379 // Notification that the user has made some kind of input that could | 378 // Notification that the user has made some kind of input that could |
380 // perform an action. See OnUserGesture for more details. | 379 // perform an action. See OnUserGesture for more details. |
381 void StartUserGesture(); | 380 void StartUserGesture(); |
382 | 381 |
383 // Set the RenderView background. | 382 // Set the RenderView background. |
384 void SetBackground(const SkBitmap& background); | 383 void SetBackground(const SkBitmap& background); |
385 | 384 |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 int64 last_input_number_; | 925 int64 last_input_number_; |
927 | 926 |
928 BrowserRenderingStats rendering_stats_; | 927 BrowserRenderingStats rendering_stats_; |
929 | 928 |
930 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 929 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
931 }; | 930 }; |
932 | 931 |
933 } // namespace content | 932 } // namespace content |
934 | 933 |
935 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 934 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |