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

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

Issue 2576753002: Remove some more private script related things (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/fast/dom/marquee-named-property-crash.html » ('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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 {"xhtmlmp.css", IDR_UASTYLE_XHTMLMP_CSS, ui::SCALE_FACTOR_NONE}, 616 {"xhtmlmp.css", IDR_UASTYLE_XHTMLMP_CSS, ui::SCALE_FACTOR_NONE},
617 {"viewportAndroid.css", 617 {"viewportAndroid.css",
618 IDR_UASTYLE_VIEWPORT_ANDROID_CSS, 618 IDR_UASTYLE_VIEWPORT_ANDROID_CSS,
619 ui::SCALE_FACTOR_NONE}, 619 ui::SCALE_FACTOR_NONE},
620 {"viewportTelevision.css", 620 {"viewportTelevision.css",
621 IDR_UASTYLE_VIEWPORT_TELEVISION_CSS, 621 IDR_UASTYLE_VIEWPORT_TELEVISION_CSS,
622 ui::SCALE_FACTOR_NONE}, 622 ui::SCALE_FACTOR_NONE},
623 {"InspectorOverlayPage.html", 623 {"InspectorOverlayPage.html",
624 IDR_INSPECTOR_OVERLAY_PAGE_HTML, 624 IDR_INSPECTOR_OVERLAY_PAGE_HTML,
625 ui::SCALE_FACTOR_NONE}, 625 ui::SCALE_FACTOR_NONE},
626 {"DocumentExecCommand.js",
627 IDR_PRIVATE_SCRIPT_DOCUMENTEXECCOMMAND_JS,
628 ui::SCALE_FACTOR_NONE},
629 {"DocumentXMLTreeViewer.css", 626 {"DocumentXMLTreeViewer.css",
630 IDR_DOCUMENTXMLTREEVIEWER_CSS, 627 IDR_DOCUMENTXMLTREEVIEWER_CSS,
631 ui::SCALE_FACTOR_NONE}, 628 ui::SCALE_FACTOR_NONE},
632 {"DocumentXMLTreeViewer.js", 629 {"DocumentXMLTreeViewer.js",
633 IDR_DOCUMENTXMLTREEVIEWER_JS, 630 IDR_DOCUMENTXMLTREEVIEWER_JS,
634 ui::SCALE_FACTOR_NONE}, 631 ui::SCALE_FACTOR_NONE},
635 #ifdef IDR_PICKER_COMMON_JS 632 #ifdef IDR_PICKER_COMMON_JS
636 {"pickerCommon.js", IDR_PICKER_COMMON_JS, ui::SCALE_FACTOR_NONE}, 633 {"pickerCommon.js", IDR_PICKER_COMMON_JS, ui::SCALE_FACTOR_NONE},
637 {"pickerCommon.css", IDR_PICKER_COMMON_CSS, ui::SCALE_FACTOR_NONE}, 634 {"pickerCommon.css", IDR_PICKER_COMMON_CSS, ui::SCALE_FACTOR_NONE},
638 {"calendarPicker.js", IDR_CALENDAR_PICKER_JS, ui::SCALE_FACTOR_NONE}, 635 {"calendarPicker.js", IDR_CALENDAR_PICKER_JS, ui::SCALE_FACTOR_NONE},
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString( 865 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString(
869 static_cast<ui::DomKey>(dom_key))); 866 static_cast<ui::DomKey>(dom_key)));
870 } 867 }
871 868
872 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) { 869 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) {
873 return static_cast<int>( 870 return static_cast<int>(
874 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8())); 871 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8()));
875 } 872 }
876 873
877 } // namespace content 874 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/marquee-named-property-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698