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

Unified Diff: ui/accelerated_widget_mac/io_surface_context.mm

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: gn check 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
« no previous file with comments | « ui/accelerated_widget_mac/io_surface_context.h ('k') | ui/accelerated_widget_mac/io_surface_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accelerated_widget_mac/io_surface_context.mm
diff --git a/content/browser/compositor/io_surface_context_mac.mm b/ui/accelerated_widget_mac/io_surface_context.mm
similarity index 96%
rename from content/browser/compositor/io_surface_context_mac.mm
rename to ui/accelerated_widget_mac/io_surface_context.mm
index 82c81b1a9498ea7dc7071e30c4c45121a058dfec..59e79fd847da94f4c6500f9a49b14281383011fe 100644
--- a/content/browser/compositor/io_surface_context_mac.mm
+++ b/ui/accelerated_widget_mac/io_surface_context.mm
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/compositor/io_surface_context_mac.h"
+#include "ui/accelerated_widget_mac/io_surface_context.h"
#include <OpenGL/gl.h>
#include <OpenGL/OpenGL.h>
@@ -11,11 +11,10 @@
#include "base/command_line.h"
#include "base/debug/trace_event.h"
#include "base/logging.h"
-#include "ui/base/ui_base_switches.h"
#include "ui/gl/gl_switches.h"
#include "ui/gl/gpu_switching_manager.h"
-namespace content {
+namespace ui {
// static
scoped_refptr<IOSurfaceContext>
@@ -118,4 +117,4 @@ IOSurfaceContext::TypeMap*
base::LazyInstance<IOSurfaceContext::TypeMap>
IOSurfaceContext::type_map_;
-} // namespace content
+} // namespace ui
« no previous file with comments | « ui/accelerated_widget_mac/io_surface_context.h ('k') | ui/accelerated_widget_mac/io_surface_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698