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

Unified Diff: ui/accelerated_widget_mac/surface_handle_types.cc

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/surface_handle_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accelerated_widget_mac/surface_handle_types.cc
diff --git a/content/common/gpu/surface_handle_types_mac.cc b/ui/accelerated_widget_mac/surface_handle_types.cc
similarity index 94%
rename from content/common/gpu/surface_handle_types_mac.cc
rename to ui/accelerated_widget_mac/surface_handle_types.cc
index ef7254241da381359dfb2a8cd71e67af1c0e77b5..22d2f6dc67a2f7bebcdf59fcbce37e6410738af4 100644
--- a/content/common/gpu/surface_handle_types_mac.cc
+++ b/ui/accelerated_widget_mac/surface_handle_types.cc
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/gpu/surface_handle_types_mac.h"
+#include "ui/accelerated_widget_mac/surface_handle_types.h"
#include "base/logging.h"
-namespace content {
+namespace ui {
namespace {
// The type of the handle is stored in the upper 64 bits.
@@ -50,4 +50,4 @@ uint64 SurfaceHandleFromCAContextID(CAContextID ca_context_id) {
return kTypeCAContext | (ca_context_id ^ kXORMaskCAContext);
}
-} // namespace content
+} // namespace ui
« no previous file with comments | « ui/accelerated_widget_mac/surface_handle_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698