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

Side by Side Diff: components/view_manager/public/cpp/view_manager_delegate.h

Issue 1139123006: Fork the mojo shell interfaces used by Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years, 7 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
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 COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_ 5 #ifndef COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_
6 #define COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_ 6 #define COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "third_party/mojo/src/mojo/public/interfaces/application/service_provid er.mojom.h" 10 #include "mojo/application/public/interfaces/service_provider.mojom.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 13
14 class View; 14 class View;
15 class ViewManager; 15 class ViewManager;
16 16
17 // Interface implemented by an application using the view manager. 17 // Interface implemented by an application using the view manager.
18 class ViewManagerDelegate { 18 class ViewManagerDelegate {
19 public: 19 public:
20 // Called when the application implementing this interface is embedded at 20 // Called when the application implementing this interface is embedded at
(...skipping 18 matching lines...) Expand all
39 // |view_manager| is not valid after this function returns. 39 // |view_manager| is not valid after this function returns.
40 virtual void OnViewManagerDisconnected(ViewManager* view_manager) = 0; 40 virtual void OnViewManagerDisconnected(ViewManager* view_manager) = 0;
41 41
42 protected: 42 protected:
43 virtual ~ViewManagerDelegate() {} 43 virtual ~ViewManagerDelegate() {}
44 }; 44 };
45 45
46 } // namespace mojo 46 } // namespace mojo
47 47
48 #endif // COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_ 48 #endif // COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698