| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 StringBuilder result; | 355 StringBuilder result; |
| 356 result.append(filename); | 356 result.append(filename); |
| 357 result.append(" ("); | 357 result.append(" ("); |
| 358 result.append(String::number(size.width())); | 358 result.append(String::number(size.width())); |
| 359 result.append(static_cast<UChar>(0xD7)); // U+00D7 (multiplication sign) | 359 result.append(static_cast<UChar>(0xD7)); // U+00D7 (multiplication sign) |
| 360 result.append(String::number(size.height())); | 360 result.append(String::number(size.height())); |
| 361 result.append(')'); | 361 result.append(')'); |
| 362 return result.toString(); | 362 return result.toString(); |
| 363 } | 363 } |
| 364 | 364 |
| 365 // We don't use these strings, so they return an empty String. We can't just | |
| 366 // make them asserts because webcore still calls them. | |
| 367 String contextMenuItemTagOpenLinkInNewWindow() { return String(); } | |
| 368 String contextMenuItemTagDownloadLinkToDisk() { return String(); } | |
| 369 String contextMenuItemTagCopyLinkToClipboard() { return String(); } | |
| 370 String contextMenuItemTagOpenImageInNewWindow() { return String(); } | |
| 371 String contextMenuItemTagDownloadImageToDisk() { return String(); } | |
| 372 String contextMenuItemTagCopyImageToClipboard() { return String(); } | |
| 373 String contextMenuItemTagOpenFrameInNewWindow() { return String(); } | |
| 374 String contextMenuItemTagCopy() { return String(); } | |
| 375 String contextMenuItemTagGoBack() { return String(); } | |
| 376 String contextMenuItemTagGoForward() { return String(); } | |
| 377 String contextMenuItemTagStop() { return String(); } | |
| 378 String contextMenuItemTagReload() { return String(); } | |
| 379 String contextMenuItemTagCut() { return String(); } | |
| 380 String contextMenuItemTagPaste() { return String(); } | |
| 381 String contextMenuItemTagNoGuessesFound() { return String(); } | |
| 382 String contextMenuItemTagIgnoreSpelling() { return String(); } | |
| 383 String contextMenuItemTagLearnSpelling() { return String(); } | |
| 384 String contextMenuItemTagSearchWeb() { return String(); } | |
| 385 String contextMenuItemTagLookUpInDictionary(const String&) { return String(); } | |
| 386 String contextMenuItemTagOpenLink() { return String(); } | |
| 387 String contextMenuItemTagIgnoreGrammar() { return String(); } | |
| 388 String contextMenuItemTagSpellingMenu() { return String(); } | |
| 389 String contextMenuItemTagCheckSpelling() { return String(); } | |
| 390 String contextMenuItemTagCheckSpellingWhileTyping() { return String(); } | |
| 391 String contextMenuItemTagCheckGrammarWithSpelling() { return String(); } | |
| 392 String contextMenuItemTagFontMenu() { return String(); } | |
| 393 String contextMenuItemTagBold() { return String(); } | |
| 394 String contextMenuItemTagItalic() { return String(); } | |
| 395 String contextMenuItemTagUnderline() { return String(); } | |
| 396 String contextMenuItemTagOutline() { return String(); } | |
| 397 String contextMenuItemTagWritingDirectionMenu() { return String(); } | |
| 398 String contextMenuItemTagTextDirectionMenu() { return String(); } | |
| 399 String contextMenuItemTagDefaultDirection() { return String(); } | |
| 400 String contextMenuItemTagLeftToRight() { return String(); } | |
| 401 String contextMenuItemTagRightToLeft() { return String(); } | |
| 402 String contextMenuItemTagInspectElement() { return String(); } | |
| 403 String contextMenuItemTagShowSpellingPanel(bool show) { return String(); } | |
| 404 String mediaElementLiveBroadcastStateText() { return String(); } | 365 String mediaElementLiveBroadcastStateText() { return String(); } |
| 405 String mediaElementLoadingStateText() { return String(); } | 366 String mediaElementLoadingStateText() { return String(); } |
| 406 String contextMenuItemTagOpenVideoInNewWindow() { return String(); } | |
| 407 String contextMenuItemTagOpenAudioInNewWindow() { return String(); } | |
| 408 String contextMenuItemTagCopyVideoLinkToClipboard() { return String(); } | |
| 409 String contextMenuItemTagCopyAudioLinkToClipboard() { return String(); } | |
| 410 String contextMenuItemTagToggleMediaControls() { return String(); } | |
| 411 String contextMenuItemTagToggleMediaLoop() { return String(); } | |
| 412 String contextMenuItemTagEnterVideoFullscreen() { return String(); } | |
| 413 String contextMenuItemTagMediaPlay() { return String(); } | |
| 414 String contextMenuItemTagMediaPause() { return String(); } | |
| 415 String contextMenuItemTagMediaMute() { return String(); } | |
| 416 | 367 |
| 417 String textTrackClosedCaptionsText() { return String(); } | 368 String textTrackClosedCaptionsText() { return String(); } |
| 418 String textTrackSubtitlesText() { return String(); } | 369 String textTrackSubtitlesText() { return String(); } |
| 419 String textTrackOffText() { return String(); } | 370 String textTrackOffText() { return String(); } |
| 420 String textTrackNoLabelText() { return String(); } | 371 String textTrackNoLabelText() { return String(); } |
| 421 | 372 |
| 422 String localizedMediaControlElementString(const String& name) | 373 String localizedMediaControlElementString(const String& name) |
| 423 { | 374 { |
| 424 if (name == "AudioElement") | 375 if (name == "AudioElement") |
| 425 return query(WebLocalizedString::AXMediaAudioElement); | 376 return query(WebLocalizedString::AXMediaAudioElement); |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 } | 551 } |
| 601 | 552 |
| 602 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 553 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| 603 String validationMessageBadInputForDateTimeText() | 554 String validationMessageBadInputForDateTimeText() |
| 604 { | 555 { |
| 605 return query(WebLocalizedString::ValidationBadInputForDateTime); | 556 return query(WebLocalizedString::ValidationBadInputForDateTime); |
| 606 } | 557 } |
| 607 #endif | 558 #endif |
| 608 | 559 |
| 609 } // namespace WebCore | 560 } // namespace WebCore |
| OLD | NEW |