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

Side by Side Diff: chrome/browser/chromeos/ui/request_pin_view.cc

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 years, 6 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/chromeos/ui/request_pin_view.h" 5 #include "chrome/browser/chromeos/ui/request_pin_view.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "chrome/browser/chromeos/options/passphrase_textfield.h" 13 #include "chrome/browser/chromeos/options/passphrase_textfield.h"
14 #include "chrome/browser/ui/browser_dialogs.h" 14 #include "chrome/browser/ui/browser_dialogs.h"
15 #include "chrome/grit/generated_resources.h" 15 #include "chrome/grit/generated_resources.h"
16 #include "chrome/grit/theme_resources.h"
17 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
18 #include "ui/base/resource/resource_bundle.h" 17 #include "ui/base/resource/resource_bundle.h"
19 #include "ui/events/event.h" 18 #include "ui/events/event.h"
20 #include "ui/views/controls/label.h" 19 #include "ui/views/controls/label.h"
21 #include "ui/views/controls/textfield/textfield.h" 20 #include "ui/views/controls/textfield/textfield.h"
22 #include "ui/views/layout/grid_layout.h" 21 #include "ui/views/layout/grid_layout.h"
23 #include "ui/views/layout/layout_constants.h" 22 #include "ui/views/layout/layout_constants.h"
24 #include "ui/views/widget/widget.h" 23 #include "ui/views/widget/widget.h"
25 #include "ui/views/window/dialog_client_view.h" 24 #include "ui/views/window/dialog_client_view.h"
26 25
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 } 253 }
255 254
256 error_label_->SetVisible(true); 255 error_label_->SetVisible(true);
257 error_label_->SetText(error_message); 256 error_label_->SetText(error_message);
258 error_label_->SetTooltipText(error_message); 257 error_label_->SetTooltipText(error_message);
259 error_label_->SetEnabledColor(SK_ColorRED); 258 error_label_->SetEnabledColor(SK_ColorRED);
260 error_label_->SizeToPreferredSize(); 259 error_label_->SizeToPreferredSize();
261 } 260 }
262 261
263 } // namespace chromeos 262 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698