| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/renderer/gpu/gpu_benchmarking_extension.h" | 5 #include "content/renderer/gpu/gpu_benchmarking_extension.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "content/public/renderer/chrome_object_extensions_utils.h" | 28 #include "content/public/renderer/chrome_object_extensions_utils.h" |
| 29 #include "content/public/renderer/render_thread.h" | 29 #include "content/public/renderer/render_thread.h" |
| 30 #include "content/renderer/gpu/render_widget_compositor.h" | 30 #include "content/renderer/gpu/render_widget_compositor.h" |
| 31 #include "content/renderer/render_thread_impl.h" | 31 #include "content/renderer/render_thread_impl.h" |
| 32 #include "content/renderer/render_view_impl.h" | 32 #include "content/renderer/render_view_impl.h" |
| 33 #include "content/renderer/skia_benchmarking_extension.h" | 33 #include "content/renderer/skia_benchmarking_extension.h" |
| 34 #include "gin/arguments.h" | 34 #include "gin/arguments.h" |
| 35 #include "gin/handle.h" | 35 #include "gin/handle.h" |
| 36 #include "gin/object_template_builder.h" | 36 #include "gin/object_template_builder.h" |
| 37 #include "gpu/ipc/common/gpu_messages.h" | 37 #include "gpu/ipc/common/gpu_messages.h" |
| 38 #include "third_party/WebKit/public/platform/WebMouseEvent.h" |
| 38 #include "third_party/WebKit/public/web/WebImageCache.h" | 39 #include "third_party/WebKit/public/web/WebImageCache.h" |
| 39 #include "third_party/WebKit/public/web/WebKit.h" | 40 #include "third_party/WebKit/public/web/WebKit.h" |
| 40 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 41 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
| 41 #include "third_party/WebKit/public/web/WebPrintParams.h" | 42 #include "third_party/WebKit/public/web/WebPrintParams.h" |
| 42 #include "third_party/WebKit/public/web/WebSettings.h" | 43 #include "third_party/WebKit/public/web/WebSettings.h" |
| 43 #include "third_party/WebKit/public/web/WebView.h" | 44 #include "third_party/WebKit/public/web/WebView.h" |
| 44 #include "third_party/skia/include/core/SkData.h" | 45 #include "third_party/skia/include/core/SkData.h" |
| 45 #include "third_party/skia/include/core/SkGraphics.h" | 46 #include "third_party/skia/include/core/SkGraphics.h" |
| 46 #include "third_party/skia/include/core/SkPicture.h" | 47 #include "third_party/skia/include/core/SkPicture.h" |
| 47 #include "third_party/skia/include/core/SkPictureRecorder.h" | 48 #include "third_party/skia/include/core/SkPictureRecorder.h" |
| (...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 &gpu_driver_bug_workarounds))) { | 1045 &gpu_driver_bug_workarounds))) { |
| 1045 return; | 1046 return; |
| 1046 } | 1047 } |
| 1047 | 1048 |
| 1048 v8::Local<v8::Value> result; | 1049 v8::Local<v8::Value> result; |
| 1049 if (gin::TryConvertToV8(args->isolate(), gpu_driver_bug_workarounds, &result)) | 1050 if (gin::TryConvertToV8(args->isolate(), gpu_driver_bug_workarounds, &result)) |
| 1050 args->Return(result); | 1051 args->Return(result); |
| 1051 } | 1052 } |
| 1052 | 1053 |
| 1053 } // namespace content | 1054 } // namespace content |
| OLD | NEW |