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

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

Issue 1391243003: Move //mojo/services/X/public/... to //mojo/services/X/... (part 4). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_3-x-no_public_2-x-no_public_1
Patch Set: copyright header Created 5 years, 2 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 MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_CPP_VIEW_MANAGER_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_CPP_VIEW_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "view_manager/public/cpp/types.h" 10 #include "view_manager/cpp/types.h"
11 11
12 namespace mojo { 12 namespace mojo {
13 class View; 13 class View;
14 14
15 // Encapsulates a connection to the view manager service. A unique connection 15 // Encapsulates a connection to the view manager service. A unique connection
16 // is made every time an app is embedded. 16 // is made every time an app is embedded.
17 class ViewManager { 17 class ViewManager {
18 public: 18 public:
19 // Returns the URL of the application that embedded this application. 19 // Returns the URL of the application that embedded this application.
20 virtual const std::string& GetEmbedderURL() const = 0; 20 virtual const std::string& GetEmbedderURL() const = 0;
(...skipping 11 matching lines...) Expand all
32 // Creates and returns a new View (which is owned by the ViewManager). Views 32 // Creates and returns a new View (which is owned by the ViewManager). Views
33 // are initially hidden, use SetVisible(true) to show. 33 // are initially hidden, use SetVisible(true) to show.
34 virtual View* CreateView() = 0; 34 virtual View* CreateView() = 0;
35 35
36 protected: 36 protected:
37 virtual ~ViewManager() {} 37 virtual ~ViewManager() {}
38 }; 38 };
39 39
40 } // namespace mojo 40 } // namespace mojo
41 41
42 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_MANAGER_H_ 42 #endif // MOJO_SERVICES_VIEW_MANAGER_CPP_VIEW_MANAGER_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/cpp/view.h ('k') | mojo/services/view_manager/cpp/view_manager_client_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698