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

Side by Side Diff: services/native_viewport/platform_viewport_mac.mm

Issue 769173002: Move native_viewport and gles2 service impls to //services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/services/native_viewport/platform_viewport.h" 5 #include "services/native_viewport/platform_viewport.h"
6 6
7 #import <AppKit/NSApplication.h> 7 #import <AppKit/NSApplication.h>
8 #import <AppKit/NSView.h> 8 #import <AppKit/NSView.h>
9 #import <AppKit/NSWindow.h> 9 #import <AppKit/NSWindow.h>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "ui/gfx/rect.h" 12 #include "ui/gfx/rect.h"
13 13
14 namespace mojo { 14 namespace mojo {
15 15
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 DISALLOW_COPY_AND_ASSIGN(PlatformViewportMac); 64 DISALLOW_COPY_AND_ASSIGN(PlatformViewportMac);
65 }; 65 };
66 66
67 // static 67 // static
68 scoped_ptr<PlatformViewport> PlatformViewport::Create(Delegate* delegate) { 68 scoped_ptr<PlatformViewport> PlatformViewport::Create(Delegate* delegate) {
69 return scoped_ptr<PlatformViewport>(new PlatformViewportMac(delegate)).Pass(); 69 return scoped_ptr<PlatformViewport>(new PlatformViewportMac(delegate)).Pass();
70 } 70 }
71 71
72 } // namespace mojo 72 } // namespace mojo
OLDNEW
« no previous file with comments | « services/native_viewport/platform_viewport_headless.cc ('k') | services/native_viewport/platform_viewport_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698