| OLD | NEW |
| 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 #include "chrome/browser/ui/views/chooser_content_view.h" | 5 #include "chrome/browser/ui/views/chooser_content_view.h" |
| 6 | 6 |
| 7 #include "chrome/browser/chooser_controller/chooser_controller.h" |
| 7 #include "chrome/grit/generated_resources.h" | 8 #include "chrome/grit/generated_resources.h" |
| 8 #include "components/chooser_controller/chooser_controller.h" | |
| 9 #include "ui/base/l10n/l10n_util.h" | 9 #include "ui/base/l10n/l10n_util.h" |
| 10 #include "ui/base/models/table_model.h" | 10 #include "ui/base/models/table_model.h" |
| 11 #include "ui/views/controls/styled_label.h" | 11 #include "ui/views/controls/styled_label.h" |
| 12 #include "ui/views/controls/table/table_view.h" | 12 #include "ui/views/controls/table/table_view.h" |
| 13 #include "ui/views/controls/table/table_view_observer.h" | 13 #include "ui/views/controls/table/table_view_observer.h" |
| 14 #include "ui/views/layout/box_layout.h" | 14 #include "ui/views/layout/box_layout.h" |
| 15 #include "ui/views/layout/layout_constants.h" | 15 #include "ui/views/layout/layout_constants.h" |
| 16 | 16 |
| 17 namespace { | 17 namespace { |
| 18 | 18 |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 chooser_controller_->Close(); | 181 chooser_controller_->Close(); |
| 182 } | 182 } |
| 183 | 183 |
| 184 void ChooserContentView::StyledLabelLinkClicked() { | 184 void ChooserContentView::StyledLabelLinkClicked() { |
| 185 chooser_controller_->OpenHelpCenterUrl(); | 185 chooser_controller_->OpenHelpCenterUrl(); |
| 186 } | 186 } |
| 187 | 187 |
| 188 void ChooserContentView::UpdateTableModel() { | 188 void ChooserContentView::UpdateTableModel() { |
| 189 chooser_table_model_->Update(); | 189 chooser_table_model_->Update(); |
| 190 } | 190 } |
| OLD | NEW |