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

Side by Side Diff: chrome/browser/extensions/extension_install_prompt.h

Issue 816223008: Update UI for WebStore bundle installs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bundles_api
Patch Set: style fix Created 5 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 extensions::ExtensionInstallUI* install_ui() const { 310 extensions::ExtensionInstallUI* install_ui() const {
311 return install_ui_.get(); 311 return install_ui_.get();
312 } 312 }
313 313
314 // This is called by the bundle installer to verify whether the bundle 314 // This is called by the bundle installer to verify whether the bundle
315 // should be installed. 315 // should be installed.
316 // 316 //
317 // We *MUST* eventually call either Proceed() or Abort() on |delegate|. 317 // We *MUST* eventually call either Proceed() or Abort() on |delegate|.
318 virtual void ConfirmBundleInstall( 318 virtual void ConfirmBundleInstall(
319 extensions::BundleInstaller* bundle, 319 extensions::BundleInstaller* bundle,
320 const SkBitmap* icon,
320 const extensions::PermissionSet* permissions); 321 const extensions::PermissionSet* permissions);
321 322
322 // This is called by the standalone installer to verify whether the install 323 // This is called by the standalone installer to verify whether the install
323 // from the webstore should proceed. 324 // from the webstore should proceed.
324 // 325 //
325 // We *MUST* eventually call either Proceed() or Abort() on |delegate|. 326 // We *MUST* eventually call either Proceed() or Abort() on |delegate|.
326 virtual void ConfirmStandaloneInstall(Delegate* delegate, 327 virtual void ConfirmStandaloneInstall(Delegate* delegate,
327 const extensions::Extension* extension, 328 const extensions::Extension* extension,
328 SkBitmap* icon, 329 SkBitmap* icon,
329 scoped_refptr<Prompt> prompt); 330 scoped_refptr<Prompt> prompt);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 Delegate* delegate_; 462 Delegate* delegate_;
462 463
463 // A pre-filled prompt. 464 // A pre-filled prompt.
464 scoped_refptr<Prompt> prompt_; 465 scoped_refptr<Prompt> prompt_;
465 466
466 // Used to show the confirm dialog. 467 // Used to show the confirm dialog.
467 ShowDialogCallback show_dialog_callback_; 468 ShowDialogCallback show_dialog_callback_;
468 }; 469 };
469 470
470 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ 471 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/bundle_installer.cc ('k') | chrome/browser/extensions/extension_install_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698