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

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

Issue 858103002: Remove [Client=] annotation from ServiceProvider (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase for trybots (no code changes from ps2) Created 5 years, 11 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_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 View* GetChildById(Id id); 118 View* GetChildById(Id id);
119 119
120 void SetSurfaceId(SurfaceIdPtr id); 120 void SetSurfaceId(SurfaceIdPtr id);
121 121
122 // Focus. 122 // Focus.
123 void SetFocus(); 123 void SetFocus();
124 124
125 // Embedding. 125 // Embedding.
126 void Embed(const String& url); 126 void Embed(const String& url);
127 scoped_ptr<ServiceProvider> Embed(
128 const String& url,
129 scoped_ptr<ServiceProviderImpl> exported_services);
130 void Embed(const String& url, 127 void Embed(const String& url,
131 InterfaceRequest<ServiceProvider> service_provider); 128 InterfaceRequest<ServiceProvider> services,
129 ServiceProviderPtr exposed_services);
132 130
133 protected: 131 protected:
134 // This class is subclassed only by test classes that provide a public ctor. 132 // This class is subclassed only by test classes that provide a public ctor.
135 View(); 133 View();
136 ~View(); 134 ~View();
137 135
138 private: 136 private:
139 friend class ViewPrivate; 137 friend class ViewPrivate;
140 friend class ViewManagerClientImpl; 138 friend class ViewManagerClientImpl;
141 139
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 }; 195 };
198 196
199 std::map<const void*, Value> prop_map_; 197 std::map<const void*, Value> prop_map_;
200 198
201 DISALLOW_COPY_AND_ASSIGN(View); 199 DISALLOW_COPY_AND_ASSIGN(View);
202 }; 200 };
203 201
204 } // namespace mojo 202 } // namespace mojo
205 203
206 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_H_ 204 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698