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