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

Side by Side Diff: components/mus/public/cpp/lib/in_flight_change.h

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 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
« no previous file with comments | « components/mus/public/cpp/lib/event_matcher.cc ('k') | components/mus/public/cpp/lib/window.cc » ('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 COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "components/mus/public/cpp/window_observer.h" 15 #include "components/mus/public/cpp/window_observer.h"
16 #include "mojo/public/cpp/bindings/array.h" 16 #include "mojo/public/cpp/bindings/array.h"
17 #include "ui/gfx/geometry/rect.h" 17 #include "ui/gfx/geometry/rect.h"
18 18
19 namespace mus { 19 namespace mus {
20 20
21 namespace mojom { 21 namespace mojom {
22 enum Cursor : int32_t; 22 enum class Cursor : int32_t;
23 } 23 }
24 24
25 class Window; 25 class Window;
26 class WindowTreeClientImpl; 26 class WindowTreeClientImpl;
27 27
28 enum class ChangeType { 28 enum class ChangeType {
29 ADD_CHILD, 29 ADD_CHILD,
30 ADD_TRANSIENT_WINDOW, 30 ADD_TRANSIENT_WINDOW,
31 BOUNDS, 31 BOUNDS,
32 DELETE_WINDOW, 32 DELETE_WINDOW,
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 private: 225 private:
226 bool revert_visible_; 226 bool revert_visible_;
227 227
228 DISALLOW_COPY_AND_ASSIGN(InFlightVisibleChange); 228 DISALLOW_COPY_AND_ASSIGN(InFlightVisibleChange);
229 }; 229 };
230 230
231 } // namespace mus 231 } // namespace mus
232 232
233 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ 233 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_
OLDNEW
« no previous file with comments | « components/mus/public/cpp/lib/event_matcher.cc ('k') | components/mus/public/cpp/lib/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698