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

Unified Diff: chrome/renderer/external_host_bindings.h

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/external_extension.cc ('k') | chrome/renderer/external_host_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/external_host_bindings.h
===================================================================
--- chrome/renderer/external_host_bindings.h (revision 22886)
+++ chrome/renderer/external_host_bindings.h (working copy)
@@ -29,7 +29,8 @@
const std::string& target);
// Overridden to hold onto a pointer back to the web frame.
- void BindToJavascript(WebFrame* frame, const std::wstring& classname) {
+ void BindToJavascript(WebKit::WebFrame* frame,
+ const std::wstring& classname) {
frame_ = frame;
DOMBoundBrowserObject::BindToJavascript(frame, classname);
}
@@ -42,7 +43,7 @@
private:
CppVariant on_message_handler_;
- WebFrame* frame_;
+ WebKit::WebFrame* frame_;
DISALLOW_COPY_AND_ASSIGN(ExternalHostBindings);
};
« no previous file with comments | « chrome/renderer/external_extension.cc ('k') | chrome/renderer/external_host_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698