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

Side by Side Diff: sky/engine/core/editing/FrameSelection.h

Issue 847633002: Remove dead boolean argument (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | sky/engine/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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 void setNonDirectionalSelectionIfNeeded(const VisibleSelection&, TextGranula rity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints); 191 void setNonDirectionalSelectionIfNeeded(const VisibleSelection&, TextGranula rity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints);
192 void setFocusedNodeIfNeeded(); 192 void setFocusedNodeIfNeeded();
193 void notifyRendererOfSelectionChange(EUserTriggered); 193 void notifyRendererOfSelectionChange(EUserTriggered);
194 194
195 EditingStyle* typingStyle() const; 195 EditingStyle* typingStyle() const;
196 void setTypingStyle(PassRefPtr<EditingStyle>); 196 void setTypingStyle(PassRefPtr<EditingStyle>);
197 void clearTypingStyle(); 197 void clearTypingStyle();
198 198
199 String selectedText() const; 199 String selectedText() const;
200 200
201 FloatRect bounds(bool clipToVisibleContent = true) const; 201 FloatRect bounds() const;
202 202
203 void revealSelection(const ScrollAlignment& = ScrollAlignment::alignCenterIf Needed, RevealExtentOption = DoNotRevealExtent); 203 void revealSelection(const ScrollAlignment& = ScrollAlignment::alignCenterIf Needed, RevealExtentOption = DoNotRevealExtent);
204 void setSelectionFromNone(); 204 void setSelectionFromNone();
205 205
206 void setShouldShowBlockCursor(bool); 206 void setShouldShowBlockCursor(bool);
207 207
208 // VisibleSelection::ChangeObserver interface. 208 // VisibleSelection::ChangeObserver interface.
209 virtual void didChangeVisibleSelection() override; 209 virtual void didChangeVisibleSelection() override;
210 210
211 private: 211 private:
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 } 292 }
293 } // namespace blink 293 } // namespace blink
294 294
295 #ifndef NDEBUG 295 #ifndef NDEBUG
296 // Outside the WebCore namespace for ease of invocation from gdb. 296 // Outside the WebCore namespace for ease of invocation from gdb.
297 void showTree(const blink::FrameSelection&); 297 void showTree(const blink::FrameSelection&);
298 void showTree(const blink::FrameSelection*); 298 void showTree(const blink::FrameSelection*);
299 #endif 299 #endif
300 300
301 #endif // SKY_ENGINE_CORE_EDITING_FRAMESELECTION_H_ 301 #endif // SKY_ENGINE_CORE_EDITING_FRAMESELECTION_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698