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

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

Issue 769053004: Make the execCommand() userInterface argument explicitly do nothing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/editing/EditorCommand.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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class EditorInternalCommand; 47 class EditorInternalCommand;
48 class LocalFrame; 48 class LocalFrame;
49 class HitTestResult; 49 class HitTestResult;
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 };
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
(...skipping 232 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/dom/Document.cpp ('k') | Source/core/editing/EditorCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698