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

Side by Side Diff: third_party/WebKit/Source/core/editing/FrameSelection.h

Issue 2024703005: Get rid of an unused function FrameSelection::setNonDirectionalSelectionIfNeeded() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-06-01T14:05:43 Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 // Returns true if a word is selected. 199 // Returns true if a word is selected.
200 bool selectWordAroundPosition(const VisiblePosition&); 200 bool selectWordAroundPosition(const VisiblePosition&);
201 201
202 #ifndef NDEBUG 202 #ifndef NDEBUG
203 void formatForDebugger(char* buffer, unsigned length) const; 203 void formatForDebugger(char* buffer, unsigned length) const;
204 void showTreeForThis() const; 204 void showTreeForThis() const;
205 #endif 205 #endif
206 206
207 enum EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary, DoNotAdjsutEnd points }; 207 enum EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary, DoNotAdjsutEnd points };
208 void setNonDirectionalSelectionIfNeeded(const VisibleSelection&, TextGranula rity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints);
209 void setNonDirectionalSelectionIfNeeded(const VisibleSelectionInFlatTree&, T extGranularity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints); 208 void setNonDirectionalSelectionIfNeeded(const VisibleSelectionInFlatTree&, T extGranularity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints);
210 void setFocusedNodeIfNeeded(); 209 void setFocusedNodeIfNeeded();
211 void notifyLayoutObjectOfSelectionChange(EUserTriggered); 210 void notifyLayoutObjectOfSelectionChange(EUserTriggered);
212 211
213 EditingStyle* typingStyle() const; 212 EditingStyle* typingStyle() const;
214 void setTypingStyle(EditingStyle*); 213 void setTypingStyle(EditingStyle*);
215 void clearTypingStyle(); 214 void clearTypingStyle();
216 215
217 String selectedHTMLForClipboard() const; 216 String selectedHTMLForClipboard() const;
218 String selectedText(TextIteratorBehavior = TextIteratorDefaultBehavior) cons t; 217 String selectedText(TextIteratorBehavior = TextIteratorDefaultBehavior) cons t;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 } 316 }
318 } // namespace blink 317 } // namespace blink
319 318
320 #ifndef NDEBUG 319 #ifndef NDEBUG
321 // Outside the WebCore namespace for ease of invocation from gdb. 320 // Outside the WebCore namespace for ease of invocation from gdb.
322 void showTree(const blink::FrameSelection&); 321 void showTree(const blink::FrameSelection&);
323 void showTree(const blink::FrameSelection*); 322 void showTree(const blink::FrameSelection*);
324 #endif 323 #endif
325 324
326 #endif // FrameSelection_h 325 #endif // FrameSelection_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698