| Index: third_party/WebKit/Source/core/editing/LayoutSelection.h
|
| diff --git a/third_party/WebKit/Source/core/editing/PendingSelection.h b/third_party/WebKit/Source/core/editing/LayoutSelection.h
|
| similarity index 84%
|
| rename from third_party/WebKit/Source/core/editing/PendingSelection.h
|
| rename to third_party/WebKit/Source/core/editing/LayoutSelection.h
|
| index f1b7b62411fcd1c054f227830da275777e9df7fc..5854eaca5f59c357024c4a4cf843d8efc8d79816 100644
|
| --- a/third_party/WebKit/Source/core/editing/PendingSelection.h
|
| +++ b/third_party/WebKit/Source/core/editing/LayoutSelection.h
|
| @@ -19,8 +19,8 @@
|
| *
|
| */
|
|
|
| -#ifndef PendingSelection_h
|
| -#define PendingSelection_h
|
| +#ifndef LayoutSelection_h
|
| +#define LayoutSelection_h
|
|
|
| #include "core/editing/Position.h"
|
| #include "core/editing/VisibleSelection.h"
|
| @@ -31,10 +31,10 @@ namespace blink {
|
| class FrameSelection;
|
| class LayoutView;
|
|
|
| -class PendingSelection final : public GarbageCollected<PendingSelection> {
|
| +class LayoutSelection final : public GarbageCollected<LayoutSelection> {
|
| public:
|
| - static PendingSelection* create(FrameSelection& frameSelection) {
|
| - return new PendingSelection(frameSelection);
|
| + static LayoutSelection* create(FrameSelection& frameSelection) {
|
| + return new LayoutSelection(frameSelection);
|
| }
|
|
|
| bool hasPendingSelection() const { return m_hasPendingSelection; }
|
| @@ -44,7 +44,7 @@ class PendingSelection final : public GarbageCollected<PendingSelection> {
|
| DECLARE_TRACE();
|
|
|
| private:
|
| - PendingSelection(FrameSelection&);
|
| + LayoutSelection(FrameSelection&);
|
|
|
| const VisibleSelection& visibleSelection() const;
|
|
|
|
|