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

Side by Side Diff: services/ui/ws/server_window_observer.h

Issue 2784663003: mus: Rename mojom::Cursor to mojom::CursorType. (Closed)
Patch Set: Created 3 years, 8 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 | « services/ui/ws/server_window.cc ('k') | services/ui/ws/test_change_tracker.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 SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_ 5 #ifndef SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_
6 #define SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_ 6 #define SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 ServerWindow* relative, 60 ServerWindow* relative,
61 mojom::OrderDirection direction) {} 61 mojom::OrderDirection direction) {}
62 62
63 virtual void OnWillChangeWindowVisibility(ServerWindow* window) {} 63 virtual void OnWillChangeWindowVisibility(ServerWindow* window) {}
64 virtual void OnWindowVisibilityChanged(ServerWindow* window) {} 64 virtual void OnWindowVisibilityChanged(ServerWindow* window) {}
65 virtual void OnWindowOpacityChanged(ServerWindow* window, 65 virtual void OnWindowOpacityChanged(ServerWindow* window,
66 float old_opacity, 66 float old_opacity,
67 float new_opacity) {} 67 float new_opacity) {}
68 68
69 virtual void OnWindowPredefinedCursorChanged(ServerWindow* window, 69 virtual void OnWindowPredefinedCursorChanged(ServerWindow* window,
70 mojom::Cursor cursor_id) {} 70 mojom::CursorType cursor_id) {}
71 virtual void OnWindowNonClientCursorChanged(ServerWindow* window, 71 virtual void OnWindowNonClientCursorChanged(ServerWindow* window,
72 mojom::Cursor cursor_id) {} 72 mojom::CursorType cursor_id) {}
73 73
74 virtual void OnWindowTextInputStateChanged(ServerWindow* window, 74 virtual void OnWindowTextInputStateChanged(ServerWindow* window,
75 const ui::TextInputState& state) {} 75 const ui::TextInputState& state) {}
76 76
77 virtual void OnWindowSharedPropertyChanged( 77 virtual void OnWindowSharedPropertyChanged(
78 ServerWindow* window, 78 ServerWindow* window,
79 const std::string& name, 79 const std::string& name,
80 const std::vector<uint8_t>* new_data) {} 80 const std::vector<uint8_t>* new_data) {}
81 81
82 // Called when the window is no longer an embed root. 82 // Called when the window is no longer an embed root.
83 virtual void OnWindowEmbeddedAppDisconnected(ServerWindow* window) {} 83 virtual void OnWindowEmbeddedAppDisconnected(ServerWindow* window) {}
84 84
85 // Called when a transient child is added to |window|. 85 // Called when a transient child is added to |window|.
86 virtual void OnTransientWindowAdded(ServerWindow* window, 86 virtual void OnTransientWindowAdded(ServerWindow* window,
87 ServerWindow* transient_child) {} 87 ServerWindow* transient_child) {}
88 88
89 // Called when a transient child is removed from |window|. 89 // Called when a transient child is removed from |window|.
90 virtual void OnTransientWindowRemoved(ServerWindow* window, 90 virtual void OnTransientWindowRemoved(ServerWindow* window,
91 ServerWindow* transient_child) {} 91 ServerWindow* transient_child) {}
92 92
93 protected: 93 protected:
94 virtual ~ServerWindowObserver() {} 94 virtual ~ServerWindowObserver() {}
95 }; 95 };
96 96
97 } // namespace ws 97 } // namespace ws
98 98
99 } // namespace ui 99 } // namespace ui
100 100
101 #endif // SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_ 101 #endif // SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_
OLDNEW
« no previous file with comments | « services/ui/ws/server_window.cc ('k') | services/ui/ws/test_change_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698