| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 #include "sky/engine/core/fetch/ResourceFetcher.h" | 51 #include "sky/engine/core/fetch/ResourceFetcher.h" |
| 52 #include "sky/engine/core/frame/FrameView.h" | 52 #include "sky/engine/core/frame/FrameView.h" |
| 53 #include "sky/engine/core/frame/LocalFrame.h" | 53 #include "sky/engine/core/frame/LocalFrame.h" |
| 54 #include "sky/engine/core/frame/Settings.h" | 54 #include "sky/engine/core/frame/Settings.h" |
| 55 #include "sky/engine/core/loader/EmptyClients.h" | 55 #include "sky/engine/core/loader/EmptyClients.h" |
| 56 #include "sky/engine/core/page/EditorClient.h" | 56 #include "sky/engine/core/page/EditorClient.h" |
| 57 #include "sky/engine/core/page/EventHandler.h" | 57 #include "sky/engine/core/page/EventHandler.h" |
| 58 #include "sky/engine/core/page/FocusController.h" | 58 #include "sky/engine/core/page/FocusController.h" |
| 59 #include "sky/engine/core/page/Page.h" | 59 #include "sky/engine/core/page/Page.h" |
| 60 #include "sky/engine/core/rendering/HitTestResult.h" | 60 #include "sky/engine/core/rendering/HitTestResult.h" |
| 61 #include "sky/engine/core/rendering/RenderImage.h" | |
| 62 #include "sky/engine/platform/weborigin/KURL.h" | 61 #include "sky/engine/platform/weborigin/KURL.h" |
| 63 #include "sky/engine/wtf/unicode/CharacterNames.h" | 62 #include "sky/engine/wtf/unicode/CharacterNames.h" |
| 64 | 63 |
| 65 namespace blink { | 64 namespace blink { |
| 66 | 65 |
| 67 using namespace WTF::Unicode; | 66 using namespace WTF::Unicode; |
| 68 | 67 |
| 69 Editor::RevealSelectionScope::RevealSelectionScope(Editor* editor) | 68 Editor::RevealSelectionScope::RevealSelectionScope(Editor* editor) |
| 70 : m_editor(editor) | 69 : m_editor(editor) |
| 71 { | 70 { |
| (...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 return m_frame.spellChecker(); | 808 return m_frame.spellChecker(); |
| 810 } | 809 } |
| 811 | 810 |
| 812 void Editor::toggleOverwriteModeEnabled() | 811 void Editor::toggleOverwriteModeEnabled() |
| 813 { | 812 { |
| 814 m_overwriteModeEnabled = !m_overwriteModeEnabled; | 813 m_overwriteModeEnabled = !m_overwriteModeEnabled; |
| 815 frame().selection().setShouldShowBlockCursor(m_overwriteModeEnabled); | 814 frame().selection().setShouldShowBlockCursor(m_overwriteModeEnabled); |
| 816 } | 815 } |
| 817 | 816 |
| 818 } // namespace blink | 817 } // namespace blink |
| OLD | NEW |