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

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

Issue 2290753004: Finish changing chrome/ grit includes to use qualified paths. (Closed)
Patch Set: Rebase, fix new unqualified include Created 4 years, 3 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 "base/numerics/safe_conversions.h" 7 #include "base/numerics/safe_conversions.h"
8 #include "chrome/grit/generated_resources.h" 8 #include "chrome/grit/generated_resources.h"
9 #include "grit/ui_resources.h"
10 #include "ui/base/l10n/l10n_util.h" 9 #include "ui/base/l10n/l10n_util.h"
11 #include "ui/base/resource/resource_bundle.h" 10 #include "ui/base/resource/resource_bundle.h"
12 #include "ui/gfx/image/image_skia.h" 11 #include "ui/gfx/image/image_skia.h"
12 #include "ui/resources/grit/ui_resources.h"
13 #include "ui/views/controls/link.h" 13 #include "ui/views/controls/link.h"
14 #include "ui/views/controls/styled_label.h" 14 #include "ui/views/controls/styled_label.h"
15 #include "ui/views/controls/table/table_view.h" 15 #include "ui/views/controls/table/table_view.h"
16 #include "ui/views/controls/throbber.h" 16 #include "ui/views/controls/throbber.h"
17 #include "ui/views/layout/fill_layout.h" 17 #include "ui/views/layout/fill_layout.h"
18 18
19 namespace { 19 namespace {
20 20
21 const int kChooserWidth = 330; 21 const int kChooserWidth = 330;
22 22
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 } 244 }
245 245
246 void ChooserContentView::UpdateTableView() { 246 void ChooserContentView::UpdateTableView() {
247 if (chooser_controller_->NumOptions() == 0) { 247 if (chooser_controller_->NumOptions() == 0) {
248 table_view_->OnModelChanged(); 248 table_view_->OnModelChanged();
249 table_view_->SetEnabled(false); 249 table_view_->SetEnabled(false);
250 } else { 250 } else {
251 table_view_->SetEnabled(true); 251 table_view_->SetEnabled(true);
252 } 252 }
253 } 253 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698