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

Side by Side Diff: mash/simple_wm/simple_wm.h

Issue 2646193002: Replace OnConnect with OnBindInterface in //mash. (Closed)
Patch Set: . Created 3 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 | « mash/session/session.cc ('k') | mash/simple_wm/simple_wm.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_SIMPLE_WM_SIMPLE_WM_H_ 5 #ifndef MASH_SIMPLE_WM_SIMPLE_WM_H_
6 #define MASH_SIMPLE_WM_SIMPLE_WM_H_ 6 #define MASH_SIMPLE_WM_SIMPLE_WM_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 private: 52 private:
53 class DisplayLayoutManager; 53 class DisplayLayoutManager;
54 class FrameView; 54 class FrameView;
55 class WindowListModel; 55 class WindowListModel;
56 class WindowListModelObserver; 56 class WindowListModelObserver;
57 class WindowListView; 57 class WindowListView;
58 class WorkspaceLayoutManager; 58 class WorkspaceLayoutManager;
59 59
60 // service_manager::Service: 60 // service_manager::Service:
61 void OnStart() override; 61 void OnStart() override;
62 bool OnConnect(const service_manager::ServiceInfo& remote_info,
63 service_manager::InterfaceRegistry* registry) override;
64 62
65 // aura::WindowTreeClientDelegate: 63 // aura::WindowTreeClientDelegate:
66 void OnEmbed( 64 void OnEmbed(
67 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override; 65 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override;
68 void OnLostConnection(aura::WindowTreeClient* client) override; 66 void OnLostConnection(aura::WindowTreeClient* client) override;
69 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override; 67 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override;
70 void OnPointerEventObserved(const ui::PointerEvent& event, 68 void OnPointerEventObserved(const ui::PointerEvent& event,
71 aura::Window* target) override; 69 aura::Window* target) override;
72 aura::client::CaptureClient* GetCaptureClient() override; 70 aura::client::CaptureClient* GetCaptureClient() override;
73 aura::PropertyConverter* GetPropertyConverter() override; 71 aura::PropertyConverter* GetPropertyConverter() override;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_; 123 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_;
126 124
127 bool started_ = false; 125 bool started_ = false;
128 126
129 DISALLOW_COPY_AND_ASSIGN(SimpleWM); 127 DISALLOW_COPY_AND_ASSIGN(SimpleWM);
130 }; 128 };
131 129
132 } // namespace simple_wm 130 } // namespace simple_wm
133 131
134 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ 132 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_
OLDNEW
« no previous file with comments | « mash/session/session.cc ('k') | mash/simple_wm/simple_wm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698