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

Unified Diff: ui/accessibility/ax_node_data.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
« no previous file with comments | « ui/accessibility/ax_node.cc ('k') | ui/accessibility/ax_tree_combiner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_node_data.h
diff --git a/ui/accessibility/ax_node_data.h b/ui/accessibility/ax_node_data.h
index fe819f1bb084f5bbfe940ed38082d2c1c8786d97..7fe95e2f529e9a8a131c2d8c77549d5aa5375d9d 100644
--- a/ui/accessibility/ax_node_data.h
+++ b/ui/accessibility/ax_node_data.h
@@ -16,7 +16,7 @@
#include "base/strings/string_split.h"
#include "ui/accessibility/ax_enums.h"
#include "ui/accessibility/ax_export.h"
-#include "ui/gfx/geometry/rect.h"
+#include "ui/gfx/geometry/rect_f.h"
namespace gfx {
class Transform;
@@ -114,7 +114,7 @@ struct AX_EXPORT AXNodeData {
std::vector<int32_t> child_ids;
// The object's location relative to its window or frame.
- gfx::Rect location;
+ gfx::RectF location;
// An additional transform to apply to position this object and its subtree.
// NOTE: this member is a std::unique_ptr because it's rare and gfx::Transform
« no previous file with comments | « ui/accessibility/ax_node.cc ('k') | ui/accessibility/ax_tree_combiner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698