OLD | NEW |
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 <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 { "svg.css", IDR_UASTYLE_SVG_CSS, ui::SCALE_FACTOR_NONE}, | 801 { "svg.css", IDR_UASTYLE_SVG_CSS, ui::SCALE_FACTOR_NONE}, |
802 { "navigationTransitions.css", IDR_UASTYLE_NAVIGATION_TRANSITIONS_CSS, | 802 { "navigationTransitions.css", IDR_UASTYLE_NAVIGATION_TRANSITIONS_CSS, |
803 ui::SCALE_FACTOR_NONE }, | 803 ui::SCALE_FACTOR_NONE }, |
804 { "mathml.css", IDR_UASTYLE_MATHML_CSS, ui::SCALE_FACTOR_NONE}, | 804 { "mathml.css", IDR_UASTYLE_MATHML_CSS, ui::SCALE_FACTOR_NONE}, |
805 { "mediaControls.css", IDR_UASTYLE_MEDIA_CONTROLS_CSS, | 805 { "mediaControls.css", IDR_UASTYLE_MEDIA_CONTROLS_CSS, |
806 ui::SCALE_FACTOR_NONE }, | 806 ui::SCALE_FACTOR_NONE }, |
807 { "fullscreen.css", IDR_UASTYLE_FULLSCREEN_CSS, ui::SCALE_FACTOR_NONE}, | 807 { "fullscreen.css", IDR_UASTYLE_FULLSCREEN_CSS, ui::SCALE_FACTOR_NONE}, |
808 { "xhtmlmp.css", IDR_UASTYLE_XHTMLMP_CSS, ui::SCALE_FACTOR_NONE}, | 808 { "xhtmlmp.css", IDR_UASTYLE_XHTMLMP_CSS, ui::SCALE_FACTOR_NONE}, |
809 { "viewportAndroid.css", IDR_UASTYLE_VIEWPORT_ANDROID_CSS, | 809 { "viewportAndroid.css", IDR_UASTYLE_VIEWPORT_ANDROID_CSS, |
810 ui::SCALE_FACTOR_NONE}, | 810 ui::SCALE_FACTOR_NONE}, |
811 { "XMLViewer.js", IDR_XML_VIEWER_JS, ui::SCALE_FACTOR_NONE }, | |
812 { "XMLViewer.css", IDR_XML_VIEWER_CSS, ui::SCALE_FACTOR_NONE }, | |
813 { "InspectorOverlayPage.html", IDR_INSPECTOR_OVERLAY_PAGE_HTML, | 811 { "InspectorOverlayPage.html", IDR_INSPECTOR_OVERLAY_PAGE_HTML, |
814 ui::SCALE_FACTOR_NONE }, | 812 ui::SCALE_FACTOR_NONE }, |
815 { "InjectedScriptCanvasModuleSource.js", | 813 { "InjectedScriptCanvasModuleSource.js", |
816 IDR_INSPECTOR_INJECTED_SCRIPT_CANVAS_MODULE_SOURCE_JS, | 814 IDR_INSPECTOR_INJECTED_SCRIPT_CANVAS_MODULE_SOURCE_JS, |
817 ui::SCALE_FACTOR_NONE }, | 815 ui::SCALE_FACTOR_NONE }, |
818 { "InjectedScriptSource.js", IDR_INSPECTOR_INJECTED_SCRIPT_SOURCE_JS, | 816 { "InjectedScriptSource.js", IDR_INSPECTOR_INJECTED_SCRIPT_SOURCE_JS, |
819 ui::SCALE_FACTOR_NONE }, | 817 ui::SCALE_FACTOR_NONE }, |
820 { "DebuggerScriptSource.js", IDR_INSPECTOR_DEBUGGER_SCRIPT_SOURCE_JS, | 818 { "DebuggerScriptSource.js", IDR_INSPECTOR_DEBUGGER_SCRIPT_SOURCE_JS, |
821 ui::SCALE_FACTOR_NONE }, | 819 ui::SCALE_FACTOR_NONE }, |
822 #ifdef IDR_PICKER_COMMON_JS | 820 #ifdef IDR_PICKER_COMMON_JS |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1177 } | 1175 } |
1178 | 1176 |
1179 // static | 1177 // static |
1180 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) { | 1178 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) { |
1181 WebThreadImplForMessageLoop* impl = | 1179 WebThreadImplForMessageLoop* impl = |
1182 static_cast<WebThreadImplForMessageLoop*>(thread); | 1180 static_cast<WebThreadImplForMessageLoop*>(thread); |
1183 delete impl; | 1181 delete impl; |
1184 } | 1182 } |
1185 | 1183 |
1186 } // namespace content | 1184 } // namespace content |
OLD | NEW |