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

Unified Diff: ui/compositor/mac/software_layer.h

Issue 753933002: MacViews: Move content::AcceleratedWidget to new component, ui/accelerated_widget_mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20141124-MacViews-MoveSoftwareLayerMac-fromcl
Patch Set: rebase to master Created 6 years, 1 month 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/compositor/mac/software_layer.h
diff --git a/content/browser/compositor/software_layer_mac.h b/ui/compositor/mac/software_layer.h
similarity index 70%
rename from content/browser/compositor/software_layer_mac.h
rename to ui/compositor/mac/software_layer.h
index 687070e500e3dc760ce5915a56845106bc0f0f77..1824c1d16e9a4feaabf7f5c0cb3116fe1b376876 100644
--- a/content/browser/compositor/software_layer_mac.h
+++ b/ui/compositor/mac/software_layer.h
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_RENDERER_HOST_SOFTWARE_LAYER_MAC_H_
-#define CONTENT_BROWSER_RENDERER_HOST_SOFTWARE_LAYER_MAC_H_
+#ifndef UI_COMPOSITOR_MAC_SOFTWARE_LAYER_H_
+#define UI_COMPOSITOR_MAC_SOFTWARE_LAYER_H_
#import <Cocoa/Cocoa.h>
+#include "ui/compositor/compositor_export.h"
#include "ui/gfx/geometry/size.h"
+COMPOSITOR_EXPORT
@interface SoftwareLayer : CALayer
- (id)init;
@@ -19,4 +21,4 @@
@end
-#endif // CONTENT_BROWSER_RENDERER_HOST_SOFTWARE_LAYER_MAC_H_
+#endif // UI_COMPOSITOR_MAC_SOFTWARE_LAYER_H_

Powered by Google App Engine
This is Rietveld 408576698