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

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

Issue 2018793002: Mac: Move remote layer use to GpuOutputSurfaceMac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean_up_mac
Patch Set: Review feedback Created 4 years, 6 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
« no previous file with comments | « no previous file | content/browser/compositor/gpu_output_surface_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/gpu_output_surface_mac.h
diff --git a/content/browser/compositor/gpu_output_surface_mac.h b/content/browser/compositor/gpu_output_surface_mac.h
index 4205ead319630544db10ef91674edbc5a59f7525..f5a65473a996df1569ad6797f420aa9d6eabb555 100644
--- a/content/browser/compositor/gpu_output_surface_mac.h
+++ b/content/browser/compositor/gpu_output_surface_mac.h
@@ -34,6 +34,11 @@ class GpuOutputSurfaceMac
void SetSurfaceSuspendedForRecycle(bool suspended) override;
private:
+ // Store remote layers in a separate structure, so that non-Objective-C files
+ // may include this header.
+ struct RemoteLayers;
+ std::unique_ptr<RemoteLayers> remote_layers_;
+
enum ShouldShowFramesState {
// Frames that come from the GPU process should appear on-screen.
SHOULD_SHOW_FRAMES,
« no previous file with comments | « no previous file | content/browser/compositor/gpu_output_surface_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698