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

Side by Side Diff: mojo/services/view_manager/screen_impl.h

Issue 418983002: Nukes view_manager namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve merge Created 6 years, 5 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MOJO_SERVICES_VIEW_MANAGER_SCREEN_IMPL_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_SCREEN_IMPL_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_SCREEN_IMPL_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_SCREEN_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ui/gfx/display.h" 9 #include "ui/gfx/display.h"
10 #include "ui/gfx/screen.h" 10 #include "ui/gfx/screen.h"
11 11
12 namespace gfx { 12 namespace gfx {
13 class Rect; 13 class Rect;
14 class Transform; 14 class Transform;
15 } 15 }
16 16
17 namespace mojo { 17 namespace mojo {
18 namespace view_manager {
19 namespace service { 18 namespace service {
20 19
21 // A minimal implementation of gfx::Screen for the view manager. 20 // A minimal implementation of gfx::Screen for the view manager.
22 class ScreenImpl : public gfx::Screen { 21 class ScreenImpl : public gfx::Screen {
23 public: 22 public:
24 static gfx::Screen* Create(); 23 static gfx::Screen* Create();
25 virtual ~ScreenImpl(); 24 virtual ~ScreenImpl();
26 25
27 protected: 26 protected:
28 // gfx::Screen overrides: 27 // gfx::Screen overrides:
(...skipping 16 matching lines...) Expand all
45 44
46 private: 45 private:
47 explicit ScreenImpl(const gfx::Rect& screen_bounds); 46 explicit ScreenImpl(const gfx::Rect& screen_bounds);
48 47
49 gfx::Display display_; 48 gfx::Display display_;
50 49
51 DISALLOW_COPY_AND_ASSIGN(ScreenImpl); 50 DISALLOW_COPY_AND_ASSIGN(ScreenImpl);
52 }; 51 };
53 52
54 } // namespace service 53 } // namespace service
55 } // namespace view_manager
56 } // namespace mojo 54 } // namespace mojo
57 55
58 #endif // MOJO_SERVICES_VIEW_MANAGER_SCREEN_IMPL_H_ 56 #endif // MOJO_SERVICES_VIEW_MANAGER_SCREEN_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/root_view_manager_delegate.h ('k') | mojo/services/view_manager/screen_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698