| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 void SetCacheMode(bool enabled); | 147 void SetCacheMode(bool enabled); |
| 148 | 148 |
| 149 private: | 149 private: |
| 150 virtual void OnControlMessageReceived(const IPC::Message& msg); | 150 virtual void OnControlMessageReceived(const IPC::Message& msg); |
| 151 | 151 |
| 152 void Init(); | 152 void Init(); |
| 153 | 153 |
| 154 void OnUpdateVisitedLinks(base::SharedMemoryHandle table); | 154 void OnUpdateVisitedLinks(base::SharedMemoryHandle table); |
| 155 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints); | 155 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints); |
| 156 void OnResetVisitedLinks(); | 156 void OnResetVisitedLinks(); |
| 157 | 157 void OnSetZoomLevelForCurrentHost(const std::string& host, int zoom_level); |
| 158 void OnUpdateUserScripts(base::SharedMemoryHandle table); | 158 void OnUpdateUserScripts(base::SharedMemoryHandle table); |
| 159 void OnSetExtensionFunctionNames(const std::vector<std::string>& names); | 159 void OnSetExtensionFunctionNames(const std::vector<std::string>& names); |
| 160 void OnPageActionsUpdated(const std::string& extension_id, | 160 void OnPageActionsUpdated(const std::string& extension_id, |
| 161 const std::vector<std::string>& page_actions); | 161 const std::vector<std::string>& page_actions); |
| 162 void OnDOMStorageEvent(const ViewMsg_DOMStorageEvent_Params& params); | 162 void OnDOMStorageEvent(const ViewMsg_DOMStorageEvent_Params& params); |
| 163 void OnExtensionSetAPIPermissions( | 163 void OnExtensionSetAPIPermissions( |
| 164 const std::string& extension_id, | 164 const std::string& extension_id, |
| 165 const std::vector<std::string>& permissions); | 165 const std::vector<std::string>& permissions); |
| 166 void OnExtensionSetHostPermissions( | 166 void OnExtensionSetHostPermissions( |
| 167 const GURL& extension_url, | 167 const GURL& extension_url, |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 // The count of hidden RenderWidgets running through this thread. | 245 // The count of hidden RenderWidgets running through this thread. |
| 246 int hidden_widget_count_; | 246 int hidden_widget_count_; |
| 247 | 247 |
| 248 // The current value of the idle notification timer delay. | 248 // The current value of the idle notification timer delay. |
| 249 double idle_notification_delay_in_s_; | 249 double idle_notification_delay_in_s_; |
| 250 | 250 |
| 251 DISALLOW_COPY_AND_ASSIGN(RenderThread); | 251 DISALLOW_COPY_AND_ASSIGN(RenderThread); |
| 252 }; | 252 }; |
| 253 | 253 |
| 254 #endif // CHROME_RENDERER_RENDER_THREAD_H_ | 254 #endif // CHROME_RENDERER_RENDER_THREAD_H_ |
| OLD | NEW |