diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-09 20:37:35 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-09 20:37:35 +0000 |
commit | 0938d3cb82dfd2424117f73573e757424ebede00 (patch) | |
tree | f1d0503af86c6c8bf6be409c1744437384d7cb86 /chrome/renderer/render_thread.h | |
parent | 4f2321dbb2e034601fed172d222a90009e4674a0 (diff) | |
download | chromium_src-0938d3cb82dfd2424117f73573e757424ebede00.zip chromium_src-0938d3cb82dfd2424117f73573e757424ebede00.tar.gz chromium_src-0938d3cb82dfd2424117f73573e757424ebede00.tar.bz2 |
This is a rename of the term 'Greasemonkey' to 'user script' in Chromium.
I'm doing this to avoid confusion with the Firefox version of Greasemonkey and
also because 'user script' is really the correct generic term.
At the same time, I also moved user_script_master* into extensions/ because I want these two pieces to get closer and closer such that standalone user scripts are just a very small extension. Also extensions will be relying on most of the user script code.
Review URL: http://codereview.chromium.org/17281
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7827 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_thread.h')
-rw-r--r-- | chrome/renderer/render_thread.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h index c9dbea4..7884e9f 100644 --- a/chrome/renderer/render_thread.h +++ b/chrome/renderer/render_thread.h @@ -19,7 +19,7 @@ class VisitedLinkSlave; struct WebPreferences; class RenderDnsMaster; class NotificationService; -class GreasemonkeySlave; +class UserScriptSlave; // The RenderThreadBase is the minimal interface that a RenderView/Widget // expects from a render thread. The interface basically abstracts a way to send @@ -70,8 +70,8 @@ class RenderThread : public IPC::Channel::Listener, // Gets the VisitedLinkSlave instance for this thread VisitedLinkSlave* visited_link_slave() const { return visited_link_slave_; } - // Gets the GreasemonkeySlave instance for this thread - GreasemonkeySlave* greasemonkey_slave() const { return greasemonkey_slave_; } + // Gets the UserScriptSlave instance for this thread + UserScriptSlave* user_script_slave() const { return user_script_slave_; } // Do DNS prefetch resolution of a hostname. void Resolve(const char* name, size_t length); @@ -96,7 +96,7 @@ class RenderThread : public IPC::Channel::Listener, private: void OnUpdateVisitedLinks(base::SharedMemoryHandle table); - void OnUpdateGreasemonkeyScripts(base::SharedMemoryHandle table); + void OnUpdateUserScripts(base::SharedMemoryHandle table); void OnPluginMessage(const FilePath& plugin_path, const std::vector<uint8>& data); @@ -128,7 +128,7 @@ class RenderThread : public IPC::Channel::Listener, // These objects live solely on the render thread. VisitedLinkSlave* visited_link_slave_; - GreasemonkeySlave* greasemonkey_slave_; + UserScriptSlave* user_script_slave_; scoped_ptr<RenderDnsMaster> render_dns_master_; |