summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/user_script_idle_scheduler.h
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-08 18:44:55 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-08 18:44:55 +0000
commitb6ad7bab7995831a30872cf7016b8bad2289c9aa (patch)
tree38709c41d262cd23e595f26abb5543541bcf63e6 /chrome/renderer/user_script_idle_scheduler.h
parent4e2f4eeebadeaf3c8577db2460366a608b2ebe04 (diff)
downloadchromium_src-b6ad7bab7995831a30872cf7016b8bad2289c9aa.zip
chromium_src-b6ad7bab7995831a30872cf7016b8bad2289c9aa.tar.gz
chromium_src-b6ad7bab7995831a30872cf7016b8bad2289c9aa.tar.bz2
Make sure chrome.tab.executeScript runs in fragment-navigated frames.
BUG=29541 TEST=Install a test extension that has a browser action that uses executeScript when you click on it to do something in the current tab like call alert (the bug report has one). Then: 1) navigate to any site like http://www.google.com/ 2) Add #foo to the end of url and hit enter. 3) Hit browser action button. 4) You should see the results. Review URL: http://codereview.chromium.org/566041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/user_script_idle_scheduler.h')
-rw-r--r--chrome/renderer/user_script_idle_scheduler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/user_script_idle_scheduler.h b/chrome/renderer/user_script_idle_scheduler.h
index 772d652..d4825a5 100644
--- a/chrome/renderer/user_script_idle_scheduler.h
+++ b/chrome/renderer/user_script_idle_scheduler.h
@@ -35,6 +35,9 @@ class UserScriptIdleScheduler {
// Called when the document has completed loading.
void DidFinishLoad();
+ // Called when the document has navigated to a fragment.
+ void DidChangeLocationWithinPage();
+
// Called when the client has gone away and we should no longer run scripts.
void Cancel();