Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Unified Diff: content/browser/compositor/delegated_frame_host.h

Issue 1129883003: Pass Surface ID namespace to renderer compositors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set initial namespace value Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/compositor/delegated_frame_host.h
diff --git a/content/browser/compositor/delegated_frame_host.h b/content/browser/compositor/delegated_frame_host.h
index f208c267e3f2eab3da530a6a29402c33a83a6d03..8b32d3a78aba2b9f1c9537d9ae32c482473bc9db 100644
--- a/content/browser/compositor/delegated_frame_host.h
+++ b/content/browser/compositor/delegated_frame_host.h
@@ -65,6 +65,9 @@ class CONTENT_EXPORT DelegatedFrameHostClient {
virtual void DelegatedFrameHostUpdateVSyncParameters(
const base::TimeTicks& timebase,
const base::TimeDelta& interval) = 0;
+
+ virtual void DelegatedFrameHostUpdateSurfaceIdNamespace(
+ uint32_t surface_id_namespace) = 0;
};
// The DelegatedFrameHost is used to host all of the RenderWidgetHostView state
@@ -115,6 +118,7 @@ class CONTENT_EXPORT DelegatedFrameHost
scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber);
void EndFrameSubscription();
bool HasFrameSubscriber() const { return frame_subscriber_; }
+ uint32_t GetSurfaceIdNamespace();
// Exposed for tests.
cc::DelegatedFrameProvider* FrameProviderForTesting() const {
« no previous file with comments | « no previous file | content/browser/compositor/delegated_frame_host.cc » ('j') | content/browser/compositor/delegated_frame_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698