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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 bool SmoothDrag(gin::Arguments* args); | 47 bool SmoothDrag(gin::Arguments* args); |
48 bool Swipe(gin::Arguments* args); | 48 bool Swipe(gin::Arguments* args); |
49 bool ScrollBounce(gin::Arguments* args); | 49 bool ScrollBounce(gin::Arguments* args); |
50 bool PinchBy(gin::Arguments* args); | 50 bool PinchBy(gin::Arguments* args); |
51 float VisualViewportX(); | 51 float VisualViewportX(); |
52 float VisualViewportY(); | 52 float VisualViewportY(); |
53 float VisualViewportHeight(); | 53 float VisualViewportHeight(); |
54 float VisualViewportWidth(); | 54 float VisualViewportWidth(); |
55 float PageScaleFactor(); | 55 float PageScaleFactor(); |
56 bool Tap(gin::Arguments* args); | 56 bool Tap(gin::Arguments* args); |
| 57 bool TouchActionSequence(gin::Arguments* args); |
57 void ClearImageCache(); | 58 void ClearImageCache(); |
58 int RunMicroBenchmark(gin::Arguments* args); | 59 int RunMicroBenchmark(gin::Arguments* args); |
59 bool SendMessageToMicroBenchmark(int id, v8::Local<v8::Object> message); | 60 bool SendMessageToMicroBenchmark(int id, v8::Local<v8::Object> message); |
60 bool HasGpuChannel(); | 61 bool HasGpuChannel(); |
61 bool HasGpuProcess(); | 62 bool HasGpuProcess(); |
62 void GetGpuDriverBugWorkarounds(gin::Arguments* args); | 63 void GetGpuDriverBugWorkarounds(gin::Arguments* args); |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(GpuBenchmarking); | 65 DISALLOW_COPY_AND_ASSIGN(GpuBenchmarking); |
65 }; | 66 }; |
66 | 67 |
67 } // namespace content | 68 } // namespace content |
68 | 69 |
69 #endif // CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ | 70 #endif // CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ |
OLD | NEW |