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

Side by Side Diff: third_party/WebKit/public/web/WebAXObject.h

Issue 1713723002: Implement accessibility support for CSS-transformed iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn build 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebAXObject.cpp ('k') | ui/accessibility/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 24 matching lines...) Expand all
35 #include "../platform/WebPoint.h" 35 #include "../platform/WebPoint.h"
36 #include "../platform/WebPrivateOwnPtr.h" 36 #include "../platform/WebPrivateOwnPtr.h"
37 #include "../platform/WebPrivatePtr.h" 37 #include "../platform/WebPrivatePtr.h"
38 #include "../platform/WebVector.h" 38 #include "../platform/WebVector.h"
39 #include "WebAXEnums.h" 39 #include "WebAXEnums.h"
40 40
41 #if BLINK_IMPLEMENTATION 41 #if BLINK_IMPLEMENTATION
42 namespace WTF { template <typename T> class PassRefPtr; } 42 namespace WTF { template <typename T> class PassRefPtr; }
43 #endif 43 #endif
44 44
45 class SkMatrix44;
46
45 namespace blink { 47 namespace blink {
46 48
47 class AXObject; 49 class AXObject;
48 class ScopedAXObjectCache; 50 class ScopedAXObjectCache;
49 class WebAXObject; 51 class WebAXObject;
50 class WebNode; 52 class WebNode;
51 class WebDocument; 53 class WebDocument;
52 class WebString; 54 class WebString;
53 class WebURL; 55 class WebURL;
54 struct WebPoint; 56 struct WebPoint;
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 BLINK_EXPORT void characterOffsets(WebVector<int>&) const; 277 BLINK_EXPORT void characterOffsets(WebVector<int>&) const;
276 BLINK_EXPORT void wordBoundaries(WebVector<int>& starts, WebVector<int>& end s) const; 278 BLINK_EXPORT void wordBoundaries(WebVector<int>& starts, WebVector<int>& end s) const;
277 279
278 // Scrollable containers. 280 // Scrollable containers.
279 BLINK_EXPORT bool isScrollableContainer() const; 281 BLINK_EXPORT bool isScrollableContainer() const;
280 BLINK_EXPORT WebPoint scrollOffset() const; 282 BLINK_EXPORT WebPoint scrollOffset() const;
281 BLINK_EXPORT WebPoint minimumScrollOffset() const; 283 BLINK_EXPORT WebPoint minimumScrollOffset() const;
282 BLINK_EXPORT WebPoint maximumScrollOffset() const; 284 BLINK_EXPORT WebPoint maximumScrollOffset() const;
283 BLINK_EXPORT void setScrollOffset(const WebPoint&) const; 285 BLINK_EXPORT void setScrollOffset(const WebPoint&) const;
284 286
287 // Transformation relative to the parent frame, if local (otherwise returns identity).
288 BLINK_EXPORT SkMatrix44 transformFromLocalParentFrame() const;
289
285 // Make this object visible by scrolling as many nested scrollable views as needed. 290 // Make this object visible by scrolling as many nested scrollable views as needed.
286 BLINK_EXPORT void scrollToMakeVisible() const; 291 BLINK_EXPORT void scrollToMakeVisible() const;
287 // Same, but if the whole object can't be made visible, try for this subrect , in local coordinates. 292 // Same, but if the whole object can't be made visible, try for this subrect , in local coordinates.
288 BLINK_EXPORT void scrollToMakeVisibleWithSubFocus(const WebRect&) const; 293 BLINK_EXPORT void scrollToMakeVisibleWithSubFocus(const WebRect&) const;
289 // Scroll this object to a given point in global coordinates of the top-leve l window. 294 // Scroll this object to a given point in global coordinates of the top-leve l window.
290 BLINK_EXPORT void scrollToGlobalPoint(const WebPoint&) const; 295 BLINK_EXPORT void scrollToGlobalPoint(const WebPoint&) const;
291 296
292 #if BLINK_IMPLEMENTATION 297 #if BLINK_IMPLEMENTATION
293 WebAXObject(AXObject*); 298 WebAXObject(AXObject*);
294 WebAXObject& operator=(AXObject*); 299 WebAXObject& operator=(AXObject*);
295 operator AXObject*() const; 300 operator AXObject*() const;
296 #endif 301 #endif
297 302
298 private: 303 private:
299 WebPrivatePtr<AXObject> m_private; 304 WebPrivatePtr<AXObject> m_private;
300 }; 305 };
301 306
302 } // namespace blink 307 } // namespace blink
303 308
304 #endif 309 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebAXObject.cpp ('k') | ui/accessibility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698