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

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

Issue 1784573002: mus: Client-side implementation of modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@b548402_modal_windows_server
Patch Set: Added early out Created 4 years, 9 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 | « no previous file | 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>
(...skipping 21 matching lines...) Expand all
32 CAPTURE, 32 CAPTURE,
33 DELETE_WINDOW, 33 DELETE_WINDOW,
34 FOCUS, 34 FOCUS,
35 NEW_WINDOW, 35 NEW_WINDOW,
36 NEW_TOP_LEVEL_WINDOW, 36 NEW_TOP_LEVEL_WINDOW,
37 PREDEFINED_CURSOR, 37 PREDEFINED_CURSOR,
38 PROPERTY, 38 PROPERTY,
39 REMOVE_CHILD, 39 REMOVE_CHILD,
40 REMOVE_TRANSIENT_WINDOW_FROM_PARENT, 40 REMOVE_TRANSIENT_WINDOW_FROM_PARENT,
41 REORDER, 41 REORDER,
42 SET_MODAL,
42 VISIBLE, 43 VISIBLE,
43 }; 44 };
44 45
45 // InFlightChange is used to track function calls to the server and take the 46 // InFlightChange is used to track function calls to the server and take the
46 // appropriate action when the call fails, or the same property changes while 47 // appropriate action when the call fails, or the same property changes while
47 // waiting for the response. When a function is called on the server an 48 // waiting for the response. When a function is called on the server an
48 // InFlightChange is created. The function call is complete when 49 // InFlightChange is created. The function call is complete when
49 // OnChangeCompleted() is received from the server. The following may occur 50 // OnChangeCompleted() is received from the server. The following may occur
50 // while waiting for a response: 51 // while waiting for a response:
51 // . A new value is encountered from the server. For example, the bounds of 52 // . A new value is encountered from the server. For example, the bounds of
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 260
260 private: 261 private:
261 bool revert_visible_; 262 bool revert_visible_;
262 263
263 DISALLOW_COPY_AND_ASSIGN(InFlightVisibleChange); 264 DISALLOW_COPY_AND_ASSIGN(InFlightVisibleChange);
264 }; 265 };
265 266
266 } // namespace mus 267 } // namespace mus
267 268
268 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_ 269 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_IN_FLIGHT_CHANGE_H_
OLDNEW
« no previous file with comments | « no previous file | components/mus/public/cpp/lib/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698