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 #ifndef CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ | 5 #ifndef CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ |
6 #define CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ | 6 #define CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "gin/wrappable.h" | 9 #include "gin/wrappable.h" |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 class WebFrame; | 12 class WebFrame; |
13 } | 13 } |
14 | 14 |
15 namespace gin { | 15 namespace gin { |
16 class Arguments; | 16 class Arguments; |
17 } | 17 } |
18 | 18 |
19 namespace v8 { | 19 namespace v8 { |
20 class Function; | |
21 class Isolate; | 20 class Isolate; |
22 class Object; | 21 class Object; |
23 } | 22 } |
24 | 23 |
25 namespace content { | 24 namespace content { |
26 | 25 |
27 // gin class for gpu benchmarking | 26 // gin class for gpu benchmarking |
28 class GpuBenchmarking : public gin::Wrappable<GpuBenchmarking> { | 27 class GpuBenchmarking : public gin::Wrappable<GpuBenchmarking> { |
29 public: | 28 public: |
30 static gin::WrapperInfo kWrapperInfo; | 29 static gin::WrapperInfo kWrapperInfo; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 bool HasGpuChannel(); | 61 bool HasGpuChannel(); |
63 bool HasGpuProcess(); | 62 bool HasGpuProcess(); |
64 void GetGpuDriverBugWorkarounds(gin::Arguments* args); | 63 void GetGpuDriverBugWorkarounds(gin::Arguments* args); |
65 | 64 |
66 DISALLOW_COPY_AND_ASSIGN(GpuBenchmarking); | 65 DISALLOW_COPY_AND_ASSIGN(GpuBenchmarking); |
67 }; | 66 }; |
68 | 67 |
69 } // namespace content | 68 } // namespace content |
70 | 69 |
71 #endif // CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ | 70 #endif // CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ |
OLD | NEW |