| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2011 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 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 #include "core/editing/SpellChecker.h" | 56 #include "core/editing/SpellChecker.h" |
| 57 #include "core/editing/TypingCommand.h" | 57 #include "core/editing/TypingCommand.h" |
| 58 #include "core/editing/UndoStack.h" | 58 #include "core/editing/UndoStack.h" |
| 59 #include "core/editing/VisibleUnits.h" | 59 #include "core/editing/VisibleUnits.h" |
| 60 #include "core/editing/htmlediting.h" | 60 #include "core/editing/htmlediting.h" |
| 61 #include "core/editing/markup.h" | 61 #include "core/editing/markup.h" |
| 62 #include "core/events/ClipboardEvent.h" | 62 #include "core/events/ClipboardEvent.h" |
| 63 #include "core/events/KeyboardEvent.h" | 63 #include "core/events/KeyboardEvent.h" |
| 64 #include "core/events/ScopedEventQueue.h" | 64 #include "core/events/ScopedEventQueue.h" |
| 65 #include "core/events/TextEvent.h" | 65 #include "core/events/TextEvent.h" |
| 66 #include "core/events/ThreadLocalEventNames.h" | |
| 67 #include "core/fetch/ImageResource.h" | 66 #include "core/fetch/ImageResource.h" |
| 68 #include "core/fetch/ResourceFetcher.h" | 67 #include "core/fetch/ResourceFetcher.h" |
| 69 #include "core/frame/FrameView.h" | 68 #include "core/frame/FrameView.h" |
| 70 #include "core/frame/LocalFrame.h" | 69 #include "core/frame/LocalFrame.h" |
| 71 #include "core/frame/Settings.h" | 70 #include "core/frame/Settings.h" |
| 72 #include "core/html/HTMLImageElement.h" | 71 #include "core/html/HTMLImageElement.h" |
| 73 #include "core/html/HTMLInputElement.h" | 72 #include "core/html/HTMLInputElement.h" |
| 74 #include "core/html/HTMLTextAreaElement.h" | 73 #include "core/html/HTMLTextAreaElement.h" |
| 75 #include "core/html/parser/HTMLParserIdioms.h" | 74 #include "core/html/parser/HTMLParserIdioms.h" |
| 76 #include "core/loader/EmptyClients.h" | 75 #include "core/loader/EmptyClients.h" |
| (...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1230 return m_frame.spellChecker(); | 1229 return m_frame.spellChecker(); |
| 1231 } | 1230 } |
| 1232 | 1231 |
| 1233 void Editor::toggleOverwriteModeEnabled() | 1232 void Editor::toggleOverwriteModeEnabled() |
| 1234 { | 1233 { |
| 1235 m_overwriteModeEnabled = !m_overwriteModeEnabled; | 1234 m_overwriteModeEnabled = !m_overwriteModeEnabled; |
| 1236 frame().selection().setShouldShowBlockCursor(m_overwriteModeEnabled); | 1235 frame().selection().setShouldShowBlockCursor(m_overwriteModeEnabled); |
| 1237 } | 1236 } |
| 1238 | 1237 |
| 1239 } // namespace WebCore | 1238 } // namespace WebCore |
| OLD | NEW |