| 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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 bool is_threaded_compositing_enabled() const { | 485 bool is_threaded_compositing_enabled() const { |
| 486 return is_threaded_compositing_enabled_; | 486 return is_threaded_compositing_enabled_; |
| 487 } | 487 } |
| 488 | 488 |
| 489 #if defined(USE_AURA) | 489 #if defined(USE_AURA) |
| 490 // Called by the view when the parent changes. If a parent isn't available, | 490 // Called by the view when the parent changes. If a parent isn't available, |
| 491 // NULL is used. | 491 // NULL is used. |
| 492 void ParentChanged(gfx::NativeViewId new_parent); | 492 void ParentChanged(gfx::NativeViewId new_parent); |
| 493 #endif | 493 #endif |
| 494 | 494 |
| 495 // Signals that the compositing surface was updated, e.g. after a lost context | |
| 496 // event. | |
| 497 void CompositingSurfaceUpdated(); | |
| 498 | |
| 499 void set_allow_privileged_mouse_lock(bool allow) { | 495 void set_allow_privileged_mouse_lock(bool allow) { |
| 500 allow_privileged_mouse_lock_ = allow; | 496 allow_privileged_mouse_lock_ = allow; |
| 501 } | 497 } |
| 502 | 498 |
| 503 // Resets state variables related to tracking pending size and painting. | 499 // Resets state variables related to tracking pending size and painting. |
| 504 // | 500 // |
| 505 // We need to reset these flags when we want to repaint the contents of | 501 // We need to reset these flags when we want to repaint the contents of |
| 506 // browser plugin in this RWH. Resetting these flags will ensure we ignore | 502 // browser plugin in this RWH. Resetting these flags will ensure we ignore |
| 507 // any previous pending acks that are not relevant upon repaint. | 503 // any previous pending acks that are not relevant upon repaint. |
| 508 void ResetSizeAndRepaintPendingFlags(); | 504 void ResetSizeAndRepaintPendingFlags(); |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 920 int64 last_input_number_; | 916 int64 last_input_number_; |
| 921 | 917 |
| 922 BrowserRenderingStats rendering_stats_; | 918 BrowserRenderingStats rendering_stats_; |
| 923 | 919 |
| 924 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 920 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 925 }; | 921 }; |
| 926 | 922 |
| 927 } // namespace content | 923 } // namespace content |
| 928 | 924 |
| 929 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 925 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |