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

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 10917225: Browser Plugin: Reload and Stop operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments + merged with ToT/latest patch Created 8 years, 3 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: content/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index 29f9b6dc55798dafa0286f5266877d4e6bdaa855..ebcd60c1090e18d497ccbebd24900aa39e3d5e32 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -58,6 +58,11 @@ class CONTENT_EXPORT BrowserPlugin :
bool RemoveEventListener(const std::string& event_name,
v8::Local<v8::Function> function);
+ // A request from javascript has been made to stop the loading of the page.
+ void Stop();
+ // A request from javascript has been made to reload the page.
+ void Reload();
+
// WebKit::WebPlugin implementation.
virtual WebKit::WebPluginContainer* container() const OVERRIDE;
virtual bool initialize(WebKit::WebPluginContainer* container) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698