Chromium Code Reviews| 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(); | |
|
Charlie Reis
2012/08/13 17:50:14
Needs a comment. What flags are we talking about?
| |
| 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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 790 bool fling_in_progress_; | 792 bool fling_in_progress_; |
| 791 | 793 |
| 792 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; | 794 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; |
| 793 | 795 |
| 794 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 796 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 795 }; | 797 }; |
| 796 | 798 |
| 797 } // namespace content | 799 } // namespace content |
| 798 | 800 |
| 799 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 801 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |