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

Side by Side Diff: chrome/browser/ui/views/chooser_content_view.h

Issue 2390823005: Update device permissions dialog ui for Chrome apps and extensions (Closed)
Patch Set: address comments Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_CHOOSER_CONTENT_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 void OnRefreshStateChanged(bool refreshing) override; 56 void OnRefreshStateChanged(bool refreshing) override;
57 57
58 // views::StyledLabelListener: 58 // views::StyledLabelListener:
59 void StyledLabelLinkClicked(views::StyledLabel* label, 59 void StyledLabelLinkClicked(views::StyledLabel* label,
60 const gfx::Range& range, 60 const gfx::Range& range,
61 int event_flags) override; 61 int event_flags) override;
62 62
63 base::string16 GetWindowTitle() const; 63 base::string16 GetWindowTitle() const;
64 base::string16 GetDialogButtonLabel(ui::DialogButton button) const; 64 base::string16 GetDialogButtonLabel(ui::DialogButton button) const;
65 bool IsDialogButtonEnabled(ui::DialogButton button) const; 65 bool IsDialogButtonEnabled(ui::DialogButton button) const;
66 views::StyledLabel* footnote_link() { return footnote_link_.get(); } 66 views::StyledLabel* footnote_link();
67 void Accept(); 67 void Accept();
68 void Cancel(); 68 void Cancel();
69 void Close(); 69 void Close();
70 void UpdateTableView(); 70 void UpdateTableView();
71 void SetGetHelpAndReScanLink(); 71 void SetGetHelpAndReScanLink();
72 72
73 private: 73 private:
74 friend class ChooserContentViewTest; 74 friend class ChooserContentViewTest;
75 friend class ChooserDialogViewTest; 75 friend class ChooserDialogViewTest;
76 FRIEND_TEST_ALL_PREFIXES(ChooserContentViewTest, InitialState); 76 FRIEND_TEST_ALL_PREFIXES(ChooserContentViewTest, InitialState);
(...skipping 14 matching lines...) Expand all
91 base::string16 help_text_; 91 base::string16 help_text_;
92 base::string16 help_and_scanning_text_; 92 base::string16 help_and_scanning_text_;
93 base::string16 help_and_re_scan_text_; 93 base::string16 help_and_re_scan_text_;
94 gfx::Range help_text_range_; 94 gfx::Range help_text_range_;
95 gfx::Range re_scan_text_range_; 95 gfx::Range re_scan_text_range_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(ChooserContentView); 97 DISALLOW_COPY_AND_ASSIGN(ChooserContentView);
98 }; 98 };
99 99
100 #endif // CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_ 100 #endif // CHROME_BROWSER_UI_VIEWS_CHOOSER_CONTENT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698