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

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

Issue 2623053006: Get rid of CaretBase::m_caretLocalRect (Closed)
Patch Set: 2017-01-12T19:03:43 Created 3 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
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 DECLARE_TRACE(); 56 DECLARE_TRACE();
57 57
58 private: 58 private:
59 DragCaretController(); 59 DragCaretController();
60 60
61 // Implementations of |SynchronousMutationObserver| 61 // Implementations of |SynchronousMutationObserver|
62 void nodeChildrenWillBeRemoved(ContainerNode&) final; 62 void nodeChildrenWillBeRemoved(ContainerNode&) final;
63 void nodeWillBeRemoved(Node&) final; 63 void nodeWillBeRemoved(Node&) final;
64 64
65 PositionWithAffinity m_position; 65 PositionWithAffinity m_position;
66 // caret rect in coords local to the layoutObject responsible for painting the
67 // caret
68 LayoutRect m_caretLocalRect;
66 const Member<CaretBase> m_caretBase; 69 const Member<CaretBase> m_caretBase;
67 }; 70 };
68 71
69 } // namespace blink 72 } // namespace blink
70 73
71 #endif // DragCaretController_h 74 #endif // DragCaretController_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/CaretBase.cpp ('k') | third_party/WebKit/Source/core/editing/DragCaretController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698