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

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

Issue 2127883003: Move chooser_controller directory from //components to //chrome/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 5 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 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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/browser_dialogs_views.cc ('k') | chrome/browser/ui/views/chooser_content_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698