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

Side by Side Diff: mojo/services/view_manager/window_tree_host_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 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 MOJO_AURA_WINDOW_TREE_HOST_MOJO_H_ 5 #ifndef MOJO_AURA_WINDOW_TREE_HOST_MOJO_H_
6 #define MOJO_AURA_WINDOW_TREE_HOST_MOJO_H_ 6 #define MOJO_AURA_WINDOW_TREE_HOST_MOJO_H_
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "mojo/services/public/interfaces/native_viewport/native_viewport.mojom. h" 9 #include "mojo/services/public/interfaces/native_viewport/native_viewport.mojom. h"
10 #include "ui/aura/window_tree_host.h" 10 #include "ui/aura/window_tree_host.h"
11 #include "ui/events/event_source.h" 11 #include "ui/events/event_source.h"
12 #include "ui/gfx/rect.h" 12 #include "ui/gfx/rect.h"
13 13
14 namespace ui { 14 namespace ui {
15 class ContextFactory; 15 class ContextFactory;
16 } 16 }
17 17
18 namespace mojo { 18 namespace mojo {
19 namespace view_manager {
20 namespace service { 19 namespace service {
21 20
22 class ContextFactoryImpl; 21 class ContextFactoryImpl;
23 22
24 class WindowTreeHostImpl : public aura::WindowTreeHost, 23 class WindowTreeHostImpl : public aura::WindowTreeHost,
25 public ui::EventSource, 24 public ui::EventSource,
26 public NativeViewportClient { 25 public NativeViewportClient {
27 public: 26 public:
28 WindowTreeHostImpl( 27 WindowTreeHostImpl(
29 NativeViewportPtr viewport, 28 NativeViewportPtr viewport,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 NativeViewportPtr native_viewport_; 64 NativeViewportPtr native_viewport_;
66 Callback<void()> compositor_created_callback_; 65 Callback<void()> compositor_created_callback_;
67 Callback<void()> native_viewport_closed_callback_; 66 Callback<void()> native_viewport_closed_callback_;
68 67
69 gfx::Rect bounds_; 68 gfx::Rect bounds_;
70 69
71 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostImpl); 70 DISALLOW_COPY_AND_ASSIGN(WindowTreeHostImpl);
72 }; 71 };
73 72
74 } // namespace service 73 } // namespace service
75 } // namespace view_manager
76 } // namespace mojo 74 } // namespace mojo
77 75
78 #endif // MOJO_AURA_WINDOW_TREE_HOST_MOJO_H_ 76 #endif // MOJO_AURA_WINDOW_TREE_HOST_MOJO_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/view_manager_unittest.cc ('k') | mojo/services/view_manager/window_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698