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

Side by Side Diff: extensions/renderer/dispatcher.h

Issue 2892403002: Introduce lock screen app context to extension features (Closed)
Patch Set: . Created 3 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_RENDERER_DISPATCHER_H_ 5 #ifndef EXTENSIONS_RENDERER_DISPATCHER_H_
6 #define EXTENSIONS_RENDERER_DISPATCHER_H_ 6 #define EXTENSIONS_RENDERER_DISPATCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 const std::string& error_message); 166 const std::string& error_message);
167 void OnLoaded( 167 void OnLoaded(
168 const std::vector<ExtensionMsg_Loaded_Params>& loaded_extensions); 168 const std::vector<ExtensionMsg_Loaded_Params>& loaded_extensions);
169 void OnMessageInvoke(const std::string& extension_id, 169 void OnMessageInvoke(const std::string& extension_id,
170 const std::string& module_name, 170 const std::string& module_name,
171 const std::string& function_name, 171 const std::string& function_name,
172 const base::ListValue& args); 172 const base::ListValue& args);
173 void OnDispatchEvent(const ExtensionMsg_DispatchEvent_Params& params, 173 void OnDispatchEvent(const ExtensionMsg_DispatchEvent_Params& params,
174 const base::ListValue& event_args); 174 const base::ListValue& event_args);
175 void OnSetSessionInfo(version_info::Channel channel, 175 void OnSetSessionInfo(version_info::Channel channel,
176 FeatureSessionType session_type); 176 FeatureSessionType session_type,
177 bool lock_screen_context);
177 void OnSetScriptingWhitelist( 178 void OnSetScriptingWhitelist(
178 const ExtensionsClient::ScriptingWhitelist& extension_ids); 179 const ExtensionsClient::ScriptingWhitelist& extension_ids);
179 void OnSetSystemFont(const std::string& font_family, 180 void OnSetSystemFont(const std::string& font_family,
180 const std::string& font_size); 181 const std::string& font_size);
181 void OnSetWebViewPartitionID(const std::string& partition_id); 182 void OnSetWebViewPartitionID(const std::string& partition_id);
182 void OnShouldSuspend(const std::string& extension_id, uint64_t sequence_id); 183 void OnShouldSuspend(const std::string& extension_id, uint64_t sequence_id);
183 void OnSuspend(const std::string& extension_id); 184 void OnSuspend(const std::string& extension_id);
184 void OnTransferBlobs(const std::vector<std::string>& blob_uuids); 185 void OnTransferBlobs(const std::vector<std::string>& blob_uuids);
185 void OnUnloaded(const std::string& id); 186 void OnUnloaded(const std::string& id);
186 void OnUpdatePermissions(const ExtensionMsg_UpdatePermissions_Params& params); 187 void OnUpdatePermissions(const ExtensionMsg_UpdatePermissions_Params& params);
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 // if this renderer is a WebView guest render process. Otherwise, this will be 293 // if this renderer is a WebView guest render process. Otherwise, this will be
293 // empty. 294 // empty.
294 std::string webview_partition_id_; 295 std::string webview_partition_id_;
295 296
296 DISALLOW_COPY_AND_ASSIGN(Dispatcher); 297 DISALLOW_COPY_AND_ASSIGN(Dispatcher);
297 }; 298 };
298 299
299 } // namespace extensions 300 } // namespace extensions
300 301
301 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_ 302 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_
OLDNEW
« no previous file with comments | « extensions/common/features/simple_feature_unittest.cc ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698