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

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

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 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 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after
1689 m_selection.formatForDebugger(buffer, length); 1689 m_selection.formatForDebugger(buffer, length);
1690 } 1690 }
1691 1691
1692 void FrameSelection::showTreeForThis() const 1692 void FrameSelection::showTreeForThis() const
1693 { 1693 {
1694 m_selection.showTreeForThis(); 1694 m_selection.showTreeForThis();
1695 } 1695 }
1696 1696
1697 #endif 1697 #endif
1698 1698
1699 void FrameSelection::trace(Visitor* visitor)
1700 {
1701 visitor->trace(m_selection);
1702 visitor->trace(m_originalBase);
1703 visitor->trace(m_logicalRange);
1704 visitor->trace(m_previousCaretNode);
1705 visitor->trace(m_typingStyle);
1706 VisibleSelection::ChangeObserver::trace(visitor);
1707 }
1708
1709 void FrameSelection::setCaretRectNeedsUpdate() 1699 void FrameSelection::setCaretRectNeedsUpdate()
1710 { 1700 {
1711 m_caretRectDirty = true; 1701 m_caretRectDirty = true;
1712 1702
1713 scheduleVisualUpdate(); 1703 scheduleVisualUpdate();
1714 } 1704 }
1715 1705
1716 void FrameSelection::scheduleVisualUpdate() const 1706 void FrameSelection::scheduleVisualUpdate() const
1717 { 1707 {
1718 if (!m_frame) 1708 if (!m_frame)
(...skipping 11 matching lines...) Expand all
1730 sel.showTreeForThis(); 1720 sel.showTreeForThis();
1731 } 1721 }
1732 1722
1733 void showTree(const blink::FrameSelection* sel) 1723 void showTree(const blink::FrameSelection* sel)
1734 { 1724 {
1735 if (sel) 1725 if (sel)
1736 sel->showTreeForThis(); 1726 sel->showTreeForThis();
1737 } 1727 }
1738 1728
1739 #endif 1729 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/editing/FrameSelection.h ('k') | sky/engine/core/editing/InsertIntoTextNodeCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698