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

Side by Side Diff: mojo/services/view_manager/connection_manager.h

Issue 692693002: Make it possible to change the viewport size (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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_CONNECTION_MANAGER_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 const ServerView* relative, 172 const ServerView* relative,
173 OrderDirection direction) override; 173 OrderDirection direction) override;
174 void OnWillChangeViewVisibility(const ServerView* view) override; 174 void OnWillChangeViewVisibility(const ServerView* view) override;
175 void OnViewPropertyChanged(const ServerView* view, 175 void OnViewPropertyChanged(const ServerView* view,
176 const std::string& name, 176 const std::string& name,
177 const std::vector<uint8_t>* new_data) override; 177 const std::vector<uint8_t>* new_data) override;
178 178
179 // WindowManagerInternalClient: 179 // WindowManagerInternalClient:
180 virtual void DispatchInputEventToView(Id transport_view_id, 180 virtual void DispatchInputEventToView(Id transport_view_id,
181 EventPtr event) override; 181 EventPtr event) override;
182 182
sky 2014/10/30 03:23:57 nit: no empty line here (similar to 174/175 above)
183 virtual void SetViewportSize(SizePtr size) override;
sky 2014/10/30 03:23:57 no virtual (174 has it right, 180 wrong).
184
185
sky 2014/10/30 03:23:57 nit: only one empty line, not two.
183 // InterfaceFactory<ViewManagerService>: 186 // InterfaceFactory<ViewManagerService>:
184 virtual void Create(ApplicationConnection* connection, 187 virtual void Create(ApplicationConnection* connection,
185 InterfaceRequest<ViewManagerService> request) override; 188 InterfaceRequest<ViewManagerService> request) override;
186 189
187 // InterfaceFactory<WindowManagerInternalClient>: 190 // InterfaceFactory<WindowManagerInternalClient>:
188 virtual void Create( 191 virtual void Create(
189 ApplicationConnection* connection, 192 ApplicationConnection* connection,
190 InterfaceRequest<WindowManagerInternalClient> request) override; 193 InterfaceRequest<WindowManagerInternalClient> request) override;
191 194
192 // ErrorHandler: 195 // ErrorHandler:
(...skipping 26 matching lines...) Expand all
219 222
220 bool in_destructor_; 223 bool in_destructor_;
221 224
222 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); 225 DISALLOW_COPY_AND_ASSIGN(ConnectionManager);
223 }; 226 };
224 227
225 } // namespace service 228 } // namespace service
226 } // namespace mojo 229 } // namespace mojo
227 230
228 #endif // MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ 231 #endif // MOJO_SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698