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

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

Issue 164039: Add module-level permissions to extensions. (Closed)
Patch Set: final nits Created 11 years, 4 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
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void Init(); 118 void Init();
119 119
120 void OnUpdateVisitedLinks(base::SharedMemoryHandle table); 120 void OnUpdateVisitedLinks(base::SharedMemoryHandle table);
121 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints); 121 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints);
122 void OnResetVisitedLinks(); 122 void OnResetVisitedLinks();
123 123
124 void OnUpdateUserScripts(base::SharedMemoryHandle table); 124 void OnUpdateUserScripts(base::SharedMemoryHandle table);
125 void OnSetExtensionFunctionNames(const std::vector<std::string>& names); 125 void OnSetExtensionFunctionNames(const std::vector<std::string>& names);
126 void OnPageActionsUpdated(const std::string& extension_id, 126 void OnPageActionsUpdated(const std::string& extension_id,
127 const std::vector<std::string>& page_actions); 127 const std::vector<std::string>& page_actions);
128 void OnExtensionSetPermissions(const std::string& extension_id,
129 const std::vector<std::string>& permissions);
128 void OnSetNextPageID(int32 next_page_id); 130 void OnSetNextPageID(int32 next_page_id);
129 void OnCreateNewView(gfx::NativeViewId parent_hwnd, 131 void OnCreateNewView(gfx::NativeViewId parent_hwnd,
130 ModalDialogEvent modal_dialog_event, 132 ModalDialogEvent modal_dialog_event,
131 const RendererPreferences& renderer_prefs, 133 const RendererPreferences& renderer_prefs,
132 const WebPreferences& webkit_prefs, 134 const WebPreferences& webkit_prefs,
133 int32 view_id); 135 int32 view_id);
134 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 136 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
135 void OnSetCacheCapacities(size_t min_dead_capacity, 137 void OnSetCacheCapacities(size_t min_dead_capacity,
136 size_t max_dead_capacity, 138 size_t max_dead_capacity,
137 size_t capacity); 139 size_t capacity);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 suicide_on_channel_error_filter_; 171 suicide_on_channel_error_filter_;
170 #endif 172 #endif
171 173
172 // If true, then a GetPlugins call is allowed to rescan the disk. 174 // If true, then a GetPlugins call is allowed to rescan the disk.
173 bool plugin_refresh_allowed_; 175 bool plugin_refresh_allowed_;
174 176
175 DISALLOW_COPY_AND_ASSIGN(RenderThread); 177 DISALLOW_COPY_AND_ASSIGN(RenderThread);
176 }; 178 };
177 179
178 #endif // CHROME_RENDERER_RENDER_THREAD_H_ 180 #endif // CHROME_RENDERER_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698