| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_RENDERER_RENDER_THREAD_H_ | 5 #ifndef CHROME_RENDERER_RENDER_THREAD_H_ |
| 6 #define CHROME_RENDERER_RENDER_THREAD_H_ | 6 #define CHROME_RENDERER_RENDER_THREAD_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 ExtensionExtent web_extent; | 202 ExtensionExtent web_extent; |
| 203 }; | 203 }; |
| 204 | 204 |
| 205 virtual void OnControlMessageReceived(const IPC::Message& msg); | 205 virtual void OnControlMessageReceived(const IPC::Message& msg); |
| 206 | 206 |
| 207 void Init(); | 207 void Init(); |
| 208 | 208 |
| 209 void OnUpdateVisitedLinks(base::SharedMemoryHandle table); | 209 void OnUpdateVisitedLinks(base::SharedMemoryHandle table); |
| 210 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints); | 210 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints); |
| 211 void OnResetVisitedLinks(); | 211 void OnResetVisitedLinks(); |
| 212 void OnSetZoomLevelForCurrentHost(const std::string& host, int zoom_level); | 212 void OnSetZoomLevelForCurrentURL(const GURL& url, int zoom_level); |
| 213 void OnSetContentSettingsForCurrentURL( | 213 void OnSetContentSettingsForCurrentURL( |
| 214 const GURL& url, const ContentSettings& content_settings); | 214 const GURL& url, const ContentSettings& content_settings); |
| 215 void OnUpdateUserScripts(base::SharedMemoryHandle table); | 215 void OnUpdateUserScripts(base::SharedMemoryHandle table); |
| 216 void OnSetExtensionFunctionNames(const std::vector<std::string>& names); | 216 void OnSetExtensionFunctionNames(const std::vector<std::string>& names); |
| 217 void OnExtensionExtentsUpdated( | 217 void OnExtensionExtentsUpdated( |
| 218 const ViewMsg_ExtensionExtentsUpdated_Params& params); | 218 const ViewMsg_ExtensionExtentsUpdated_Params& params); |
| 219 void OnPageActionsUpdated(const std::string& extension_id, | 219 void OnPageActionsUpdated(const std::string& extension_id, |
| 220 const std::vector<std::string>& page_actions); | 220 const std::vector<std::string>& page_actions); |
| 221 void OnDOMStorageEvent(const ViewMsg_DOMStorageEvent_Params& params); | 221 void OnDOMStorageEvent(const ViewMsg_DOMStorageEvent_Params& params); |
| 222 void OnExtensionSetAPIPermissions( | 222 void OnExtensionSetAPIPermissions( |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 scoped_refptr<GpuChannelHost> gpu_channel_; | 333 scoped_refptr<GpuChannelHost> gpu_channel_; |
| 334 | 334 |
| 335 // A list of extension web extents, which tells us which URLs belong to an | 335 // A list of extension web extents, which tells us which URLs belong to an |
| 336 // installed app. | 336 // installed app. |
| 337 std::vector<ExtensionInfo> extension_extents_; | 337 std::vector<ExtensionInfo> extension_extents_; |
| 338 | 338 |
| 339 DISALLOW_COPY_AND_ASSIGN(RenderThread); | 339 DISALLOW_COPY_AND_ASSIGN(RenderThread); |
| 340 }; | 340 }; |
| 341 | 341 |
| 342 #endif // CHROME_RENDERER_RENDER_THREAD_H_ | 342 #endif // CHROME_RENDERER_RENDER_THREAD_H_ |
| OLD | NEW |