OLD | NEW |
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 30 matching lines...) Expand all Loading... |
41 #include "ExceptionCodePlaceholder.h" | 41 #include "ExceptionCodePlaceholder.h" |
42 #include "FormatBlockCommand.h" | 42 #include "FormatBlockCommand.h" |
43 #include "Frame.h" | 43 #include "Frame.h" |
44 #include "FrameView.h" | 44 #include "FrameView.h" |
45 #include "HTMLFontElement.h" | 45 #include "HTMLFontElement.h" |
46 #include "HTMLHRElement.h" | 46 #include "HTMLHRElement.h" |
47 #include "HTMLImageElement.h" | 47 #include "HTMLImageElement.h" |
48 #include "HTMLNames.h" | 48 #include "HTMLNames.h" |
49 #include "IndentOutdentCommand.h" | 49 #include "IndentOutdentCommand.h" |
50 #include "InsertListCommand.h" | 50 #include "InsertListCommand.h" |
51 #include "KillRing.h" | |
52 #include "Page.h" | 51 #include "Page.h" |
53 #include "Pasteboard.h" | |
54 #include "RenderBox.h" | 52 #include "RenderBox.h" |
55 #include "ReplaceSelectionCommand.h" | 53 #include "ReplaceSelectionCommand.h" |
56 #include "Scrollbar.h" | |
57 #include "Settings.h" | 54 #include "Settings.h" |
58 #include "Sound.h" | |
59 #include "StylePropertySet.h" | 55 #include "StylePropertySet.h" |
60 #include "TypingCommand.h" | 56 #include "TypingCommand.h" |
61 #include "UnlinkCommand.h" | 57 #include "UnlinkCommand.h" |
62 #include "UserTypingGestureIndicator.h" | 58 #include "UserTypingGestureIndicator.h" |
| 59 #include "core/platform/KillRing.h" |
| 60 #include "core/platform/Pasteboard.h" |
| 61 #include "core/platform/Scrollbar.h" |
| 62 #include "core/platform/Sound.h" |
63 #include "htmlediting.h" | 63 #include "htmlediting.h" |
64 #include "markup.h" | 64 #include "markup.h" |
65 #include <wtf/text/AtomicString.h> | 65 #include <wtf/text/AtomicString.h> |
66 | 66 |
67 namespace WebCore { | 67 namespace WebCore { |
68 | 68 |
69 using namespace HTMLNames; | 69 using namespace HTMLNames; |
70 | 70 |
71 class EditorInternalCommand { | 71 class EditorInternalCommand { |
72 public: | 72 public: |
(...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1729 return m_command->state(m_frame.get(), triggeringEvent) == TrueTriState
? "true" : "false"; | 1729 return m_command->state(m_frame.get(), triggeringEvent) == TrueTriState
? "true" : "false"; |
1730 return m_command->value(m_frame.get(), triggeringEvent); | 1730 return m_command->value(m_frame.get(), triggeringEvent); |
1731 } | 1731 } |
1732 | 1732 |
1733 bool Editor::Command::isTextInsertion() const | 1733 bool Editor::Command::isTextInsertion() const |
1734 { | 1734 { |
1735 return m_command && m_command->isTextInsertion; | 1735 return m_command && m_command->isTextInsertion; |
1736 } | 1736 } |
1737 | 1737 |
1738 } // namespace WebCore | 1738 } // namespace WebCore |
OLD | NEW |