Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: chrome/renderer/render_thread.h

Issue 348071: First half of http://codereview.chromium.org/274014/show... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 16 matching lines...) Expand all
27 class RenderDnsMaster; 27 class RenderDnsMaster;
28 class RendererHistogram; 28 class RendererHistogram;
29 class RendererWebDatabaseObserver; 29 class RendererWebDatabaseObserver;
30 class RendererWebKitClientImpl; 30 class RendererWebKitClientImpl;
31 class SkBitmap; 31 class SkBitmap;
32 class SocketStreamDispatcher; 32 class SocketStreamDispatcher;
33 class UserScriptSlave; 33 class UserScriptSlave;
34 class URLPattern; 34 class URLPattern;
35 35
36 struct RendererPreferences; 36 struct RendererPreferences;
37 struct ViewMsg_DOMStorageEvent_Params;
37 struct WebPreferences; 38 struct WebPreferences;
38 39
39 namespace WebKit { 40 namespace WebKit {
40 class WebStorageEventDispatcher; 41 class WebStorageEventDispatcher;
41 } 42 }
42 43
43 // The RenderThreadBase is the minimal interface that a RenderView/Widget 44 // The RenderThreadBase is the minimal interface that a RenderView/Widget
44 // expects from a render thread. The interface basically abstracts a way to send 45 // expects from a render thread. The interface basically abstracts a way to send
45 // and receive messages. 46 // and receive messages.
46 class RenderThreadBase { 47 class RenderThreadBase {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 void Init(); 145 void Init();
145 146
146 void OnUpdateVisitedLinks(base::SharedMemoryHandle table); 147 void OnUpdateVisitedLinks(base::SharedMemoryHandle table);
147 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints); 148 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints);
148 void OnResetVisitedLinks(); 149 void OnResetVisitedLinks();
149 150
150 void OnUpdateUserScripts(base::SharedMemoryHandle table); 151 void OnUpdateUserScripts(base::SharedMemoryHandle table);
151 void OnSetExtensionFunctionNames(const std::vector<std::string>& names); 152 void OnSetExtensionFunctionNames(const std::vector<std::string>& names);
152 void OnPageActionsUpdated(const std::string& extension_id, 153 void OnPageActionsUpdated(const std::string& extension_id,
153 const std::vector<std::string>& page_actions); 154 const std::vector<std::string>& page_actions);
154 void OnDOMStorageEvent(const string16& key, const NullableString16& old_value, 155 void OnDOMStorageEvent(const ViewMsg_DOMStorageEvent_Params& params);
155 const NullableString16& new_value, const string16& origin,
156 DOMStorageType dom_storage_type);
157 void OnExtensionSetAPIPermissions( 156 void OnExtensionSetAPIPermissions(
158 const std::string& extension_id, 157 const std::string& extension_id,
159 const std::vector<std::string>& permissions); 158 const std::vector<std::string>& permissions);
160 void OnExtensionSetHostPermissions( 159 void OnExtensionSetHostPermissions(
161 const GURL& extension_url, 160 const GURL& extension_url,
162 const std::vector<URLPattern>& permissions); 161 const std::vector<URLPattern>& permissions);
163 void OnExtensionSetL10nMessages( 162 void OnExtensionSetL10nMessages(
164 const std::string& extension_id, 163 const std::string& extension_id,
165 const std::map<std::string, std::string>& l10n_messages); 164 const std::map<std::string, std::string>& l10n_messages);
166 void OnSetNextPageID(int32 next_page_id); 165 void OnSetNextPageID(int32 next_page_id);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // The count of hidden RenderWidgets running through this thread. 229 // The count of hidden RenderWidgets running through this thread.
231 int hidden_widget_count_; 230 int hidden_widget_count_;
232 231
233 // The current value of the idle notification timer delay. 232 // The current value of the idle notification timer delay.
234 double idle_notification_delay_in_s_; 233 double idle_notification_delay_in_s_;
235 234
236 DISALLOW_COPY_AND_ASSIGN(RenderThread); 235 DISALLOW_COPY_AND_ASSIGN(RenderThread);
237 }; 236 };
238 237
239 #endif // CHROME_RENDERER_RENDER_THREAD_H_ 238 #endif // CHROME_RENDERER_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698