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

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

Issue 1996873002: AXObject is not copyable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more accessibility classes Created 4 years, 7 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) 2010 Nokia Corporation and/or its subsidiary(-ies). 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 12 matching lines...) Expand all
23 23
24 #include "modules/accessibility/AXLayoutObject.h" 24 #include "modules/accessibility/AXLayoutObject.h"
25 25
26 namespace blink { 26 namespace blink {
27 27
28 class AXObjectCacheImpl; 28 class AXObjectCacheImpl;
29 class HTMLProgressElement; 29 class HTMLProgressElement;
30 class LayoutProgress; 30 class LayoutProgress;
31 31
32 class AXProgressIndicator final : public AXLayoutObject { 32 class AXProgressIndicator final : public AXLayoutObject {
33 WTF_MAKE_NONCOPYABLE(AXProgressIndicator);
34
33 public: 35 public:
34 static AXProgressIndicator* create(LayoutProgress*, AXObjectCacheImpl&); 36 static AXProgressIndicator* create(LayoutProgress*, AXObjectCacheImpl&);
35 37
36 private: 38 private:
37 AccessibilityRole determineAccessibilityRole() final; 39 AccessibilityRole determineAccessibilityRole() final;
38 40
39 bool isProgressIndicator() const override { return true; } 41 bool isProgressIndicator() const override { return true; }
40 42
41 float valueForRange() const override; 43 float valueForRange() const override;
42 float maxValueForRange() const override; 44 float maxValueForRange() const override;
43 float minValueForRange() const override; 45 float minValueForRange() const override;
44 46
45 AXProgressIndicator(LayoutProgress*, AXObjectCacheImpl&); 47 AXProgressIndicator(LayoutProgress*, AXObjectCacheImpl&);
46 48
47 HTMLProgressElement* element() const; 49 HTMLProgressElement* element() const;
48 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ; 50 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ;
49 }; 51 };
50 52
51 53
52 } // namespace blink 54 } // namespace blink
53 55
54 #endif // AXProgressIndicator_h 56 #endif // AXProgressIndicator_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698