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

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

Issue 2858493002: Rename AXObject to AXObjectImpl in modules/ and web/ (Closed)
Patch Set: Fixed rebase Created 3 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) 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ~AXSpinButtonPart() override {} 66 ~AXSpinButtonPart() override {}
67 void SetIsIncrementor(bool value) { is_incrementor_ = value; } 67 void SetIsIncrementor(bool value) { is_incrementor_ = value; }
68 68
69 private: 69 private:
70 explicit AXSpinButtonPart(AXObjectCacheImpl&); 70 explicit AXSpinButtonPart(AXObjectCacheImpl&);
71 bool is_incrementor_ : 1; 71 bool is_incrementor_ : 1;
72 72
73 bool Press() override; 73 bool Press() override;
74 AccessibilityRole RoleValue() const override { return kButtonRole; } 74 AccessibilityRole RoleValue() const override { return kButtonRole; }
75 bool IsSpinButtonPart() const override { return true; } 75 bool IsSpinButtonPart() const override { return true; }
76 void GetRelativeBounds(AXObject** out_container, 76 void GetRelativeBounds(AXObjectImpl** out_container,
77 FloatRect& out_bounds_in_container, 77 FloatRect& out_bounds_in_container,
78 SkMatrix44& out_container_transform) const override; 78 SkMatrix44& out_container_transform) const override;
79 }; 79 };
80 80
81 DEFINE_AX_OBJECT_TYPE_CASTS(AXSpinButton, IsNativeSpinButton()); 81 DEFINE_AX_OBJECT_TYPE_CASTS(AXSpinButton, IsNativeSpinButton());
82 DEFINE_AX_OBJECT_TYPE_CASTS(AXSpinButtonPart, IsSpinButtonPart()); 82 DEFINE_AX_OBJECT_TYPE_CASTS(AXSpinButtonPart, IsSpinButtonPart());
83 83
84 } // namespace blink 84 } // namespace blink
85 85
86 #endif // AXSpinButton_h 86 #endif // AXSpinButton_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698