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

Side by Side Diff: Source/core/platform/LocalizedStrings.h

Issue 24201005: Refactoring: Move queryLocalizedString() to Locale class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/InputType.cpp ('k') | Source/core/platform/LocalizedStrings.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006, 2009, 2011, 2012, 2013 Apple Inc. All rights reser ved. 2 * Copyright (C) 2003, 2006, 2009, 2011, 2012, 2013 Apple Inc. All rights reser ved.
3 * Copyright (C) 2010 Igalia S.L 3 * Copyright (C) 2010 Igalia S.L
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 16 matching lines...) Expand all
27 #ifndef LocalizedStrings_h 27 #ifndef LocalizedStrings_h
28 #define LocalizedStrings_h 28 #define LocalizedStrings_h
29 29
30 #include "public/platform/WebLocalizedString.h" 30 #include "public/platform/WebLocalizedString.h"
31 #include "wtf/Forward.h" 31 #include "wtf/Forward.h"
32 32
33 namespace WebCore { 33 namespace WebCore {
34 34
35 class IntSize; 35 class IntSize;
36 36
37 String queryLocalizedString(WebKit::WebLocalizedString::Name); 37 // FIXME: Use Locale::queryString instead of the following functions.
38 String queryLocalizedString(WebKit::WebLocalizedString::Name, const String& parameter);
39 String queryLocalizedString(WebKit::WebLocalizedString::Name, const String& parameter1, const String& parameter2);
40
41 // FIXME: Use queryLocalizedString instead of the following functions.
42 38
43 String inputElementAltText(); 39 String inputElementAltText();
44 String resetButtonDefaultLabel(); 40 String resetButtonDefaultLabel();
45 String searchableIndexIntroduction(); 41 String searchableIndexIntroduction();
46 String submitButtonDefaultLabel(); 42 String submitButtonDefaultLabel();
47 String fileButtonChooseFileLabel(); 43 String fileButtonChooseFileLabel();
48 String fileButtonChooseMultipleFilesLabel(); 44 String fileButtonChooseMultipleFilesLabel();
49 String fileButtonNoFileSelectedLabel(); 45 String fileButtonNoFileSelectedLabel();
50 String fileButtonNoFilesSelectedLabel(); 46 String fileButtonNoFilesSelectedLabel();
51 String defaultDetailsSummaryText(); 47 String defaultDetailsSummaryText();
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 String localizedMediaControlElementHelpText(const String&); 107 String localizedMediaControlElementHelpText(const String&);
112 String localizedMediaTimeDescription(float); 108 String localizedMediaTimeDescription(float);
113 109
114 String validationMessageValueMissingText(); 110 String validationMessageValueMissingText();
115 String validationMessageValueMissingForCheckboxText(); 111 String validationMessageValueMissingForCheckboxText();
116 String validationMessageValueMissingForFileText(); 112 String validationMessageValueMissingForFileText();
117 String validationMessageValueMissingForMultipleFileText(); 113 String validationMessageValueMissingForMultipleFileText();
118 String validationMessageValueMissingForRadioText(); 114 String validationMessageValueMissingForRadioText();
119 String validationMessageValueMissingForSelectText(); 115 String validationMessageValueMissingForSelectText();
120 String validationMessageTypeMismatchText(); 116 String validationMessageTypeMismatchText();
121 String validationMessageTypeMismatchForEmailText();
122 String validationMessageTypeMismatchForMultipleEmailText();
123 String validationMessageTypeMismatchForURLText(); 117 String validationMessageTypeMismatchForURLText();
124 String validationMessagePatternMismatchText(); 118 String validationMessagePatternMismatchText();
125 String validationMessageTooLongText(int valueLength, int maxLength); 119 String validationMessageTooLongText(int valueLength, int maxLength);
126 String validationMessageRangeUnderflowText(const String& minimum); 120 String validationMessageRangeUnderflowText(const String& minimum);
127 String validationMessageRangeOverflowText(const String& maximum); 121 String validationMessageRangeOverflowText(const String& maximum);
128 String validationMessageStepMismatchText(const String& base, const String& s tep);
129 String validationMessageBadInputForNumberText(); 122 String validationMessageBadInputForNumberText();
130 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) 123 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
131 String validationMessageBadInputForDateTimeText(); 124 String validationMessageBadInputForDateTimeText();
132 #endif 125 #endif
133 126
134 String clickToExitFullScreenText(); 127 String clickToExitFullScreenText();
135 128
136 String textTrackSubtitlesText(); 129 String textTrackSubtitlesText();
137 String textTrackOffText(); 130 String textTrackOffText();
138 String textTrackNoLabelText(); 131 String textTrackNoLabelText();
139 132
140 } // namespace WebCore 133 } // namespace WebCore
141 134
142 #endif // LocalizedStrings_h 135 #endif // LocalizedStrings_h
OLDNEW
« no previous file with comments | « Source/core/html/InputType.cpp ('k') | Source/core/platform/LocalizedStrings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698