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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXScrollView.h

Issue 1552683002: Enable DumpAccessibilityTree tests to use cross-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebaseline last Android test Created 4 years, 11 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) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 26 matching lines...) Expand all
37 37
38 class AXScrollView final : public AXObject { 38 class AXScrollView final : public AXObject {
39 public: 39 public:
40 static AXScrollView* create(FrameView*, AXObjectCacheImpl&); 40 static AXScrollView* create(FrameView*, AXObjectCacheImpl&);
41 AccessibilityRole roleValue() const override { return ScrollAreaRole; } 41 AccessibilityRole roleValue() const override { return ScrollAreaRole; }
42 42
43 ~AXScrollView() override; 43 ~AXScrollView() override;
44 DECLARE_VIRTUAL_TRACE(); 44 DECLARE_VIRTUAL_TRACE();
45 void detach() override; 45 void detach() override;
46 46
47 protected:
48 ScrollableArea* getScrollableAreaIfScrollable() const override;
49
50 private: 47 private:
51 AXScrollView(FrameView*, AXObjectCacheImpl&); 48 AXScrollView(FrameView*, AXObjectCacheImpl&);
52 49
53 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ; 50 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ;
54 bool isAXScrollView() const override { return true; } 51 bool isAXScrollView() const override { return true; }
55 bool isEnabled() const override { return true; } 52 bool isEnabled() const override { return true; }
56 53
57 bool isAttachment() const override; 54 bool isAttachment() const override;
58 Widget* widgetForAttachmentView() const override; 55 Widget* widgetForAttachmentView() const override;
59 56
(...skipping 17 matching lines...) Expand all
77 74
78 RawPtrWillBeMember<FrameView> m_scrollView; 75 RawPtrWillBeMember<FrameView> m_scrollView;
79 Member<AXObject> m_horizontalScrollbar; 76 Member<AXObject> m_horizontalScrollbar;
80 Member<AXObject> m_verticalScrollbar; 77 Member<AXObject> m_verticalScrollbar;
81 bool m_childrenDirty; 78 bool m_childrenDirty;
82 }; 79 };
83 80
84 } // namespace blink 81 } // namespace blink
85 82
86 #endif // AXScrollView_h 83 #endif // AXScrollView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698