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

Side by Side Diff: services/native_viewport/platform_viewport_headless.h

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 #ifndef SERVICES_NATIVE_VIEWPORT_PLATFORM_VIEWPORT_HEADLESS_H_
6 #define SERVICES_NATIVE_VIEWPORT_PLATFORM_VIEWPORT_HEADLESS_H_
7
5 #include "base/macros.h" 8 #include "base/macros.h"
6 #include "mojo/services/native_viewport/platform_viewport.h" 9 #include "services/native_viewport/platform_viewport.h"
7 #include "ui/gfx/rect.h" 10 #include "ui/gfx/rect.h"
8 11
9 namespace mojo { 12 namespace mojo {
10 13
11 class PlatformViewportHeadless : public PlatformViewport { 14 class PlatformViewportHeadless : public PlatformViewport {
12 public: 15 public:
13 ~PlatformViewportHeadless() override; 16 ~PlatformViewportHeadless() override;
14 17
15 static scoped_ptr<PlatformViewport> Create(Delegate* delegate); 18 static scoped_ptr<PlatformViewport> Create(Delegate* delegate);
16 19
(...skipping 10 matching lines...) Expand all
27 void SetCapture() override; 30 void SetCapture() override;
28 void ReleaseCapture() override; 31 void ReleaseCapture() override;
29 32
30 Delegate* delegate_; 33 Delegate* delegate_;
31 gfx::Rect bounds_; 34 gfx::Rect bounds_;
32 35
33 DISALLOW_COPY_AND_ASSIGN(PlatformViewportHeadless); 36 DISALLOW_COPY_AND_ASSIGN(PlatformViewportHeadless);
34 }; 37 };
35 38
36 } // namespace mojo 39 } // namespace mojo
40
41 #endif // SERVICES_NATIVE_VIEWPORT_PLATFORM_VIEWPORT_HEADLESS_H_
OLDNEW
« no previous file with comments | « services/native_viewport/platform_viewport_android.cc ('k') | services/native_viewport/platform_viewport_headless.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698