Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: content/renderer/gpu/gpu_benchmarking_extension.h

Issue 914183002: Remove window.chrome.gpuBenchmarking.beginWindowSnapshotPNG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/basictypes.h" 8 #include "base/basictypes.h"
9 #include "gin/wrappable.h" 9 #include "gin/wrappable.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 void SetNeedsDisplayOnAllLayers(); 43 void SetNeedsDisplayOnAllLayers();
44 void SetRasterizeOnlyVisibleContent(); 44 void SetRasterizeOnlyVisibleContent();
45 void PrintToSkPicture(v8::Isolate* isolate, const std::string& dirname); 45 void PrintToSkPicture(v8::Isolate* isolate, const std::string& dirname);
46 bool GestureSourceTypeSupported(int gesture_source_type); 46 bool GestureSourceTypeSupported(int gesture_source_type);
47 bool SmoothScrollBy(gin::Arguments* args); 47 bool SmoothScrollBy(gin::Arguments* args);
48 bool SmoothDrag(gin::Arguments* args); 48 bool SmoothDrag(gin::Arguments* args);
49 bool Swipe(gin::Arguments* args); 49 bool Swipe(gin::Arguments* args);
50 bool ScrollBounce(gin::Arguments* args); 50 bool ScrollBounce(gin::Arguments* args);
51 bool PinchBy(gin::Arguments* args); 51 bool PinchBy(gin::Arguments* args);
52 bool Tap(gin::Arguments* args); 52 bool Tap(gin::Arguments* args);
53 void BeginWindowSnapshotPNG(v8::Isolate* isolate,
54 v8::Handle<v8::Function> callback);
55 void ClearImageCache(); 53 void ClearImageCache();
56 int RunMicroBenchmark(gin::Arguments* args); 54 int RunMicroBenchmark(gin::Arguments* args);
57 bool SendMessageToMicroBenchmark(int id, v8::Handle<v8::Object> message); 55 bool SendMessageToMicroBenchmark(int id, v8::Handle<v8::Object> message);
58 bool HasGpuProcess(); 56 bool HasGpuProcess();
59 57
60 DISALLOW_COPY_AND_ASSIGN(GpuBenchmarking); 58 DISALLOW_COPY_AND_ASSIGN(GpuBenchmarking);
61 }; 59 };
62 60
63 } // namespace content 61 } // namespace content
64 62
65 #endif // CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ 63 #endif // CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698