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

Side by Side Diff: ui/views/mus/window_manager_constants_converters.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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
« no previous file with comments | « ui/views/mus/window_manager_connection.h ('k') | ui/views/mus/window_tree_host_mus.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_ 5 #ifndef UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_
6 #define UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_ 6 #define UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_
7 7
8 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" 8 #include "services/ui/public/interfaces/window_manager_constants.mojom.h"
9 #include "ui/views/mus/mus_export.h" 9 #include "ui/views/mus/mus_export.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
11 11
12 namespace ui {
13 class Window;
14 }
15
16 namespace mojo { 12 namespace mojo {
17 13
18 template <> 14 template <>
19 struct VIEWS_MUS_EXPORT 15 struct VIEWS_MUS_EXPORT
20 TypeConverter<ui::mojom::WindowType, views::Widget::InitParams::Type> { 16 TypeConverter<ui::mojom::WindowType, views::Widget::InitParams::Type> {
21 static ui::mojom::WindowType Convert(views::Widget::InitParams::Type type); 17 static ui::mojom::WindowType Convert(views::Widget::InitParams::Type type);
22 }; 18 };
23 19
24 } // namespace mojo 20 } // namespace mojo
25 21
26 #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_ 22 #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONSTANTS_CONVERTERS_H_
OLDNEW
« no previous file with comments | « ui/views/mus/window_manager_connection.h ('k') | ui/views/mus/window_tree_host_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698