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

Unified Diff: ui/accelerated_widget_mac/ca_layer_partial_damage_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_partial_damage_tree_mac.h
diff --git a/gpu/ipc/service/ca_layer_partial_damage_tree_mac.h b/ui/accelerated_widget_mac/ca_layer_partial_damage_tree_mac.h
similarity index 86%
rename from gpu/ipc/service/ca_layer_partial_damage_tree_mac.h
rename to ui/accelerated_widget_mac/ca_layer_partial_damage_tree_mac.h
index eed42d2e10bbd3055defc4491438bde2f54a544d..ba70d24d650cee95facb1cf4490777939b8ee370 100644
--- a/gpu/ipc/service/ca_layer_partial_damage_tree_mac.h
+++ b/ui/accelerated_widget_mac/ca_layer_partial_damage_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_PARTIAL_DAMAGE_TREE_MAC_H_
-#define GPU_IPC_SERVICE_CA_LAYER_PARTIAL_DAMAGE_TREE_MAC_H_
+#ifndef UI_ACCELERATED_WIDGET_MAC_CA_LAYER_PARTIAL_DAMAGE_TREE_MAC_H_
+#define UI_ACCELERATED_WIDGET_MAC_CA_LAYER_PARTIAL_DAMAGE_TREE_MAC_H_
#include <IOSurface/IOSurface.h>
#include <QuartzCore/QuartzCore.h>
@@ -12,12 +12,13 @@
#include <memory>
#include "base/mac/scoped_cftyperef.h"
+#include "ui/accelerated_widget_mac/accelerated_widget_mac_export.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h"
-namespace gpu {
+namespace ui {
-class CALayerPartialDamageTree {
+class ACCELERATED_WIDGET_MAC_EXPORT CALayerPartialDamageTree {
public:
CALayerPartialDamageTree(bool allow_partial_swap,
base::ScopedCFTypeRef<IOSurfaceRef> io_surface,
« no previous file with comments | « ui/accelerated_widget_mac/accelerated_widget_mac.gyp ('k') | ui/accelerated_widget_mac/ca_layer_partial_damage_tree_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698