| Index: chrome/renderer/render_thread.h
|
| ===================================================================
|
| --- chrome/renderer/render_thread.h (revision 27849)
|
| +++ chrome/renderer/render_thread.h (working copy)
|
| @@ -14,6 +14,7 @@
|
| #include "build/build_config.h"
|
| #include "chrome/common/child_thread.h"
|
| #include "chrome/common/css_colors.h"
|
| +#include "chrome/common/dom_storage_type.h"
|
| #include "chrome/renderer/renderer_histogram_snapshots.h"
|
| #include "chrome/renderer/visitedlink_slave.h"
|
|
|
| @@ -22,6 +23,7 @@
|
| class DevToolsAgentFilter;
|
| class FilePath;
|
| class ListValue;
|
| +class NullableString16;
|
| class RenderDnsMaster;
|
| class RendererHistogram;
|
| class RendererWebKitClientImpl;
|
| @@ -32,6 +34,10 @@
|
| struct RendererPreferences;
|
| struct WebPreferences;
|
|
|
| +namespace WebKit {
|
| +class WebStorageEventDispatcher;
|
| +}
|
| +
|
| // The RenderThreadBase is the minimal interface that a RenderView/Widget
|
| // expects from a render thread. The interface basically abstracts a way to send
|
| // and receive messages.
|
| @@ -138,7 +144,10 @@
|
| void OnUpdateUserScripts(base::SharedMemoryHandle table);
|
| void OnSetExtensionFunctionNames(const std::vector<std::string>& names);
|
| void OnPageActionsUpdated(const std::string& extension_id,
|
| - const std::vector<std::string>& page_actions);
|
| + const std::vector<std::string>& page_actions);
|
| + void OnDOMStorageEvent(const string16& key, const NullableString16& old_value,
|
| + const NullableString16& new_value, const string16& origin,
|
| + DOMStorageType dom_storage_type);
|
| void OnExtensionSetAPIPermissions(
|
| const std::string& extension_id,
|
| const std::vector<std::string>& permissions);
|
| @@ -187,6 +196,7 @@
|
| scoped_refptr<DevToolsAgentFilter> devtools_agent_filter_;
|
| scoped_ptr<RendererHistogramSnapshots> histogram_snapshots_;
|
| scoped_ptr<RendererWebKitClientImpl> webkit_client_;
|
| + scoped_ptr<WebKit::WebStorageEventDispatcher> dom_storage_event_dispatcher_;
|
|
|
| scoped_refptr<DBMessageFilter> db_message_filter_;
|
|
|
|
|