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

Side by Side Diff: mojo/services/view_manager/public/cpp/lib/view_manager_client_impl.h

Issue 805123003: Adds capture to the mojo window_manager. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sky comments Created 6 years 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 MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 std::string creator_url_; 145 std::string creator_url_;
146 146
147 base::Callback<void(void)> change_acked_callback_; 147 base::Callback<void(void)> change_acked_callback_;
148 148
149 ViewManagerDelegate* delegate_; 149 ViewManagerDelegate* delegate_;
150 150
151 View* root_; 151 View* root_;
152 152
153 IdToViewMap views_; 153 IdToViewMap views_;
154 154
155 View* capture_view_;
155 View* focused_view_; 156 View* focused_view_;
156 View* activated_view_; 157 View* activated_view_;
157 158
158 WindowManagerPtr window_manager_; 159 WindowManagerPtr window_manager_;
159 160
160 Binding<ViewManagerClient> binding_; 161 Binding<ViewManagerClient> binding_;
161 ViewManagerService* service_; 162 ViewManagerService* service_;
162 const bool delete_on_error_; 163 const bool delete_on_error_;
163 164
164 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); 165 DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl);
165 }; 166 };
166 167
167 } // namespace mojo 168 } // namespace mojo
168 169
169 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ 170 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « examples/wm_flow/wm/frame_controller.cc ('k') | mojo/services/view_manager/public/cpp/lib/view_manager_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698