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

Unified Diff: content/renderer/gpu/gpu_benchmarking_extension.h

Issue 1866793003: Add methods to GPU extensions to precisely determine visual viewport dimensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/gpu_benchmarking_extension.h
diff --git a/content/renderer/gpu/gpu_benchmarking_extension.h b/content/renderer/gpu/gpu_benchmarking_extension.h
index 3728fed5074d4e7e7767e79ee45ee575b1396c6e..f9a6967ae9b2b6c4c3f1fe48c1320ef0d302b2a6 100644
--- a/content/renderer/gpu/gpu_benchmarking_extension.h
+++ b/content/renderer/gpu/gpu_benchmarking_extension.h
@@ -48,8 +48,11 @@ class GpuBenchmarking : public gin::Wrappable<GpuBenchmarking> {
bool Swipe(gin::Arguments* args);
bool ScrollBounce(gin::Arguments* args);
bool PinchBy(gin::Arguments* args);
+ float VisualViewportX();
+ float VisualViewportY();
float VisualViewportHeight();
float VisualViewportWidth();
+ float PageScaleFactor();
bool Tap(gin::Arguments* args);
void ClearImageCache();
int RunMicroBenchmark(gin::Arguments* args);
« no previous file with comments | « no previous file | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698