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

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

Issue 1744003: Send content settings based on the URL to the renderer instead of just the host. (Closed)
Patch Set: nits Created 10 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
« 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) 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
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
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_
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