| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 
|  | 2 // Use of this source code is governed by a BSD-style license that can be | 
|  | 3 // found in the LICENSE file. | 
|  | 4 | 
|  | 5 #ifndef UI_ACCESSIBILITY_AX_RANGE_H_ | 
|  | 6 #define UI_ACCESSIBILITY_AX_RANGE_H_ | 
|  | 7 | 
|  | 8 #include "ui/accessibility/ax_position.h" | 
|  | 9 | 
|  | 10 namespace ui { | 
|  | 11 | 
|  | 12 // A range of ax positions. | 
|  | 13 struct AX_EXPORT AXRange { | 
|  | 14   AXRange() : anchor(AXPosition()), focus(AXPosition()) { | 
|  | 15   } | 
|  | 16 | 
|  | 17   AXRange(AXPosition anchor, AXPosition focus) | 
|  | 18       : anchor(anchor), focus(focus) { | 
|  | 19   } | 
|  | 20 | 
|  | 21   virtual ~AXRange() { | 
|  | 22   } | 
|  | 23 | 
|  | 24   bool IsNull() const { return anchor.IsNull() || focus.IsNull(); } | 
|  | 25 | 
|  | 26   AXPosition anchor; | 
|  | 27   AXPosition focus; | 
|  | 28 }; | 
|  | 29 | 
|  | 30 }  // namespace ui | 
|  | 31 | 
|  | 32 #endif  // UI_ACCESSIBILITY_AX_RANGE_H_ | 
| OLD | NEW | 
|---|