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

Unified Diff: chrome/browser/extensions/extension_install_prompt.cc

Issue 1496033003: Make the webstore inline install dialog be tab-modal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/extension_install_prompt.cc
diff --git a/chrome/browser/extensions/extension_install_prompt.cc b/chrome/browser/extensions/extension_install_prompt.cc
index 9a90a37a8121499141040c9d8b9b96e33f35a7ee..e5ede17cbf313e06cdd4963404a428ef8c0354e0 100644
--- a/chrome/browser/extensions/extension_install_prompt.cc
+++ b/chrome/browser/extensions/extension_install_prompt.cc
@@ -407,6 +407,10 @@ bool ExtensionInstallPrompt::Prompt::ShouldShowPermissions() const {
type_ == POST_INSTALL_PERMISSIONS_PROMPT;
}
+bool ExtensionInstallPrompt::Prompt::ShouldUseTabModalDialog() const {
Devlin 2015/12/04 21:53:06 Maybe a comment explaining the reasoning?
asargent_no_longer_on_chrome 2015/12/07 19:25:53 Done.
+ return type_ == INLINE_INSTALL_PROMPT;
+}
+
void ExtensionInstallPrompt::Prompt::AppendRatingStars(
StarAppender appender, void* data) const {
CHECK(appender);

Powered by Google App Engine
This is Rietveld 408576698