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

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

Issue 2683843004: harmony: update extension install dialog (Closed)
Patch Set: add newline Created 3 years, 10 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 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 "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/extensions/extension_install_prompt.h" 9 #include "chrome/browser/extensions/extension_install_prompt.h"
10 #include "ui/gfx/animation/animation_delegate.h" 10 #include "ui/gfx/animation/animation_delegate.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 // views::DialogDelegateView: 57 // views::DialogDelegateView:
58 int GetDialogButtons() const override; 58 int GetDialogButtons() const override;
59 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; 59 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
60 int GetDefaultDialogButton() const override; 60 int GetDefaultDialogButton() const override;
61 bool Cancel() override; 61 bool Cancel() override;
62 bool Accept() override; 62 bool Accept() override;
63 ui::ModalType GetModalType() const override; 63 ui::ModalType GetModalType() const override;
64 void Layout() override; 64 void Layout() override;
65 gfx::Size GetPreferredSize() const override; 65 gfx::Size GetPreferredSize() const override;
66 views::View* CreateExtraView() override;
66 67
67 // views::LinkListener: 68 // views::LinkListener:
68 void LinkClicked(views::Link* source, int event_flags) override; 69 void LinkClicked(views::Link* source, int event_flags) override;
69 70
70 // Initializes the dialog view, adding in permissions if they exist. 71 // Initializes the dialog view, adding in permissions if they exist.
71 void InitView(); 72 void InitView();
72 73
73 // Adds permissions of |perm_type| to the dialog view if they exist. 74 // Adds permissions of |perm_type| to the dialog view if they exist.
74 bool AddPermissions(views::GridLayout* layout, 75 bool AddPermissions(views::GridLayout* layout,
75 ui::ResourceBundle& rb, 76 ui::ResourceBundle& rb,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // on whether the details section is expanded). 189 // on whether the details section is expanded).
189 views::ImageButton* arrow_toggle_; 190 views::ImageButton* arrow_toggle_;
190 191
191 // Whether the details section is expanded. 192 // Whether the details section is expanded.
192 bool expanded_; 193 bool expanded_;
193 194
194 DISALLOW_COPY_AND_ASSIGN(ExpandableContainerView); 195 DISALLOW_COPY_AND_ASSIGN(ExpandableContainerView);
195 }; 196 };
196 197
197 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ 198 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/views/extensions/extension_install_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698