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

Unified Diff: third_party/WebKit/Source/core/editing/LayoutSelection.h

Issue 2803583002: Rename PendingSelection to LayoutSelection (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698