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