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

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

Issue 10823243: Fix crash in bundle install dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_install_prompt.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 // Shows the actual UI (the icon should already be loaded). 279 // Shows the actual UI (the icon should already be loaded).
280 void ShowConfirmation(); 280 void ShowConfirmation();
281 281
282 gfx::NativeWindow parent_; 282 gfx::NativeWindow parent_;
283 content::PageNavigator* navigator_; 283 content::PageNavigator* navigator_;
284 MessageLoop* ui_loop_; 284 MessageLoop* ui_loop_;
285 285
286 // The extensions installation icon. 286 // The extensions installation icon.
287 SkBitmap icon_; 287 SkBitmap icon_;
288 288
289 // The extension we are showing the UI for. 289 // The extension we are showing the UI for, if type is not
290 // BUNDLE_INSTALL_PROMPT.
290 const extensions::Extension* extension_; 291 const extensions::Extension* extension_;
291 292
292 // The bundle we are showing the UI for, if type BUNDLE_INSTALL_PROMPT. 293 // The bundle we are showing the UI for, if type BUNDLE_INSTALL_PROMPT.
293 const extensions::BundleInstaller* bundle_; 294 const extensions::BundleInstaller* bundle_;
294 295
295 // The permissions being prompted for. 296 // The permissions being prompted for.
296 scoped_refptr<const extensions::PermissionSet> permissions_; 297 scoped_refptr<const extensions::PermissionSet> permissions_;
297 298
298 // The object responsible for doing the UI specific actions. 299 // The object responsible for doing the UI specific actions.
299 scoped_ptr<ExtensionInstallUI> install_ui_; 300 scoped_ptr<ExtensionInstallUI> install_ui_;
(...skipping 18 matching lines...) Expand all
318 319
319 // Creates an ExtensionInstallPrompt from |browser|. Caller assumes ownership. 320 // Creates an ExtensionInstallPrompt from |browser|. Caller assumes ownership.
320 // TODO(beng): remove this once various extensions types are weaned from 321 // TODO(beng): remove this once various extensions types are weaned from
321 // Browser. 322 // Browser.
322 ExtensionInstallPrompt* CreateExtensionInstallPromptWithBrowser( 323 ExtensionInstallPrompt* CreateExtensionInstallPromptWithBrowser(
323 Browser* browser); 324 Browser* browser);
324 325
325 } // namespace chrome 326 } // namespace chrome
326 327
327 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ 328 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_install_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698