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

Side by Side Diff: Source/core/editing/EditorCommand.cpp

Issue 153343003: Move Clipboard-related code from core/dom to core/clipboard (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « Source/core/editing/Editor.cpp ('k') | Source/core/editing/SpellChecker.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 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
4 * Copyright (C) 2009 Igalia S.L. 4 * Copyright (C) 2009 Igalia S.L.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
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 15 matching lines...) Expand all
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 #include "core/editing/Editor.h" 29 #include "core/editing/Editor.h"
30 30
31 #include "CSSPropertyNames.h" 31 #include "CSSPropertyNames.h"
32 #include "CSSValueKeywords.h" 32 #include "CSSValueKeywords.h"
33 #include "HTMLNames.h" 33 #include "HTMLNames.h"
34 #include "bindings/v8/ExceptionState.h" 34 #include "bindings/v8/ExceptionState.h"
35 #include "bindings/v8/ExceptionStatePlaceholder.h" 35 #include "bindings/v8/ExceptionStatePlaceholder.h"
36 #include "core/clipboard/Pasteboard.h"
36 #include "core/css/CSSValueList.h" 37 #include "core/css/CSSValueList.h"
37 #include "core/css/StylePropertySet.h" 38 #include "core/css/StylePropertySet.h"
38 #include "core/dom/DocumentFragment.h" 39 #include "core/dom/DocumentFragment.h"
39 #include "core/dom/Pasteboard.h"
40 #include "core/editing/CreateLinkCommand.h" 40 #include "core/editing/CreateLinkCommand.h"
41 #include "core/editing/FormatBlockCommand.h" 41 #include "core/editing/FormatBlockCommand.h"
42 #include "core/editing/IndentOutdentCommand.h" 42 #include "core/editing/IndentOutdentCommand.h"
43 #include "core/editing/InsertListCommand.h" 43 #include "core/editing/InsertListCommand.h"
44 #include "core/editing/ReplaceSelectionCommand.h" 44 #include "core/editing/ReplaceSelectionCommand.h"
45 #include "core/editing/SpellChecker.h" 45 #include "core/editing/SpellChecker.h"
46 #include "core/editing/TypingCommand.h" 46 #include "core/editing/TypingCommand.h"
47 #include "core/editing/UnlinkCommand.h" 47 #include "core/editing/UnlinkCommand.h"
48 #include "core/editing/markup.h" 48 #include "core/editing/markup.h"
49 #include "core/events/Event.h" 49 #include "core/events/Event.h"
(...skipping 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after
1730 return m_command->state(*m_frame, triggeringEvent) == TrueTriState ? "tr ue" : "false"; 1730 return m_command->state(*m_frame, triggeringEvent) == TrueTriState ? "tr ue" : "false";
1731 return m_command->value(*m_frame, triggeringEvent); 1731 return m_command->value(*m_frame, triggeringEvent);
1732 } 1732 }
1733 1733
1734 bool Editor::Command::isTextInsertion() const 1734 bool Editor::Command::isTextInsertion() const
1735 { 1735 {
1736 return m_command && m_command->isTextInsertion; 1736 return m_command && m_command->isTextInsertion;
1737 } 1737 }
1738 1738
1739 } // namespace WebCore 1739 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/editing/Editor.cpp ('k') | Source/core/editing/SpellChecker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698