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

Unified Diff: chrome/browser/extensions/crx_installer.h

Issue 7677032: ntp4: make app-install-via-drag less janky (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more test fixes Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/crx_installer.h
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h
index 1db81048c31b0987d3ef49292d257b2a8fb058ad..52d6248cc38e8b69d548b1c89ec3aaa45eaf4d4a 100644
--- a/chrome/browser/extensions/crx_installer.h
+++ b/chrome/browser/extensions/crx_installer.h
@@ -153,6 +153,10 @@ class CrxInstaller
install_cause_ = install_cause;
}
+ void set_page_index(int page_index) {
+ page_index_ = page_index;
+ }
+
private:
friend class ExtensionUpdaterTest;
@@ -239,6 +243,9 @@ class CrxInstaller
// ExtensionService on success, or delete it on failure.
scoped_refptr<const Extension> extension_;
+ // The index of the NTP apps page |extension_| will be shown on.
+ int page_index_;
+
// A parsed copy of the unmodified original manifest, before any
// transformations like localization have taken place.
scoped_ptr<base::DictionaryValue> original_manifest_;
« no previous file with comments | « no previous file | chrome/browser/extensions/crx_installer.cc » ('j') | chrome/browser/extensions/extension_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698