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

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

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
« no previous file with comments | « sky/engine/core/editing/EditingStyle.cpp ('k') | sky/engine/core/editing/Editor.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) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 class RevealSelectionScope { 209 class RevealSelectionScope {
210 WTF_MAKE_NONCOPYABLE(RevealSelectionScope); 210 WTF_MAKE_NONCOPYABLE(RevealSelectionScope);
211 public: 211 public:
212 RevealSelectionScope(Editor*); 212 RevealSelectionScope(Editor*);
213 ~RevealSelectionScope(); 213 ~RevealSelectionScope();
214 private: 214 private:
215 Editor* m_editor; 215 Editor* m_editor;
216 }; 216 };
217 friend class RevealSelectionScope; 217 friend class RevealSelectionScope;
218 218
219 void trace(Visitor*);
220
221 private: 219 private:
222 LocalFrame& m_frame; 220 LocalFrame& m_frame;
223 RefPtr<CompositeEditCommand> m_lastEditCommand; 221 RefPtr<CompositeEditCommand> m_lastEditCommand;
224 int m_preventRevealSelection; 222 int m_preventRevealSelection;
225 bool m_shouldStyleWithCSS; 223 bool m_shouldStyleWithCSS;
226 VisibleSelection m_mark; 224 VisibleSelection m_mark;
227 bool m_areMarkedTextMatchesHighlighted; 225 bool m_areMarkedTextMatchesHighlighted;
228 EditorParagraphSeparator m_defaultParagraphSeparator; 226 EditorParagraphSeparator m_defaultParagraphSeparator;
229 bool m_overwriteModeEnabled; 227 bool m_overwriteModeEnabled;
230 228
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 260
263 inline bool Editor::markedTextMatchesAreHighlighted() const 261 inline bool Editor::markedTextMatchesAreHighlighted() const
264 { 262 {
265 return m_areMarkedTextMatchesHighlighted; 263 return m_areMarkedTextMatchesHighlighted;
266 } 264 }
267 265
268 266
269 } // namespace blink 267 } // namespace blink
270 268
271 #endif // Editor_h 269 #endif // Editor_h
OLDNEW
« no previous file with comments | « sky/engine/core/editing/EditingStyle.cpp ('k') | sky/engine/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698