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

Side by Side Diff: components/mus/ws/display_manager_delegate.h

Issue 1496103002: Reusing base::IdType<...> to implement SurfaceId. Base URL: https://chromium.googlesource.com/chromium/src.git@type-safe-id-base
Patch Set: Created 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_MUS_WS_DISPLAY_MANAGER_DELEGATE_H_ 5 #ifndef COMPONENTS_MUS_WS_DISPLAY_MANAGER_DELEGATE_H_
6 #define COMPONENTS_MUS_WS_DISPLAY_MANAGER_DELEGATE_H_ 6 #define COMPONENTS_MUS_WS_DISPLAY_MANAGER_DELEGATE_H_
7 7
8 #include "cc/surfaces/surface_id.h"
8 #include "components/mus/public/interfaces/window_tree.mojom.h" 9 #include "components/mus/public/interfaces/window_tree.mojom.h"
9 #include "components/mus/ws/ids.h" 10 #include "components/mus/ws/ids.h"
10 11
11 namespace cc {
12 struct SurfaceId;
13 }
14
15 namespace mus { 12 namespace mus {
16 13
17 namespace ws { 14 namespace ws {
18 15
19 class ServerWindow; 16 class ServerWindow;
20 17
21 // A DisplayManagerDelegate an interface to be implemented by an object that 18 // A DisplayManagerDelegate an interface to be implemented by an object that
22 // manages the lifetime of a DisplayManager, forwards events to the appropriate 19 // manages the lifetime of a DisplayManager, forwards events to the appropriate
23 // windows, and responses to changes in viewport size. 20 // windows, and responses to changes in viewport size.
24 class DisplayManagerDelegate { 21 class DisplayManagerDelegate {
(...skipping 19 matching lines...) Expand all
44 41
45 protected: 42 protected:
46 virtual ~DisplayManagerDelegate() {} 43 virtual ~DisplayManagerDelegate() {}
47 }; 44 };
48 45
49 } // namespace ws 46 } // namespace ws
50 47
51 } // namespace mus 48 } // namespace mus
52 49
53 #endif // COMPONENTS_MUS_WS_DISPLAY_MANAGER_DELEGATE_H_ 50 #endif // COMPONENTS_MUS_WS_DISPLAY_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/mus/surfaces/top_level_display_client.cc ('k') | components/mus/ws/server_window_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698