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

Side by Side Diff: mash/wm/window_manager_application.h

Issue 1719193003: Add a user id parameter to connections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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 | « mash/task_viewer/task_viewer.cc ('k') | mash/wm/window_manager_application.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 MASH_WM_WINDOW_MANAGER_APPLICATION_H_ 5 #ifndef MASH_WM_WINDOW_MANAGER_APPLICATION_H_
6 #define MASH_WM_WINDOW_MANAGER_APPLICATION_H_ 6 #define MASH_WM_WINDOW_MANAGER_APPLICATION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void OnAccelerator(uint32_t id, mus::mojom::EventPtr event); 72 void OnAccelerator(uint32_t id, mus::mojom::EventPtr event);
73 73
74 void AddRootWindowsObserver(RootWindowsObserver* observer); 74 void AddRootWindowsObserver(RootWindowsObserver* observer);
75 void RemoveRootWindowsObserver(RootWindowsObserver* observer); 75 void RemoveRootWindowsObserver(RootWindowsObserver* observer);
76 76
77 private: 77 private:
78 void OnAcceleratorRegistrarDestroyed(AcceleratorRegistrarImpl* registrar); 78 void OnAcceleratorRegistrarDestroyed(AcceleratorRegistrarImpl* registrar);
79 79
80 // mojo::ShellClient: 80 // mojo::ShellClient:
81 void Initialize(mojo::Shell* shell, const std::string& url, 81 void Initialize(mojo::Shell* shell, const std::string& url,
82 uint32_t id) override; 82 uint32_t id, uint32_t user_id) override;
83 bool AcceptConnection(mojo::Connection* connection) override; 83 bool AcceptConnection(mojo::Connection* connection) override;
84 84
85 // InterfaceFactory<mash::wm::mojom::UserWindowController>: 85 // InterfaceFactory<mash::wm::mojom::UserWindowController>:
86 void Create(mojo::Connection* connection, 86 void Create(mojo::Connection* connection,
87 mojo::InterfaceRequest<mash::wm::mojom::UserWindowController> 87 mojo::InterfaceRequest<mash::wm::mojom::UserWindowController>
88 request) override; 88 request) override;
89 89
90 // InterfaceFactory<mus::mojom::AcceleratorRegistrar>: 90 // InterfaceFactory<mus::mojom::AcceleratorRegistrar>:
91 void Create(mojo::Connection* connection, 91 void Create(mojo::Connection* connection,
92 mojo::InterfaceRequest<mus::mojom::AcceleratorRegistrar> request) 92 mojo::InterfaceRequest<mus::mojom::AcceleratorRegistrar> request)
(...skipping 28 matching lines...) Expand all
121 121
122 base::ObserverList<RootWindowsObserver> root_windows_observers_; 122 base::ObserverList<RootWindowsObserver> root_windows_observers_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication); 124 DISALLOW_COPY_AND_ASSIGN(WindowManagerApplication);
125 }; 125 };
126 126
127 } // namespace wm 127 } // namespace wm
128 } // namespace mash 128 } // namespace mash
129 129
130 #endif // MASH_WM_WINDOW_MANAGER_APPLICATION_H_ 130 #endif // MASH_WM_WINDOW_MANAGER_APPLICATION_H_
OLDNEW
« no previous file with comments | « mash/task_viewer/task_viewer.cc ('k') | mash/wm/window_manager_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698