diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-01-31 16:33:43 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-02-06 16:33:22 +0000 |
commit | da51f56cc21233c2d30f0fe0d171727c3102b2e0 (patch) | |
tree | 4e579ab70ce4b19bee7984237f3ce05a96d59d83 /chromium/content/renderer/browser_plugin/browser_plugin.h | |
parent | c8c2d1901aec01e934adf561a9fdf0cc776cdef8 (diff) | |
download | qtwebengine-chromium-da51f56cc21233c2d30f0fe0d171727c3102b2e0.tar.gz |
BASELINE: Update Chromium to 65.0.3525.40
Also imports missing submodules
Change-Id: I36901b7c6a325cda3d2c10cedb2186c25af3b79b
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/content/renderer/browser_plugin/browser_plugin.h')
-rw-r--r-- | chromium/content/renderer/browser_plugin/browser_plugin.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/chromium/content/renderer/browser_plugin/browser_plugin.h b/chromium/content/renderer/browser_plugin/browser_plugin.h index 37d61fe29ca..7480991fb44 100644 --- a/chromium/content/renderer/browser_plugin/browser_plugin.h +++ b/chromium/content/renderer/browser_plugin/browser_plugin.h @@ -15,7 +15,7 @@ #include "base/sequenced_task_runner_helpers.h" #include "components/viz/common/surfaces/frame_sink_id.h" #include "components/viz/common/surfaces/local_surface_id.h" -#include "components/viz/common/surfaces/local_surface_id_allocator.h" +#include "components/viz/common/surfaces/parent_local_surface_id_allocator.h" #include "content/public/common/screen_info.h" #include "content/renderer/mouse_lock_dispatcher.h" #include "content/renderer/render_view_impl.h" @@ -88,10 +88,6 @@ class CONTENT_EXPORT BrowserPlugin : public blink::WebPlugin, // currently attached to, if any. void Detach(); - // Notify the plugin about a compositor commit so that frame ACKs could be - // sent, if needed. - void DidCommitCompositorFrame(); - void WasResized(); // Returns whether a message should be forwarded to BrowserPlugin. @@ -247,7 +243,7 @@ class CONTENT_EXPORT BrowserPlugin : public blink::WebPlugin, viz::FrameSinkId frame_sink_id_; viz::LocalSurfaceId local_surface_id_; - viz::LocalSurfaceIdAllocator local_surface_id_allocator_; + viz::ParentLocalSurfaceIdAllocator parent_local_surface_id_allocator_; bool enable_surface_synchronization_ = false; @@ -276,6 +272,11 @@ class CONTENT_EXPORT BrowserPlugin : public blink::WebPlugin, std::unique_ptr<MusEmbeddedFrame> mus_embedded_frame_; #endif + scoped_refptr<base::SingleThreadTaskRunner> task_runner_; + + // Pointer to the RenderWidget that embeds this plugin. + RenderWidget* embedding_render_widget_ = nullptr; + // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might // get called after BrowserPlugin has been destroyed. base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; |