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

Unified Diff: chrome/renderer/searchbox/searchbox_extension.h

Issue 2923433002: Move ExecuteScript method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Tweaked a comment in WebViewPlugin::WebViewHelper::main_frame [as suggested in CR feedback] Created 3 years, 6 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
Index: chrome/renderer/searchbox/searchbox_extension.h
diff --git a/chrome/renderer/searchbox/searchbox_extension.h b/chrome/renderer/searchbox/searchbox_extension.h
index 3f86ca02b25ceaf51b7b75f2da6a532c2cf398ee..87c38f2142109d3991b6bf1e95726d5bff262025 100644
--- a/chrome/renderer/searchbox/searchbox_extension.h
+++ b/chrome/renderer/searchbox/searchbox_extension.h
@@ -13,7 +13,7 @@ class Extension;
}
namespace blink {
-class WebFrame;
+class WebLocalFrame;
}
namespace extensions_v8 {
@@ -27,19 +27,19 @@ class SearchBoxExtension {
static v8::Extension* Get();
// Helpers to dispatch Javascript events.
- static void DispatchChromeIdentityCheckResult(blink::WebFrame* frame,
+ static void DispatchChromeIdentityCheckResult(blink::WebLocalFrame* frame,
const base::string16& identity,
bool identity_match);
- static void DispatchFocusChange(blink::WebFrame* frame);
- static void DispatchHistorySyncCheckResult(blink::WebFrame* frame,
+ static void DispatchFocusChange(blink::WebLocalFrame* frame);
+ static void DispatchHistorySyncCheckResult(blink::WebLocalFrame* frame,
bool sync_history);
- static void DispatchInputCancel(blink::WebFrame* frame);
- static void DispatchInputStart(blink::WebFrame* frame);
- static void DispatchKeyCaptureChange(blink::WebFrame* frame);
- static void DispatchMostVisitedChanged(blink::WebFrame* frame);
- static void DispatchSubmit(blink::WebFrame* frame);
- static void DispatchSuggestionChange(blink::WebFrame* frame);
- static void DispatchThemeChange(blink::WebFrame* frame);
+ static void DispatchInputCancel(blink::WebLocalFrame* frame);
+ static void DispatchInputStart(blink::WebLocalFrame* frame);
+ static void DispatchKeyCaptureChange(blink::WebLocalFrame* frame);
+ static void DispatchMostVisitedChanged(blink::WebLocalFrame* frame);
+ static void DispatchSubmit(blink::WebLocalFrame* frame);
+ static void DispatchSuggestionChange(blink::WebLocalFrame* frame);
+ static void DispatchThemeChange(blink::WebLocalFrame* frame);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(SearchBoxExtension);

Powered by Google App Engine
This is Rietveld 408576698