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

Unified Diff: chrome/renderer/extensions/automation_internal_custom_bindings.h

Issue 2911553002: Fix automation API bounding boxes on high-dpi devices (Closed)
Patch Set: Add comment about mutating cache Created 3 years, 7 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
Index: chrome/renderer/extensions/automation_internal_custom_bindings.h
diff --git a/chrome/renderer/extensions/automation_internal_custom_bindings.h b/chrome/renderer/extensions/automation_internal_custom_bindings.h
index c2e3b6ca693af008101a7d23dfbebabf444b6e1c..2a20f434dce7b3ff6163171b40190d1256b5995b 100644
--- a/chrome/renderer/extensions/automation_internal_custom_bindings.h
+++ b/chrome/renderer/extensions/automation_internal_custom_bindings.h
@@ -59,6 +59,8 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler,
return ObjectBackedNativeHandler::context();
}
+ float GetDeviceScaleFactor() const;
+
private:
// ObjectBackedNativeHandler overrides:
void Invalidate() override;

Powered by Google App Engine
This is Rietveld 408576698