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

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

Issue 1756763002: 2016-03-02T18:53:01 LayoutPosition Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-04-25T19:02:18 Created 4 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/Position.h
diff --git a/third_party/WebKit/Source/core/editing/Position.h b/third_party/WebKit/Source/core/editing/Position.h
index a00d20ba4a4c7bd12434b0dd8b6e06124f78faa0..d5b8f48721f48bb24c1d5f81675b2522d6c8b89e 100644
--- a/third_party/WebKit/Source/core/editing/Position.h
+++ b/third_party/WebKit/Source/core/editing/Position.h
@@ -35,6 +35,7 @@
#include "wtf/Assertions.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
+#include <iosfwd>
namespace blink {
@@ -173,12 +174,12 @@ public:
static bool offsetIsBeforeLastNodeOffset(int offset, Node* anchorNode);
static PositionTemplate<Strategy> firstPositionInOrBeforeNode(Node* anchorNode);
static PositionTemplate<Strategy> lastPositionInOrAfterNode(Node* anchorNode);
+ static PositionTemplate<Strategy> normalize(const PositionTemplate<Strategy>&);
void debugPosition(const char* msg = "") const;
#ifndef NDEBUG
void formatForDebugger(char* buffer, unsigned length) const;
- void showAnchorTypeAndOffset() const;
void showTreeForThis() const;
void showTreeForThisInFlatTree() const;
#endif
« no previous file with comments | « third_party/WebKit/Source/core/editing/LayoutTreeTraversal.cpp ('k') | third_party/WebKit/Source/core/editing/Position.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698