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

Side by Side Diff: chrome/browser/views/options/languages_page_view.cc

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include <windows.h> 4 #include <windows.h>
5 #include <shlobj.h> 5 #include <shlobj.h>
6 #include <vsstyle.h> 6 #include <vsstyle.h>
7 #include <vssym32.h> 7 #include <vssym32.h>
8 8
9 #include "chrome/browser/views/options/languages_page_view.h" 9 #include "chrome/browser/views/options/languages_page_view.h"
10 10
11 #include "app/l10n_util.h"
11 #include "app/resource_bundle.h" 12 #include "app/resource_bundle.h"
12 #include "base/file_util.h" 13 #include "base/file_util.h"
13 #include "base/string_util.h" 14 #include "base/string_util.h"
14 #include "base/gfx/native_theme.h" 15 #include "base/gfx/native_theme.h"
15 #include "base/string_util.h" 16 #include "base/string_util.h"
16 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/shell_dialogs.h" 18 #include "chrome/browser/shell_dialogs.h"
18 #include "chrome/browser/spellchecker.h" 19 #include "chrome/browser/spellchecker.h"
19 #include "chrome/browser/views/options/language_combobox_model.h" 20 #include "chrome/browser/views/options/language_combobox_model.h"
20 #include "chrome/browser/views/restart_message_box.h" 21 #include "chrome/browser/views/restart_message_box.h"
21 #include "chrome/browser/views/standard_layout.h" 22 #include "chrome/browser/views/standard_layout.h"
22 #include "chrome/common/gfx/chrome_canvas.h" 23 #include "chrome/common/gfx/chrome_canvas.h"
23 #include "chrome/common/gfx/chrome_font.h" 24 #include "chrome/common/gfx/chrome_font.h"
24 #include "chrome/common/l10n_util.h"
25 #include "chrome/common/pref_names.h" 25 #include "chrome/common/pref_names.h"
26 #include "chrome/common/pref_service.h" 26 #include "chrome/common/pref_service.h"
27 #include "chrome/views/controls/button/radio_button.h" 27 #include "chrome/views/controls/button/radio_button.h"
28 #include "chrome/views/controls/combo_box.h" 28 #include "chrome/views/controls/combo_box.h"
29 #include "chrome/views/controls/tabbed_pane.h" 29 #include "chrome/views/controls/tabbed_pane.h"
30 #include "chrome/views/controls/text_field.h" 30 #include "chrome/views/controls/text_field.h"
31 #include "chrome/views/grid_layout.h" 31 #include "chrome/views/grid_layout.h"
32 #include "chrome/views/widget/widget.h" 32 #include "chrome/views/widget/widget.h"
33 #include "chrome/views/window/window.h" 33 #include "chrome/views/window/window.h"
34 #include "grit/chromium_strings.h" 34 #include "grit/chromium_strings.h"
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 if (spellcheck_language_index_selected_ != -1) { 839 if (spellcheck_language_index_selected_ != -1) {
840 UserMetricsRecordAction(L"Options_DictionaryLanguage", 840 UserMetricsRecordAction(L"Options_DictionaryLanguage",
841 profile()->GetPrefs()); 841 profile()->GetPrefs());
842 dictionary_language_.SetValue(ASCIIToWide(dictionary_language_model_-> 842 dictionary_language_.SetValue(ASCIIToWide(dictionary_language_model_->
843 GetLocaleFromIndex(spellcheck_language_index_selected_))); 843 GetLocaleFromIndex(spellcheck_language_index_selected_)));
844 } 844 }
845 845
846 if (enable_spellcheck_checkbox_clicked_) 846 if (enable_spellcheck_checkbox_clicked_)
847 enable_spellcheck_.SetValue(enable_spellchecking_checkbox_->checked()); 847 enable_spellcheck_.SetValue(enable_spellchecking_checkbox_->checked());
848 } 848 }
OLDNEW
« no previous file with comments | « chrome/browser/views/options/language_combobox_model.cc ('k') | chrome/browser/views/options/options_group_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698