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

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

Issue 115825: Move text_field.cc and rename the class to Textfield in preparation for porti... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | 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
(...skipping 13 matching lines...) Expand all
24 #include "chrome/common/pref_names.h" 24 #include "chrome/common/pref_names.h"
25 #include "chrome/common/pref_service.h" 25 #include "chrome/common/pref_service.h"
26 #include "grit/chromium_strings.h" 26 #include "grit/chromium_strings.h"
27 #include "grit/generated_resources.h" 27 #include "grit/generated_resources.h"
28 #include "grit/theme_resources.h" 28 #include "grit/theme_resources.h"
29 #include "third_party/skia/include/core/SkBitmap.h" 29 #include "third_party/skia/include/core/SkBitmap.h"
30 #include "unicode/uloc.h" 30 #include "unicode/uloc.h"
31 #include "views/controls/button/radio_button.h" 31 #include "views/controls/button/radio_button.h"
32 #include "views/controls/combo_box.h" 32 #include "views/controls/combo_box.h"
33 #include "views/controls/tabbed_pane.h" 33 #include "views/controls/tabbed_pane.h"
34 #include "views/controls/text_field.h"
35 #include "views/grid_layout.h" 34 #include "views/grid_layout.h"
36 #include "views/standard_layout.h" 35 #include "views/standard_layout.h"
37 #include "views/widget/widget.h" 36 #include "views/widget/widget.h"
38 #include "views/window/window.h" 37 #include "views/window/window.h"
39 38
40 static const char* const accept_language_list[] = { 39 static const char* const accept_language_list[] = {
41 "af", // Afrikaans 40 "af", // Afrikaans
42 "am", // Amharic 41 "am", // Amharic
43 "ar", // Arabic 42 "ar", // Arabic
44 "az", // Azerbaijani 43 "az", // Azerbaijani
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 if (spellcheck_language_index_selected_ != -1) { 838 if (spellcheck_language_index_selected_ != -1) {
840 UserMetricsRecordAction(L"Options_DictionaryLanguage", 839 UserMetricsRecordAction(L"Options_DictionaryLanguage",
841 profile()->GetPrefs()); 840 profile()->GetPrefs());
842 dictionary_language_.SetValue(ASCIIToWide(dictionary_language_model_-> 841 dictionary_language_.SetValue(ASCIIToWide(dictionary_language_model_->
843 GetLocaleFromIndex(spellcheck_language_index_selected_))); 842 GetLocaleFromIndex(spellcheck_language_index_selected_)));
844 } 843 }
845 844
846 if (enable_spellcheck_checkbox_clicked_) 845 if (enable_spellcheck_checkbox_clicked_)
847 enable_spellcheck_.SetValue(enable_spellchecking_checkbox_->checked()); 846 enable_spellcheck_.SetValue(enable_spellchecking_checkbox_->checked());
848 } 847 }
OLDNEW
« no previous file with comments | « chrome/browser/views/options/general_page_view.cc ('k') | chrome/browser/views/shelf_item_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698