| 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 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 ui::SCALE_FACTOR_NONE}, | 810 ui::SCALE_FACTOR_NONE}, |
| 811 { "InspectorOverlayPage.html", IDR_INSPECTOR_OVERLAY_PAGE_HTML, | 811 { "InspectorOverlayPage.html", IDR_INSPECTOR_OVERLAY_PAGE_HTML, |
| 812 ui::SCALE_FACTOR_NONE }, | 812 ui::SCALE_FACTOR_NONE }, |
| 813 { "InjectedScriptCanvasModuleSource.js", | 813 { "InjectedScriptCanvasModuleSource.js", |
| 814 IDR_INSPECTOR_INJECTED_SCRIPT_CANVAS_MODULE_SOURCE_JS, | 814 IDR_INSPECTOR_INJECTED_SCRIPT_CANVAS_MODULE_SOURCE_JS, |
| 815 ui::SCALE_FACTOR_NONE }, | 815 ui::SCALE_FACTOR_NONE }, |
| 816 { "InjectedScriptSource.js", IDR_INSPECTOR_INJECTED_SCRIPT_SOURCE_JS, | 816 { "InjectedScriptSource.js", IDR_INSPECTOR_INJECTED_SCRIPT_SOURCE_JS, |
| 817 ui::SCALE_FACTOR_NONE }, | 817 ui::SCALE_FACTOR_NONE }, |
| 818 { "DebuggerScriptSource.js", IDR_INSPECTOR_DEBUGGER_SCRIPT_SOURCE_JS, | 818 { "DebuggerScriptSource.js", IDR_INSPECTOR_DEBUGGER_SCRIPT_SOURCE_JS, |
| 819 ui::SCALE_FACTOR_NONE }, | 819 ui::SCALE_FACTOR_NONE }, |
| 820 { "DocumentXMLTreeViewer.js", IDR_PRIVATE_SCRIPT_DOCUMENTXMLTREEVIEWER_JS, |
| 821 ui::SCALE_FACTOR_NONE }, |
| 822 { "HTMLMarqueeElement.js", IDR_PRIVATE_SCRIPT_HTMLMARQUEEELEMENT_JS, |
| 823 ui::SCALE_FACTOR_NONE }, |
| 824 { "PrivateScriptRunner.js", IDR_PRIVATE_SCRIPT_PRIVATESCRIPTRUNNER_JS, |
| 825 ui::SCALE_FACTOR_NONE }, |
| 820 #ifdef IDR_PICKER_COMMON_JS | 826 #ifdef IDR_PICKER_COMMON_JS |
| 821 { "pickerCommon.js", IDR_PICKER_COMMON_JS, ui::SCALE_FACTOR_NONE }, | 827 { "pickerCommon.js", IDR_PICKER_COMMON_JS, ui::SCALE_FACTOR_NONE }, |
| 822 { "pickerCommon.css", IDR_PICKER_COMMON_CSS, ui::SCALE_FACTOR_NONE }, | 828 { "pickerCommon.css", IDR_PICKER_COMMON_CSS, ui::SCALE_FACTOR_NONE }, |
| 823 { "calendarPicker.js", IDR_CALENDAR_PICKER_JS, ui::SCALE_FACTOR_NONE }, | 829 { "calendarPicker.js", IDR_CALENDAR_PICKER_JS, ui::SCALE_FACTOR_NONE }, |
| 824 { "calendarPicker.css", IDR_CALENDAR_PICKER_CSS, ui::SCALE_FACTOR_NONE }, | 830 { "calendarPicker.css", IDR_CALENDAR_PICKER_CSS, ui::SCALE_FACTOR_NONE }, |
| 825 { "pickerButton.css", IDR_PICKER_BUTTON_CSS, ui::SCALE_FACTOR_NONE }, | 831 { "pickerButton.css", IDR_PICKER_BUTTON_CSS, ui::SCALE_FACTOR_NONE }, |
| 826 { "suggestionPicker.js", IDR_SUGGESTION_PICKER_JS, ui::SCALE_FACTOR_NONE }, | 832 { "suggestionPicker.js", IDR_SUGGESTION_PICKER_JS, ui::SCALE_FACTOR_NONE }, |
| 827 { "suggestionPicker.css", IDR_SUGGESTION_PICKER_CSS, ui::SCALE_FACTOR_NONE }, | 833 { "suggestionPicker.css", IDR_SUGGESTION_PICKER_CSS, ui::SCALE_FACTOR_NONE }, |
| 828 { "colorSuggestionPicker.js", | 834 { "colorSuggestionPicker.js", |
| 829 IDR_COLOR_SUGGESTION_PICKER_JS, ui::SCALE_FACTOR_NONE }, | 835 IDR_COLOR_SUGGESTION_PICKER_JS, ui::SCALE_FACTOR_NONE }, |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1175 } | 1181 } |
| 1176 | 1182 |
| 1177 // static | 1183 // static |
| 1178 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) { | 1184 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) { |
| 1179 WebThreadImplForMessageLoop* impl = | 1185 WebThreadImplForMessageLoop* impl = |
| 1180 static_cast<WebThreadImplForMessageLoop*>(thread); | 1186 static_cast<WebThreadImplForMessageLoop*>(thread); |
| 1181 delete impl; | 1187 delete impl; |
| 1182 } | 1188 } |
| 1183 | 1189 |
| 1184 } // namespace content | 1190 } // namespace content |
| OLD | NEW |