| 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 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 float VisualViewportHeight(); | 55 float VisualViewportHeight(); |
| 56 float VisualViewportWidth(); | 56 float VisualViewportWidth(); |
| 57 float PageScaleFactor(); | 57 float PageScaleFactor(); |
| 58 bool Tap(gin::Arguments* args); | 58 bool Tap(gin::Arguments* args); |
| 59 void ClearImageCache(); | 59 void ClearImageCache(); |
| 60 int RunMicroBenchmark(gin::Arguments* args); | 60 int RunMicroBenchmark(gin::Arguments* args); |
| 61 bool SendMessageToMicroBenchmark(int id, v8::Local<v8::Object> message); | 61 bool SendMessageToMicroBenchmark(int id, v8::Local<v8::Object> message); |
| 62 bool HasGpuChannel(); | 62 bool HasGpuChannel(); |
| 63 bool HasGpuProcess(); | 63 bool HasGpuProcess(); |
| 64 void GetGpuDriverBugWorkarounds(gin::Arguments* args); | 64 void GetGpuDriverBugWorkarounds(gin::Arguments* args); |
| 65 bool TouchActionSequence(gin::Arguments* args); |
| 65 | 66 |
| 66 DISALLOW_COPY_AND_ASSIGN(GpuBenchmarking); | 67 DISALLOW_COPY_AND_ASSIGN(GpuBenchmarking); |
| 67 }; | 68 }; |
| 68 | 69 |
| 69 } // namespace content | 70 } // namespace content |
| 70 | 71 |
| 71 #endif // CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ | 72 #endif // CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ |
| OLD | NEW |