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

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

Issue 1121783003: Move navigations with POST or referrer to the shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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_H_ 5 #ifndef COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_H_
6 #define COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_H_ 6 #define COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 View* GetChildById(Id id); 119 View* GetChildById(Id id);
120 120
121 void SetSurfaceId(SurfaceIdPtr id); 121 void SetSurfaceId(SurfaceIdPtr id);
122 122
123 // Focus. 123 // Focus.
124 void SetFocus(); 124 void SetFocus();
125 125
126 // Embedding. See view_manager.mojom for details. 126 // Embedding. See view_manager.mojom for details.
127 void Embed(const String& url); 127 void Embed(const String& url);
128 void Embed(const String& url, 128 void Embed(mojo::URLRequestPtr request,
129 InterfaceRequest<ServiceProvider> services, 129 InterfaceRequest<ServiceProvider> services,
130 ServiceProviderPtr exposed_services); 130 ServiceProviderPtr exposed_services);
131 void Embed(ViewManagerClientPtr client); 131 void Embed(ViewManagerClientPtr client);
132 132
133 protected: 133 protected:
134 // This class is subclassed only by test classes that provide a public ctor. 134 // This class is subclassed only by test classes that provide a public ctor.
135 View(); 135 View();
136 ~View(); 136 ~View();
137 137
138 private: 138 private:
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 }; 201 };
202 202
203 std::map<const void*, Value> prop_map_; 203 std::map<const void*, Value> prop_map_;
204 204
205 MOJO_DISALLOW_COPY_AND_ASSIGN(View); 205 MOJO_DISALLOW_COPY_AND_ASSIGN(View);
206 }; 206 };
207 207
208 } // namespace mojo 208 } // namespace mojo
209 209
210 #endif // COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_H_ 210 #endif // COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_H_
OLDNEW
« no previous file with comments | « components/view_manager/public/cpp/lib/view_manager_init.cc ('k') | components/view_manager/public/cpp/view_manager_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698