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

Side by Side Diff: Source/core/editing/Editor.h

Issue 616603006: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/editing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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 | « Source/core/editing/EditingStyle.cpp ('k') | Source/core/editing/FormatBlockCommand.h » ('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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 class KillRing; 50 class KillRing;
51 class Pasteboard; 51 class Pasteboard;
52 class SpellChecker; 52 class SpellChecker;
53 class StylePropertySet; 53 class StylePropertySet;
54 class TextEvent; 54 class TextEvent;
55 class UndoStack; 55 class UndoStack;
56 56
57 enum EditorCommandSource { CommandFromMenuOrKeyBinding, CommandFromDOM, CommandF romDOMWithUserInterface }; 57 enum EditorCommandSource { CommandFromMenuOrKeyBinding, CommandFromDOM, CommandF romDOMWithUserInterface };
58 enum EditorParagraphSeparator { EditorParagraphSeparatorIsDiv, EditorParagraphSe paratorIsP }; 58 enum EditorParagraphSeparator { EditorParagraphSeparatorIsDiv, EditorParagraphSe paratorIsP };
59 59
60 class Editor FINAL : public NoBaseWillBeGarbageCollectedFinalized<Editor> { 60 class Editor final : public NoBaseWillBeGarbageCollectedFinalized<Editor> {
61 WTF_MAKE_NONCOPYABLE(Editor); 61 WTF_MAKE_NONCOPYABLE(Editor);
62 public: 62 public:
63 static PassOwnPtrWillBeRawPtr<Editor> create(LocalFrame&); 63 static PassOwnPtrWillBeRawPtr<Editor> create(LocalFrame&);
64 ~Editor(); 64 ~Editor();
65 65
66 EditorClient& client() const; 66 EditorClient& client() const;
67 67
68 CompositeEditCommand* lastEditCommand() { return m_lastEditCommand.get(); } 68 CompositeEditCommand* lastEditCommand() { return m_lastEditCommand.get(); }
69 69
70 void handleKeyboardEvent(KeyboardEvent*); 70 void handleKeyboardEvent(KeyboardEvent*);
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 300
301 inline bool Editor::markedTextMatchesAreHighlighted() const 301 inline bool Editor::markedTextMatchesAreHighlighted() const
302 { 302 {
303 return m_areMarkedTextMatchesHighlighted; 303 return m_areMarkedTextMatchesHighlighted;
304 } 304 }
305 305
306 306
307 } // namespace blink 307 } // namespace blink
308 308
309 #endif // Editor_h 309 #endif // Editor_h
OLDNEW
« no previous file with comments | « Source/core/editing/EditingStyle.cpp ('k') | Source/core/editing/FormatBlockCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698