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

Side by Side Diff: Source/core/page/DOMSelection.h

Issue 463543002: Oilpan: Ensure that classes with virtual trace methods always have vtables for their left-most base… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights 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 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void addRange(Range*); 91 void addRange(Range*);
92 void deleteFromDocument(); 92 void deleteFromDocument();
93 bool containsNode(const Node*, bool partlyContained) const; 93 bool containsNode(const Node*, bool partlyContained) const;
94 void selectAllChildren(Node*, ExceptionState&); 94 void selectAllChildren(Node*, ExceptionState&);
95 95
96 String toString(); 96 String toString();
97 97
98 // Microsoft Selection Object API 98 // Microsoft Selection Object API
99 void empty(); 99 void empty();
100 100
101 void trace(Visitor* visitor) { visitor->trace(m_treeScope); } 101 virtual void trace(Visitor* visitor) { visitor->trace(m_treeScope); }
102 102
103 private: 103 private:
104 explicit DOMSelection(const TreeScope*); 104 explicit DOMSelection(const TreeScope*);
105 105
106 // Convenience method for accessors, does not check m_frame present. 106 // Convenience method for accessors, does not check m_frame present.
107 const VisibleSelection& visibleSelection() const; 107 const VisibleSelection& visibleSelection() const;
108 108
109 Node* shadowAdjustedNode(const Position&) const; 109 Node* shadowAdjustedNode(const Position&) const;
110 int shadowAdjustedOffset(const Position&) const; 110 int shadowAdjustedOffset(const Position&) const;
111 111
112 bool isValidForPosition(Node*) const; 112 bool isValidForPosition(Node*) const;
113 113
114 void addConsoleError(const String& message); 114 void addConsoleError(const String& message);
115 115
116 RawPtrWillBeMember<const TreeScope> m_treeScope; 116 RawPtrWillBeMember<const TreeScope> m_treeScope;
117 }; 117 };
118 118
119 } // namespace blink 119 } // namespace blink
120 120
121 #endif // DOMSelection_h 121 #endif // DOMSelection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698