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

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

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/edit_search_engine_dialog.h" 5 #include "chrome/browser/ui/views/edit_search_engine_dialog.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h"
9 #include "base/i18n/rtl.h" 8 #include "base/i18n/rtl.h"
10 #include "base/string_util.h" 9 #include "base/string_util.h"
11 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
12 #include "chrome/browser/search_engines/edit_search_engine_controller.h" 11 #include "chrome/browser/search_engines/edit_search_engine_controller.h"
13 #include "chrome/browser/search_engines/template_url.h" 12 #include "chrome/browser/search_engines/template_url.h"
14 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
15 #include "grit/app_resources.h" 14 #include "grit/app_resources.h"
16 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
17 #include "grit/theme_resources.h" 16 #include "grit/theme_resources.h"
17 #include "ui/base/resource/resource_bundle.h"
18 #include "views/controls/label.h" 18 #include "views/controls/label.h"
19 #include "views/controls/image_view.h" 19 #include "views/controls/image_view.h"
20 #include "views/controls/table/table_view.h" 20 #include "views/controls/table/table_view.h"
21 #include "views/grid_layout.h" 21 #include "views/grid_layout.h"
22 #include "views/standard_layout.h" 22 #include "views/standard_layout.h"
23 #include "views/window/window.h" 23 #include "views/window/window.h"
24 24
25 using views::GridLayout; 25 using views::GridLayout;
26 using views::ImageView; 26 using views::ImageView;
27 using views::Textfield; 27 using views::Textfield;
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 ResourceBundle::GetSharedInstance().GetBitmapNamed( 259 ResourceBundle::GetSharedInstance().GetBitmapNamed(
260 IDR_INPUT_GOOD)); 260 IDR_INPUT_GOOD));
261 } else { 261 } else {
262 image_view->SetTooltipText( 262 image_view->SetTooltipText(
263 UTF16ToWide(l10n_util::GetStringUTF16(invalid_message_id))); 263 UTF16ToWide(l10n_util::GetStringUTF16(invalid_message_id)));
264 image_view->SetImage( 264 image_view->SetImage(
265 ResourceBundle::GetSharedInstance().GetBitmapNamed( 265 ResourceBundle::GetSharedInstance().GetBitmapNamed(
266 IDR_INPUT_ALERT)); 266 IDR_INPUT_ALERT));
267 } 267 }
268 } 268 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698