| 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 <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 #endif | 383 #endif |
| 384 | 384 |
| 385 // Signals that the compositing surface was updated, e.g. after a lost context | 385 // Signals that the compositing surface was updated, e.g. after a lost context |
| 386 // event. | 386 // event. |
| 387 void CompositingSurfaceUpdated(); | 387 void CompositingSurfaceUpdated(); |
| 388 | 388 |
| 389 void set_allow_privileged_mouse_lock(bool allow) { | 389 void set_allow_privileged_mouse_lock(bool allow) { |
| 390 allow_privileged_mouse_lock_ = allow; | 390 allow_privileged_mouse_lock_ = allow; |
| 391 } | 391 } |
| 392 | 392 |
| 393 void ResetFlags(); |
| 394 |
| 393 protected: | 395 protected: |
| 394 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; | 396 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; |
| 395 | 397 |
| 396 // Internal implementation of the public Forward*Event() methods. | 398 // Internal implementation of the public Forward*Event() methods. |
| 397 void ForwardInputEvent(const WebKit::WebInputEvent& input_event, | 399 void ForwardInputEvent(const WebKit::WebInputEvent& input_event, |
| 398 int event_size, bool is_keyboard_shortcut); | 400 int event_size, bool is_keyboard_shortcut); |
| 399 | 401 |
| 400 // Called when we receive a notification indicating that the renderer | 402 // Called when we receive a notification indicating that the renderer |
| 401 // process has gone. This will reset our state so that our state will be | 403 // process has gone. This will reset our state so that our state will be |
| 402 // consistent if a new renderer is created. | 404 // consistent if a new renderer is created. |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; | 785 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; |
| 784 | 786 |
| 785 scoped_ptr<GestureEventFilter> gesture_event_filter_; | 787 scoped_ptr<GestureEventFilter> gesture_event_filter_; |
| 786 | 788 |
| 787 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 789 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 788 }; | 790 }; |
| 789 | 791 |
| 790 } // namespace content | 792 } // namespace content |
| 791 | 793 |
| 792 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 794 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |