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

Unified Diff: ui/accelerated_widget_mac/ca_layer_tree_mac.h

Issue 1901253002: Mac: Towards moving CALayerTree to the browser proc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove BUILD.gn Created 4 years, 8 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: ui/accelerated_widget_mac/ca_layer_tree_mac.h
diff --git a/gpu/ipc/service/ca_layer_tree_mac.h b/ui/accelerated_widget_mac/ca_layer_tree_mac.h
similarity index 95%
rename from gpu/ipc/service/ca_layer_tree_mac.h
rename to ui/accelerated_widget_mac/ca_layer_tree_mac.h
index 1e45fd1fa83285864c4fca7b096ae05b0d928efa..fa17272bec8ca157cfb8f1f018746a081be34c71 100644
--- a/gpu/ipc/service/ca_layer_tree_mac.h
+++ b/ui/accelerated_widget_mac/ca_layer_tree_mac.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef GPU_IPC_SERVICE_CA_LAYER_TREE_MAC_H_
-#define GPU_IPC_SERVICE_CA_LAYER_TREE_MAC_H_
+#ifndef UI_ACCELERATED_WIDGET_MAC_CA_LAYER_TREE_MAC_H_
+#define UI_ACCELERATED_WIDGET_MAC_CA_LAYER_TREE_MAC_H_
#include <IOSurface/IOSurface.h>
#include <QuartzCore/QuartzCore.h>
@@ -14,7 +14,7 @@
#include "base/mac/scoped_cftyperef.h"
#include "base/mac/scoped_nsobject.h"
-#include "gpu/gpu_export.h"
+#include "ui/accelerated_widget_mac/accelerated_widget_mac_export.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/mac/io_surface.h"
@@ -22,12 +22,12 @@
@class AVSampleBufferDisplayLayer;
-namespace gpu {
+namespace ui {
// The CALayerTree will construct a hierarchy of CALayers from a linear list,
// using the algorithm and structure referenced described in
// https://docs.google.com/document/d/1DtSN9zzvCF44_FQPM7ie01UxGHagQ66zfF5L9HnigQY/edit?usp=sharing
-class GPU_EXPORT CALayerTree {
+class ACCELERATED_WIDGET_MAC_EXPORT CALayerTree {
public:
CALayerTree();
@@ -198,6 +198,6 @@ class GPU_EXPORT CALayerTree {
DISALLOW_COPY_AND_ASSIGN(CALayerTree);
};
-} // namespace gpu
+} // namespace ui
-#endif // GPU_IPC_SERVICE_CA_LAYER_TREE_MAC_H_
+#endif // UI_ACCELERATED_WIDGET_MAC_CA_LAYER_TREE_MAC_H_
« no previous file with comments | « ui/accelerated_widget_mac/ca_layer_partial_damage_tree_mac.mm ('k') | ui/accelerated_widget_mac/ca_layer_tree_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698