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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.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 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2010 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 28
29 #include "modules/accessibility/AXMockObject.h" 29 #include "modules/accessibility/AXMockObject.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class AXObjectCacheImpl; 33 class AXObjectCacheImpl;
34 class AXMenuListOption; 34 class AXMenuListOption;
35 class HTMLElement; 35 class HTMLElement;
36 36
37 class AXMenuListPopup final : public AXMockObject { 37 class AXMenuListPopup final : public AXMockObject {
38 WTF_MAKE_NONCOPYABLE(AXMenuListPopup);
39
38 public: 40 public:
39 static AXMenuListPopup* create(AXObjectCacheImpl& axObjectCache) { return ne w AXMenuListPopup(axObjectCache); } 41 static AXMenuListPopup* create(AXObjectCacheImpl& axObjectCache) { return ne w AXMenuListPopup(axObjectCache); }
40 42
41 bool isEnabled() const override; 43 bool isEnabled() const override;
42 bool isOffScreen() const override; 44 bool isOffScreen() const override;
43 45
44 void didUpdateActiveOption(int optionIndex); 46 void didUpdateActiveOption(int optionIndex);
45 void didShow(); 47 void didShow();
46 void didHide(); 48 void didHide();
47 AXObject* activeChild(); 49 AXObject* activeChild();
(...skipping 17 matching lines...) Expand all
65 67
66 // Note that this may be -1 if nothing is selected. 68 // Note that this may be -1 if nothing is selected.
67 int m_activeIndex; 69 int m_activeIndex;
68 }; 70 };
69 71
70 DEFINE_AX_OBJECT_TYPE_CASTS(AXMenuListPopup, isMenuListPopup()); 72 DEFINE_AX_OBJECT_TYPE_CASTS(AXMenuListPopup, isMenuListPopup());
71 73
72 } // namespace blink 74 } // namespace blink
73 75
74 #endif // AXMenuListPopup_h 76 #endif // AXMenuListPopup_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698