| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebSelection_h | 5 #ifndef WebSelection_h |
| 6 #define WebSelection_h | 6 #define WebSelection_h |
| 7 | 7 |
| 8 #include "../platform/WebCommon.h" | 8 #include "public/platform/WebCommon.h" |
| 9 #include "../platform/WebSelectionBound.h" | 9 #include "public/platform/WebSelectionBound.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 struct CompositedSelection; | 13 struct CompositedSelection; |
| 14 | 14 |
| 15 // The active selection region, containing compositing data for the selection | 15 // The active selection region, containing compositing data for the selection |
| 16 // end points as well as metadata for the selection region. | 16 // end points as well as metadata for the selection region. |
| 17 class BLINK_EXPORT WebSelection { | 17 class BLINK_EXPORT WebSelection { |
| 18 public: | 18 public: |
| 19 enum SelectionType { kNoSelection, kCaretSelection, kRangeSelection }; | 19 enum SelectionType { kNoSelection, kCaretSelection, kRangeSelection }; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 SelectionType selection_type_; | 36 SelectionType selection_type_; |
| 37 | 37 |
| 38 WebSelectionBound start_; | 38 WebSelectionBound start_; |
| 39 WebSelectionBound end_; | 39 WebSelectionBound end_; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace blink | 42 } // namespace blink |
| 43 | 43 |
| 44 #endif // WebSelection_h | 44 #endif // WebSelection_h |
| OLD | NEW |