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

Unified Diff: chrome/browser/ui/views/chooser_content_view.cc

Issue 2390823005: Update device permissions dialog ui for Chrome apps and extensions (Closed)
Patch Set: address comments Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/chooser_content_view.cc
diff --git a/chrome/browser/ui/views/chooser_content_view.cc b/chrome/browser/ui/views/chooser_content_view.cc
index 6f2b87b15e59c71315ffe62087ab934075204525..7a7fdfe291445dccf544866ea22f697a588cd995 100644
--- a/chrome/browser/ui/views/chooser_content_view.cc
+++ b/chrome/browser/ui/views/chooser_content_view.cc
@@ -284,6 +284,12 @@ bool ChooserContentView::IsDialogButtonEnabled(ui::DialogButton button) const {
!table_view_->selection_model().empty();
}
+views::StyledLabel* ChooserContentView::footnote_link() {
+ if (chooser_controller_->ShouldShowFootnoteView())
sky 2016/11/28 23:13:21 Can ShouldShowFootnoteView change value? Assuming
juncai 2016/11/29 18:10:08 Done.
+ return footnote_link_.get();
+ return nullptr;
+}
+
void ChooserContentView::Accept() {
std::vector<size_t> indices(
table_view_->selection_model().selected_indices().begin(),

Powered by Google App Engine
This is Rietveld 408576698