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

Unified Diff: content/renderer/accessibility/render_accessibility_impl.h

Issue 2154213007: Replace gfx::Rect with gfx::RectF in ui::AXNodeData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win compile Created 4 years, 5 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: content/renderer/accessibility/render_accessibility_impl.h
diff --git a/content/renderer/accessibility/render_accessibility_impl.h b/content/renderer/accessibility/render_accessibility_impl.h
index f56d2add2cf5d5308a141be7cd2aaba5c0e840d8..002da728a9155e3d63fee7b4e160e8322f250b2d 100644
--- a/content/renderer/accessibility/render_accessibility_impl.h
+++ b/content/renderer/accessibility/render_accessibility_impl.h
@@ -17,6 +17,7 @@
#include "third_party/WebKit/public/web/WebAXObject.h"
#include "ui/accessibility/ax_tree.h"
#include "ui/accessibility/ax_tree_serializer.h"
+#include "ui/gfx/geometry/rect_f.h"
struct AccessibilityHostMsg_EventParams;
@@ -152,7 +153,7 @@ class CONTENT_EXPORT RenderAccessibilityImpl
PdfAXTreeSource* pdf_tree_source_;
// Current location of every object, so we can detect when it moves.
- base::hash_map<int, gfx::Rect> locations_;
+ base::hash_map<int, gfx::RectF> locations_;
// The most recently observed scroll offset of the root document element.
// TODO(dmazzoni): remove once https://bugs.webkit.org/show_bug.cgi?id=73460
« no previous file with comments | « content/renderer/accessibility/blink_ax_tree_source.cc ('k') | content/renderer/accessibility/render_accessibility_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698