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

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

Issue 2831583003: Remove LayoutView from LayoutSelection::commit() (Closed)
Patch Set: update 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 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 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 void DidChangeFocus(); 179 void DidChangeFocus();
180 180
181 const SelectionInDOMTree& GetSelectionInDOMTree() const; 181 const SelectionInDOMTree& GetSelectionInDOMTree() const;
182 bool IsDirectional() const { return GetSelectionInDOMTree().IsDirectional(); } 182 bool IsDirectional() const { return GetSelectionInDOMTree().IsDirectional(); }
183 183
184 void DocumentAttached(Document*); 184 void DocumentAttached(Document*);
185 185
186 void DidLayout(); 186 void DidLayout();
187 bool NeedsLayoutSelectionUpdate() const; 187 bool NeedsLayoutSelectionUpdate() const;
188 void CommitAppearanceIfNeeded(LayoutView&); 188 void CommitAppearanceIfNeeded();
189 void SetCaretVisible(bool caret_is_visible); 189 void SetCaretVisible(bool caret_is_visible);
190 void ScheduleVisualUpdate() const; 190 void ScheduleVisualUpdate() const;
191 void ScheduleVisualUpdateForPaintInvalidationIfNeeded() const; 191 void ScheduleVisualUpdateForPaintInvalidationIfNeeded() const;
192 192
193 // Paint invalidation methods delegating to FrameCaret. 193 // Paint invalidation methods delegating to FrameCaret.
194 void ClearPreviousCaretVisualRect(const LayoutBlock&); 194 void ClearPreviousCaretVisualRect(const LayoutBlock&);
195 void LayoutBlockWillBeDestroyed(const LayoutBlock&); 195 void LayoutBlockWillBeDestroyed(const LayoutBlock&);
196 void UpdateStyleAndLayoutIfNeeded(); 196 void UpdateStyleAndLayoutIfNeeded();
197 void InvalidatePaintIfNeeded(const LayoutBlock&, 197 void InvalidatePaintIfNeeded(const LayoutBlock&,
198 const PaintInvalidatorContext&); 198 const PaintInvalidatorContext&);
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 314
315 } // namespace blink 315 } // namespace blink
316 316
317 #ifndef NDEBUG 317 #ifndef NDEBUG
318 // Outside the WebCore namespace for ease of invocation from gdb. 318 // Outside the WebCore namespace for ease of invocation from gdb.
319 void showTree(const blink::FrameSelection&); 319 void showTree(const blink::FrameSelection&);
320 void showTree(const blink::FrameSelection*); 320 void showTree(const blink::FrameSelection*);
321 #endif 321 #endif
322 322
323 #endif // FrameSelection_h 323 #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