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

Side by Side Diff: ui/app_list/views/speech_view.cc

Issue 499163002: Use qualified path for grit/ui_strings.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « ui/app_list/views/folder_header_view.cc ('k') | ui/base/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "ui/app_list/views/speech_view.h" 5 #include "ui/app_list/views/speech_view.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "grit/ui_strings.h"
9 #include "third_party/skia/include/core/SkPath.h" 8 #include "third_party/skia/include/core/SkPath.h"
10 #include "ui/app_list/app_list_model.h" 9 #include "ui/app_list/app_list_model.h"
11 #include "ui/app_list/app_list_view_delegate.h" 10 #include "ui/app_list/app_list_view_delegate.h"
12 #include "ui/app_list/speech_ui_model.h" 11 #include "ui/app_list/speech_ui_model.h"
13 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
14 #include "ui/base/resource/resource_bundle.h" 13 #include "ui/base/resource/resource_bundle.h"
15 #include "ui/gfx/canvas.h" 14 #include "ui/gfx/canvas.h"
16 #include "ui/gfx/path.h" 15 #include "ui/gfx/path.h"
17 #include "ui/resources/grit/ui_resources.h" 16 #include "ui/resources/grit/ui_resources.h"
17 #include "ui/strings/grit/ui_strings.h"
18 #include "ui/views/animation/bounds_animator.h" 18 #include "ui/views/animation/bounds_animator.h"
19 #include "ui/views/background.h" 19 #include "ui/views/background.h"
20 #include "ui/views/controls/button/image_button.h" 20 #include "ui/views/controls/button/image_button.h"
21 #include "ui/views/controls/image_view.h" 21 #include "ui/views/controls/image_view.h"
22 #include "ui/views/controls/label.h" 22 #include "ui/views/controls/label.h"
23 #include "ui/views/layout/fill_layout.h" 23 #include "ui/views/layout/fill_layout.h"
24 #include "ui/views/masked_targeter_delegate.h" 24 #include "ui/views/masked_targeter_delegate.h"
25 #include "ui/views/shadow_border.h" 25 #include "ui/views/shadow_border.h"
26 26
27 namespace app_list { 27 namespace app_list {
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 } 245 }
246 speech_result_->SetText(l10n_util::GetStringUTF16(text_resource_id)); 246 speech_result_->SetText(l10n_util::GetStringUTF16(text_resource_id));
247 speech_result_->SetEnabledColor(kHintTextColor); 247 speech_result_->SetEnabledColor(kHintTextColor);
248 248
249 ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance(); 249 ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance();
250 mic_button_->SetImage(views::Button::STATE_NORMAL, 250 mic_button_->SetImage(views::Button::STATE_NORMAL,
251 bundle.GetImageSkiaNamed(resource_id)); 251 bundle.GetImageSkiaNamed(resource_id));
252 } 252 }
253 253
254 } // namespace app_list 254 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/views/folder_header_view.cc ('k') | ui/base/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698