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

Unified Diff: content/browser/accessibility/browser_accessibility.h

Issue 2759903002: Accessible bounds should include device scale factor on Windows. (Closed)
Patch Set: Rename to use_custom_device_scale_factor_for_testing Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility.h
diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
index e9f2e3a2ac858136f48076619147474a684107df..8334569eb8ab04c6b1081fa982329126d2283e83 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -164,7 +164,8 @@ class CONTENT_EXPORT BrowserAccessibility {
// (which is relative to its nearest scrollable ancestor) to
// absolute bounds, either in page coordinates (when |frameOnly| is
// false), or in frame coordinates (when |frameOnly| is true).
- gfx::Rect RelativeToAbsoluteBounds(gfx::RectF bounds, bool frame_only) const;
+ virtual gfx::Rect RelativeToAbsoluteBounds(gfx::RectF bounds,
+ bool frame_only) const;
// This is to handle the cases such as ARIA textbox, where the value should
// be calculated from the object's inner text.
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698