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

Side by Side Diff: content/child/blink_platform_impl.cc

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/child/blink_platform_impl.h" 5 #include "content/child/blink_platform_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 ui::SCALE_FACTOR_NONE}, 625 ui::SCALE_FACTOR_NONE},
626 {"DocumentExecCommand.js", 626 {"DocumentExecCommand.js",
627 IDR_PRIVATE_SCRIPT_DOCUMENTEXECCOMMAND_JS, 627 IDR_PRIVATE_SCRIPT_DOCUMENTEXECCOMMAND_JS,
628 ui::SCALE_FACTOR_NONE}, 628 ui::SCALE_FACTOR_NONE},
629 {"DocumentXMLTreeViewer.css", 629 {"DocumentXMLTreeViewer.css",
630 IDR_DOCUMENTXMLTREEVIEWER_CSS, 630 IDR_DOCUMENTXMLTREEVIEWER_CSS,
631 ui::SCALE_FACTOR_NONE}, 631 ui::SCALE_FACTOR_NONE},
632 {"DocumentXMLTreeViewer.js", 632 {"DocumentXMLTreeViewer.js",
633 IDR_DOCUMENTXMLTREEVIEWER_JS, 633 IDR_DOCUMENTXMLTREEVIEWER_JS,
634 ui::SCALE_FACTOR_NONE}, 634 ui::SCALE_FACTOR_NONE},
635 {"PrivateScriptRunner.js",
636 IDR_PRIVATE_SCRIPT_PRIVATESCRIPTRUNNER_JS,
637 ui::SCALE_FACTOR_NONE},
638 #ifdef IDR_PICKER_COMMON_JS 635 #ifdef IDR_PICKER_COMMON_JS
639 {"pickerCommon.js", IDR_PICKER_COMMON_JS, ui::SCALE_FACTOR_NONE}, 636 {"pickerCommon.js", IDR_PICKER_COMMON_JS, ui::SCALE_FACTOR_NONE},
640 {"pickerCommon.css", IDR_PICKER_COMMON_CSS, ui::SCALE_FACTOR_NONE}, 637 {"pickerCommon.css", IDR_PICKER_COMMON_CSS, ui::SCALE_FACTOR_NONE},
641 {"calendarPicker.js", IDR_CALENDAR_PICKER_JS, ui::SCALE_FACTOR_NONE}, 638 {"calendarPicker.js", IDR_CALENDAR_PICKER_JS, ui::SCALE_FACTOR_NONE},
642 {"calendarPicker.css", IDR_CALENDAR_PICKER_CSS, ui::SCALE_FACTOR_NONE}, 639 {"calendarPicker.css", IDR_CALENDAR_PICKER_CSS, ui::SCALE_FACTOR_NONE},
643 {"listPicker.js", IDR_LIST_PICKER_JS, ui::SCALE_FACTOR_NONE}, 640 {"listPicker.js", IDR_LIST_PICKER_JS, ui::SCALE_FACTOR_NONE},
644 {"listPicker.css", IDR_LIST_PICKER_CSS, ui::SCALE_FACTOR_NONE}, 641 {"listPicker.css", IDR_LIST_PICKER_CSS, ui::SCALE_FACTOR_NONE},
645 {"pickerButton.css", IDR_PICKER_BUTTON_CSS, ui::SCALE_FACTOR_NONE}, 642 {"pickerButton.css", IDR_PICKER_BUTTON_CSS, ui::SCALE_FACTOR_NONE},
646 {"suggestionPicker.js", IDR_SUGGESTION_PICKER_JS, ui::SCALE_FACTOR_NONE}, 643 {"suggestionPicker.js", IDR_SUGGESTION_PICKER_JS, ui::SCALE_FACTOR_NONE},
647 {"suggestionPicker.css", IDR_SUGGESTION_PICKER_CSS, ui::SCALE_FACTOR_NONE}, 644 {"suggestionPicker.css", IDR_SUGGESTION_PICKER_CSS, ui::SCALE_FACTOR_NONE},
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString( 868 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString(
872 static_cast<ui::DomKey>(dom_key))); 869 static_cast<ui::DomKey>(dom_key)));
873 } 870 }
874 871
875 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) { 872 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) {
876 return static_cast<int>( 873 return static_cast<int>(
877 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8())); 874 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8()));
878 } 875 }
879 876
880 } // namespace content 877 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698