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

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

Issue 6735004: Move extension messages to their own file and add a RenderViewObserver to start moving the extens... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months 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/renderer/mock_render_thread.cc ('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) 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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 28 matching lines...) Expand all
39 class SpellCheck; 39 class SpellCheck;
40 class SkBitmap; 40 class SkBitmap;
41 class UserScriptSlave; 41 class UserScriptSlave;
42 class URLPattern; 42 class URLPattern;
43 class WebDatabaseObserverImpl; 43 class WebDatabaseObserverImpl;
44 44
45 struct ContentSettings; 45 struct ContentSettings;
46 struct RendererPreferences; 46 struct RendererPreferences;
47 struct DOMStorageMsg_Event_Params; 47 struct DOMStorageMsg_Event_Params;
48 struct GPUInfo; 48 struct GPUInfo;
49 struct ViewMsg_ExtensionLoaded_Params; 49 struct ExtensionMsg_Loaded_Params;
50 struct ViewMsg_New_Params; 50 struct ViewMsg_New_Params;
51 struct WebPreferences; 51 struct WebPreferences;
52 52
53 namespace base { 53 namespace base {
54 class MessageLoopProxy; 54 class MessageLoopProxy;
55 class Thread; 55 class Thread;
56 } 56 }
57 57
58 namespace IPC { 58 namespace IPC {
59 struct ChannelHandle; 59 struct ChannelHandle;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 void Init(); 265 void Init();
266 266
267 void OnUpdateVisitedLinks(base::SharedMemoryHandle table); 267 void OnUpdateVisitedLinks(base::SharedMemoryHandle table);
268 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints); 268 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints);
269 void OnResetVisitedLinks(); 269 void OnResetVisitedLinks();
270 void OnSetZoomLevelForCurrentURL(const GURL& url, double zoom_level); 270 void OnSetZoomLevelForCurrentURL(const GURL& url, double zoom_level);
271 void OnSetContentSettingsForCurrentURL( 271 void OnSetContentSettingsForCurrentURL(
272 const GURL& url, const ContentSettings& content_settings); 272 const GURL& url, const ContentSettings& content_settings);
273 void OnUpdateUserScripts(base::SharedMemoryHandle table); 273 void OnUpdateUserScripts(base::SharedMemoryHandle table);
274 void OnSetExtensionFunctionNames(const std::vector<std::string>& names); 274 void OnSetExtensionFunctionNames(const std::vector<std::string>& names);
275 void OnExtensionLoaded(const ViewMsg_ExtensionLoaded_Params& params); 275 void OnExtensionLoaded(const ExtensionMsg_Loaded_Params& params);
276 void OnExtensionUnloaded(const std::string& id); 276 void OnExtensionUnloaded(const std::string& id);
277 void OnSetExtensionScriptingWhitelist( 277 void OnSetExtensionScriptingWhitelist(
278 const Extension::ScriptingWhitelist& extension_ids); 278 const Extension::ScriptingWhitelist& extension_ids);
279 void OnPageActionsUpdated(const std::string& extension_id, 279 void OnPageActionsUpdated(const std::string& extension_id,
280 const std::vector<std::string>& page_actions); 280 const std::vector<std::string>& page_actions);
281 void OnDOMStorageEvent(const DOMStorageMsg_Event_Params& params); 281 void OnDOMStorageEvent(const DOMStorageMsg_Event_Params& params);
282 void OnExtensionSetAPIPermissions( 282 void OnExtensionSetAPIPermissions(
283 const std::string& extension_id, 283 const std::string& extension_id,
284 const std::set<std::string>& permissions); 284 const std::set<std::string>& permissions);
285 void OnExtensionSetHostPermissions( 285 void OnExtensionSetHostPermissions(
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 410
411 // Contains all loaded extensions. 411 // Contains all loaded extensions.
412 ExtensionSet extensions_; 412 ExtensionSet extensions_;
413 413
414 chrome::ChromeContentRendererClient renderer_client_; 414 chrome::ChromeContentRendererClient renderer_client_;
415 415
416 DISALLOW_COPY_AND_ASSIGN(RenderThread); 416 DISALLOW_COPY_AND_ASSIGN(RenderThread);
417 }; 417 };
418 418
419 #endif // CHROME_RENDERER_RENDER_THREAD_H_ 419 #endif // CHROME_RENDERER_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/renderer/mock_render_thread.cc ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698