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

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

Issue 2562093002: Move DocumentXMLTreeViewer off of private script (Closed)
Patch Set: Use V8PerIsolateData::mainThreadIsolate() 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/Source/bindings/core/v8/DOMWrapperWorld.h » ('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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
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", 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_PRIVATE_SCRIPT_DOCUMENTXMLTREEVIEWER_CSS, 630 IDR_DOCUMENTXMLTREEVIEWER_CSS,
631 ui::SCALE_FACTOR_NONE}, 631 ui::SCALE_FACTOR_NONE},
632 {"DocumentXMLTreeViewer.js", 632 {"DocumentXMLTreeViewer.js",
633 IDR_PRIVATE_SCRIPT_DOCUMENTXMLTREEVIEWER_JS, 633 IDR_DOCUMENTXMLTREEVIEWER_JS,
634 ui::SCALE_FACTOR_NONE}, 634 ui::SCALE_FACTOR_NONE},
635 {"PrivateScriptRunner.js", 635 {"PrivateScriptRunner.js",
636 IDR_PRIVATE_SCRIPT_PRIVATESCRIPTRUNNER_JS, 636 IDR_PRIVATE_SCRIPT_PRIVATESCRIPTRUNNER_JS,
637 ui::SCALE_FACTOR_NONE}, 637 ui::SCALE_FACTOR_NONE},
638 #ifdef IDR_PICKER_COMMON_JS 638 #ifdef IDR_PICKER_COMMON_JS
639 {"pickerCommon.js", IDR_PICKER_COMMON_JS, ui::SCALE_FACTOR_NONE}, 639 {"pickerCommon.js", IDR_PICKER_COMMON_JS, ui::SCALE_FACTOR_NONE},
640 {"pickerCommon.css", IDR_PICKER_COMMON_CSS, ui::SCALE_FACTOR_NONE}, 640 {"pickerCommon.css", IDR_PICKER_COMMON_CSS, ui::SCALE_FACTOR_NONE},
641 {"calendarPicker.js", IDR_CALENDAR_PICKER_JS, ui::SCALE_FACTOR_NONE}, 641 {"calendarPicker.js", IDR_CALENDAR_PICKER_JS, ui::SCALE_FACTOR_NONE},
642 {"calendarPicker.css", IDR_CALENDAR_PICKER_CSS, ui::SCALE_FACTOR_NONE}, 642 {"calendarPicker.css", IDR_CALENDAR_PICKER_CSS, ui::SCALE_FACTOR_NONE},
643 {"listPicker.js", IDR_LIST_PICKER_JS, ui::SCALE_FACTOR_NONE}, 643 {"listPicker.js", IDR_LIST_PICKER_JS, ui::SCALE_FACTOR_NONE},
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString( 871 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString(
872 static_cast<ui::DomKey>(dom_key))); 872 static_cast<ui::DomKey>(dom_key)));
873 } 873 }
874 874
875 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) { 875 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) {
876 return static_cast<int>( 876 return static_cast<int>(
877 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8())); 877 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8()));
878 } 878 }
879 879
880 } // namespace content 880 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/DOMWrapperWorld.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698