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

Side by Side Diff: services/ui/public/cpp/window_observer.h

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_WINDOW_OBSERVER_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_OBSERVER_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_ 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_OBSERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "components/mus/public/cpp/window.h" 12 #include "services/ui/public/cpp/window.h"
13 13
14 namespace mus { 14 namespace mus {
15 15
16 class Window; 16 class Window;
17 17
18 // A note on -ing and -ed suffixes: 18 // A note on -ing and -ed suffixes:
19 // 19 //
20 // -ing methods are called before changes are applied to the local window model. 20 // -ing methods are called before changes are applied to the local window model.
21 // -ed methods are called after changes are applied to the local window model. 21 // -ed methods are called after changes are applied to the local window model.
22 // 22 //
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // The WindowManager has requested the window to close. If the observer 100 // The WindowManager has requested the window to close. If the observer
101 // allows the close it should destroy the window as appropriate. 101 // allows the close it should destroy the window as appropriate.
102 virtual void OnRequestClose(Window* window) {} 102 virtual void OnRequestClose(Window* window) {}
103 103
104 protected: 104 protected:
105 virtual ~WindowObserver() {} 105 virtual ~WindowObserver() {}
106 }; 106 };
107 107
108 } // namespace mus 108 } // namespace mus
109 109
110 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_OBSERVER_H_ 110 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_OBSERVER_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window_manager_delegate.h ('k') | services/ui/public/cpp/window_property.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698