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

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: Fixed another skia dependency Created 4 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 unified diff | Download patch
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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 BLINK_EXPORT void characterOffsets(WebVector<int>&) const; 276 BLINK_EXPORT void characterOffsets(WebVector<int>&) const;
275 BLINK_EXPORT void wordBoundaries(WebVector<int>& starts, WebVector<int>& end s) const; 277 BLINK_EXPORT void wordBoundaries(WebVector<int>& starts, WebVector<int>& end s) const;
276 278
277 // Scrollable containers. 279 // Scrollable containers.
278 BLINK_EXPORT bool isScrollableContainer() const; 280 BLINK_EXPORT bool isScrollableContainer() const;
279 BLINK_EXPORT WebPoint scrollOffset() const; 281 BLINK_EXPORT WebPoint scrollOffset() const;
280 BLINK_EXPORT WebPoint minimumScrollOffset() const; 282 BLINK_EXPORT WebPoint minimumScrollOffset() const;
281 BLINK_EXPORT WebPoint maximumScrollOffset() const; 283 BLINK_EXPORT WebPoint maximumScrollOffset() const;
282 BLINK_EXPORT void setScrollOffset(const WebPoint&) const; 284 BLINK_EXPORT void setScrollOffset(const WebPoint&) const;
283 285
286 // Transformation relative to the local frame root.
287 BLINK_EXPORT SkMatrix44 localFrameRootTransform() const;
288
284 // Make this object visible by scrolling as many nested scrollable views as needed. 289 // Make this object visible by scrolling as many nested scrollable views as needed.
285 BLINK_EXPORT void scrollToMakeVisible() const; 290 BLINK_EXPORT void scrollToMakeVisible() const;
286 // Same, but if the whole object can't be made visible, try for this subrect , in local coordinates. 291 // Same, but if the whole object can't be made visible, try for this subrect , in local coordinates.
287 BLINK_EXPORT void scrollToMakeVisibleWithSubFocus(const WebRect&) const; 292 BLINK_EXPORT void scrollToMakeVisibleWithSubFocus(const WebRect&) const;
288 // Scroll this object to a given point in global coordinates of the top-leve l window. 293 // Scroll this object to a given point in global coordinates of the top-leve l window.
289 BLINK_EXPORT void scrollToGlobalPoint(const WebPoint&) const; 294 BLINK_EXPORT void scrollToGlobalPoint(const WebPoint&) const;
290 295
291 #if BLINK_IMPLEMENTATION 296 #if BLINK_IMPLEMENTATION
292 WebAXObject(AXObject*); 297 WebAXObject(AXObject*);
293 WebAXObject& operator=(AXObject*); 298 WebAXObject& operator=(AXObject*);
294 operator AXObject*() const; 299 operator AXObject*() const;
295 #endif 300 #endif
296 301
297 private: 302 private:
298 WebPrivatePtr<AXObject> m_private; 303 WebPrivatePtr<AXObject> m_private;
299 }; 304 };
300 305
301 } // namespace blink 306 } // namespace blink
302 307
303 #endif 308 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698