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

Side by Side Diff: content/public/browser/render_frame_host.h

Issue 2692023002: Make PaymentRequestImpl work with RenderFrameHost (Closed)
Patch Set: Address review comment Created 3 years, 9 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
« no previous file with comments | « content/public/android/javatests/src/org/chromium/content/browser/webcontents/WebContentsTest.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 int max_length) = 0; 217 int max_length) = 0;
218 218
219 // Tell the render frame to enable a set of javascript bindings. The argument 219 // Tell the render frame to enable a set of javascript bindings. The argument
220 // should be a combination of values from BindingsPolicy. 220 // should be a combination of values from BindingsPolicy.
221 virtual void AllowBindings(int binding_flags) = 0; 221 virtual void AllowBindings(int binding_flags) = 0;
222 222
223 // Returns a bitwise OR of bindings types that have been enabled for this 223 // Returns a bitwise OR of bindings types that have been enabled for this
224 // RenderFrame. See BindingsPolicy for details. 224 // RenderFrame. See BindingsPolicy for details.
225 virtual int GetEnabledBindings() const = 0; 225 virtual int GetEnabledBindings() const = 0;
226 226
227 #if defined(OS_ANDROID)
228 // Returns an InterfaceProvider for Java-implemented interfaces that are
229 // scoped to this RenderFrameHost. This provides access to interfaces
230 // implemented in Java in the browser process to C++ code in the browser
231 // process.
232 virtual service_manager::InterfaceProvider* GetJavaInterfaces() = 0;
233 #endif // OS_ANDROID
234
227 private: 235 private:
228 // This interface should only be implemented inside content. 236 // This interface should only be implemented inside content.
229 friend class RenderFrameHostImpl; 237 friend class RenderFrameHostImpl;
230 RenderFrameHost() {} 238 RenderFrameHost() {}
231 }; 239 };
232 240
233 } // namespace content 241 } // namespace content
234 242
235 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 243 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/public/android/javatests/src/org/chromium/content/browser/webcontents/WebContentsTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698