| 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 29 matching lines...) Expand all Loading... |
| 40 #include "sky/engine/core/editing/RenderedPosition.h" | 40 #include "sky/engine/core/editing/RenderedPosition.h" |
| 41 #include "sky/engine/core/editing/ReplaceSelectionCommand.h" | 41 #include "sky/engine/core/editing/ReplaceSelectionCommand.h" |
| 42 #include "sky/engine/core/editing/SpellChecker.h" | 42 #include "sky/engine/core/editing/SpellChecker.h" |
| 43 #include "sky/engine/core/editing/TypingCommand.h" | 43 #include "sky/engine/core/editing/TypingCommand.h" |
| 44 #include "sky/engine/core/editing/UndoStack.h" | 44 #include "sky/engine/core/editing/UndoStack.h" |
| 45 #include "sky/engine/core/editing/VisibleUnits.h" | 45 #include "sky/engine/core/editing/VisibleUnits.h" |
| 46 #include "sky/engine/core/editing/htmlediting.h" | 46 #include "sky/engine/core/editing/htmlediting.h" |
| 47 #include "sky/engine/core/events/KeyboardEvent.h" | 47 #include "sky/engine/core/events/KeyboardEvent.h" |
| 48 #include "sky/engine/core/events/ScopedEventQueue.h" | 48 #include "sky/engine/core/events/ScopedEventQueue.h" |
| 49 #include "sky/engine/core/events/TextEvent.h" | 49 #include "sky/engine/core/events/TextEvent.h" |
| 50 #include "sky/engine/core/fetch/ImageResource.h" | |
| 51 #include "sky/engine/core/fetch/ResourceFetcher.h" | |
| 52 #include "sky/engine/core/frame/FrameView.h" | 50 #include "sky/engine/core/frame/FrameView.h" |
| 53 #include "sky/engine/core/frame/LocalFrame.h" | 51 #include "sky/engine/core/frame/LocalFrame.h" |
| 54 #include "sky/engine/core/frame/Settings.h" | 52 #include "sky/engine/core/frame/Settings.h" |
| 55 #include "sky/engine/core/loader/EmptyClients.h" | 53 #include "sky/engine/core/loader/EmptyClients.h" |
| 56 #include "sky/engine/core/page/EditorClient.h" | 54 #include "sky/engine/core/page/EditorClient.h" |
| 57 #include "sky/engine/core/page/EventHandler.h" | 55 #include "sky/engine/core/page/EventHandler.h" |
| 58 #include "sky/engine/core/page/FocusController.h" | 56 #include "sky/engine/core/page/FocusController.h" |
| 59 #include "sky/engine/core/page/Page.h" | 57 #include "sky/engine/core/page/Page.h" |
| 60 #include "sky/engine/core/rendering/HitTestResult.h" | 58 #include "sky/engine/core/rendering/HitTestResult.h" |
| 61 #include "sky/engine/platform/weborigin/KURL.h" | 59 #include "sky/engine/platform/weborigin/KURL.h" |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 808 return m_frame.spellChecker(); | 806 return m_frame.spellChecker(); |
| 809 } | 807 } |
| 810 | 808 |
| 811 void Editor::toggleOverwriteModeEnabled() | 809 void Editor::toggleOverwriteModeEnabled() |
| 812 { | 810 { |
| 813 m_overwriteModeEnabled = !m_overwriteModeEnabled; | 811 m_overwriteModeEnabled = !m_overwriteModeEnabled; |
| 814 frame().selection().setShouldShowBlockCursor(m_overwriteModeEnabled); | 812 frame().selection().setShouldShowBlockCursor(m_overwriteModeEnabled); |
| 815 } | 813 } |
| 816 | 814 |
| 817 } // namespace blink | 815 } // namespace blink |
| OLD | NEW |