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

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

Issue 715963003: Remove alt text from images. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: minor improvement Created 6 years, 1 month 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 enum EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary, DoNotAdjsutEnd points }; 192 enum EndPointsAdjustmentMode { AdjustEndpointsAtBidiBoundary, DoNotAdjsutEnd points };
193 void setNonDirectionalSelectionIfNeeded(const VisibleSelection&, TextGranula rity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints); 193 void setNonDirectionalSelectionIfNeeded(const VisibleSelection&, TextGranula rity, EndPointsAdjustmentMode = DoNotAdjsutEndpoints);
194 void setFocusedNodeIfNeeded(); 194 void setFocusedNodeIfNeeded();
195 void notifyRendererOfSelectionChange(EUserTriggered); 195 void notifyRendererOfSelectionChange(EUserTriggered);
196 196
197 EditingStyle* typingStyle() const; 197 EditingStyle* typingStyle() const;
198 void setTypingStyle(PassRefPtr<EditingStyle>); 198 void setTypingStyle(PassRefPtr<EditingStyle>);
199 void clearTypingStyle(); 199 void clearTypingStyle();
200 200
201 String selectedText() const; 201 String selectedText() const;
202 String selectedTextForClipboard() const;
203 202
204 FloatRect bounds(bool clipToVisibleContent = true) const; 203 FloatRect bounds(bool clipToVisibleContent = true) const;
205 204
206 void revealSelection(const ScrollAlignment& = ScrollAlignment::alignCenterIf Needed, RevealExtentOption = DoNotRevealExtent); 205 void revealSelection(const ScrollAlignment& = ScrollAlignment::alignCenterIf Needed, RevealExtentOption = DoNotRevealExtent);
207 void setSelectionFromNone(); 206 void setSelectionFromNone();
208 207
209 void setShouldShowBlockCursor(bool); 208 void setShouldShowBlockCursor(bool);
210 209
211 // VisibleSelection::ChangeObserver interface. 210 // VisibleSelection::ChangeObserver interface.
212 virtual void didChangeVisibleSelection() override; 211 virtual void didChangeVisibleSelection() override;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 } 300 }
302 } // namespace blink 301 } // namespace blink
303 302
304 #ifndef NDEBUG 303 #ifndef NDEBUG
305 // Outside the WebCore namespace for ease of invocation from gdb. 304 // Outside the WebCore namespace for ease of invocation from gdb.
306 void showTree(const blink::FrameSelection&); 305 void showTree(const blink::FrameSelection&);
307 void showTree(const blink::FrameSelection*); 306 void showTree(const blink::FrameSelection*);
308 #endif 307 #endif
309 308
310 #endif // FrameSelection_h 309 #endif // 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