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

Side by Side Diff: chrome/browser/ui/views/extensions/extension_install_dialog_view.h

Issue 683993002: Revert of Fix crash when user closes window prior to the "Confirm Install" prompt showing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/install_prompt_navigator
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_
7 7
8 #include "chrome/browser/extensions/extension_install_prompt.h" 8 #include "chrome/browser/extensions/extension_install_prompt.h"
9 #include "ui/gfx/animation/animation_delegate.h" 9 #include "ui/gfx/animation/animation_delegate.h"
10 #include "ui/gfx/animation/slide_animation.h" 10 #include "ui/gfx/animation/slide_animation.h"
11 #include "ui/views/controls/button/button.h" 11 #include "ui/views/controls/button/button.h"
12 #include "ui/views/controls/link_listener.h" 12 #include "ui/views/controls/link_listener.h"
13 #include "ui/views/view.h" 13 #include "ui/views/view.h"
14 #include "ui/views/window/dialog_delegate.h" 14 #include "ui/views/window/dialog_delegate.h"
15 15
16 typedef std::vector<base::string16> PermissionDetails; 16 typedef std::vector<base::string16> PermissionDetails;
17 class ExpandableContainerView; 17 class ExpandableContainerView;
18 class ExtensionInstallPromptShowParams;
19 class Profile; 18 class Profile;
20 19
21 namespace content { 20 namespace content {
22 class PageNavigator; 21 class PageNavigator;
23 } 22 }
24 23
25 namespace extensions { 24 namespace extensions {
26 class ExperienceSamplingEvent; 25 class ExperienceSamplingEvent;
27 } 26 }
28 27
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // on whether the details section is expanded). 267 // on whether the details section is expanded).
269 views::ImageButton* arrow_toggle_; 268 views::ImageButton* arrow_toggle_;
270 269
271 // Whether the details section is expanded. 270 // Whether the details section is expanded.
272 bool expanded_; 271 bool expanded_;
273 272
274 DISALLOW_COPY_AND_ASSIGN(ExpandableContainerView); 273 DISALLOW_COPY_AND_ASSIGN(ExpandableContainerView);
275 }; 274 };
276 275
277 void ShowExtensionInstallDialogImpl( 276 void ShowExtensionInstallDialogImpl(
278 ExtensionInstallPromptShowParams* show_params, 277 const ExtensionInstallPrompt::ShowParams& show_params,
279 ExtensionInstallPrompt::Delegate* delegate, 278 ExtensionInstallPrompt::Delegate* delegate,
280 scoped_refptr<ExtensionInstallPrompt::Prompt> prompt); 279 scoped_refptr<ExtensionInstallPrompt::Prompt> prompt);
281 280
282 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ 281 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698