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

Unified Diff: ui/compositor/mac/surface_handle_types_mac.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: 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/surface_handle_types_mac.cc
diff --git a/content/common/gpu/surface_handle_types_mac.cc b/ui/compositor/mac/surface_handle_types_mac.cc
similarity index 94%
rename from content/common/gpu/surface_handle_types_mac.cc
rename to ui/compositor/mac/surface_handle_types_mac.cc
index ef7254241da381359dfb2a8cd71e67af1c0e77b5..86c4744aa30c745f7b03222fe447430dd0a499fc 100644
--- a/content/common/gpu/surface_handle_types_mac.cc
+++ b/ui/compositor/mac/surface_handle_types_mac.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/compositor/mac/surface_handle_types_mac.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
« ui/compositor/mac/accelerated_widget_mac.mm ('K') | « ui/compositor/mac/surface_handle_types_mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698