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

Unified Diff: chrome/renderer/extensions/extension_dispatcher.h

Issue 8542001: Insert default stylesheet for platform apps. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/extensions/extension_dispatcher.h
diff --git a/chrome/renderer/extensions/extension_dispatcher.h b/chrome/renderer/extensions/extension_dispatcher.h
index 1dc917f8e48e8d308fca58a3a5563e288df77b07..ea8677c4617b27d782a37ec32a945627b582c108 100644
--- a/chrome/renderer/extensions/extension_dispatcher.h
+++ b/chrome/renderer/extensions/extension_dispatcher.h
@@ -100,6 +100,8 @@ class ExtensionDispatcher : public content::RenderProcessObserver {
void OnDeliverMessage(int target_port_id, const std::string& message);
void OnSetFunctionNames(const std::vector<std::string>& names);
void OnLoaded(const ExtensionMsg_Loaded_Params& params);
+ void OnStartBatchLoad();
+ void OnEndBatchLoad();
void OnUnloaded(const std::string& id);
void OnSetScriptingWhitelist(
const Extension::ScriptingWhitelist& extension_ids);
@@ -172,6 +174,12 @@ class ExtensionDispatcher : public content::RenderProcessObserver {
bool webrequest_adblock_plus_;
bool webrequest_other_;
+ // Whether we're in the middle of an ExtensionMsg_StartBatchLoad sequence.
+ bool is_batch_load_in_progress_;
+
+ // Extensions needing a platform-app stylesheet.
+ ExtensionSet extensions_needing_stylesheet_;
+
DISALLOW_COPY_AND_ASSIGN(ExtensionDispatcher);
};

Powered by Google App Engine
This is Rietveld 408576698