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

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

Issue 790623003: Restructure public side of view_manager service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: BUILD.gn file reorderings 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_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_DELEGATE_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_
6 #define MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_DELEGATE_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "mojo/public/interfaces/application/service_provider.mojom.h" 9 #include "mojo/public/interfaces/application/service_provider.mojom.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 12
13 class ServiceProviderImpl; 13 class ServiceProviderImpl;
14 class View; 14 class View;
15 class ViewManager; 15 class ViewManager;
16 16
(...skipping 22 matching lines...) Expand all
39 // Called when a connection to the view manager service is closed. 39 // Called when a connection to the view manager service is closed.
40 // |view_manager| is not valid after this function returns. 40 // |view_manager| is not valid after this function returns.
41 virtual void OnViewManagerDisconnected(ViewManager* view_manager) = 0; 41 virtual void OnViewManagerDisconnected(ViewManager* view_manager) = 0;
42 42
43 protected: 43 protected:
44 virtual ~ViewManagerDelegate() {} 44 virtual ~ViewManagerDelegate() {}
45 }; 45 };
46 46
47 } // namespace mojo 47 } // namespace mojo
48 48
49 #endif // MOJO_SERVICES_PUBLIC_CPP_VIEW_MANAGER_VIEW_MANAGER_DELEGATE_H_ 49 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/public/cpp/view_manager_context.h ('k') | mojo/services/view_manager/public/cpp/view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698