OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007 Apple, Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple, Inc. All rights reserved. |
3 * Copyright (C) 2012 Google, Inc. All rights reserved. | 3 * Copyright (C) 2012 Google, Inc. All rights reserved. |
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 "core/editing/SpellCheckRequester.h" | 51 #include "core/editing/SpellCheckRequester.h" |
52 #include "core/editing/TextCheckingHelper.h" | 52 #include "core/editing/TextCheckingHelper.h" |
53 #include "core/editing/UndoStep.h" | 53 #include "core/editing/UndoStep.h" |
54 #include "core/events/KeyboardEvent.h" | 54 #include "core/events/KeyboardEvent.h" |
55 #include "core/events/ThreadLocalEventNames.h" | 55 #include "core/events/ThreadLocalEventNames.h" |
56 #include "core/html/HTMLInputElement.h" | 56 #include "core/html/HTMLInputElement.h" |
57 #include "core/page/EventHandler.h" | 57 #include "core/page/EventHandler.h" |
58 #include "core/page/Frame.h" | 58 #include "core/page/Frame.h" |
59 #include "core/page/Page.h" | 59 #include "core/page/Page.h" |
60 #include "core/page/Settings.h" | 60 #include "core/page/Settings.h" |
61 #include "core/platform/PlatformKeyboardEvent.h" | |
62 #include "core/platform/chromium/KeyboardCodes.h" | 61 #include "core/platform/chromium/KeyboardCodes.h" |
63 #include "core/rendering/RenderObject.h" | 62 #include "core/rendering/RenderObject.h" |
64 #include "platform/NotImplemented.h" | 63 #include "platform/NotImplemented.h" |
| 64 #include "platform/PlatformKeyboardEvent.h" |
65 #include "wtf/text/WTFString.h" | 65 #include "wtf/text/WTFString.h" |
66 | 66 |
67 using namespace WebCore; | 67 using namespace WebCore; |
68 | 68 |
69 namespace WebKit { | 69 namespace WebKit { |
70 | 70 |
71 // Arbitrary depth limit for the undo stack, to keep it from using | 71 // Arbitrary depth limit for the undo stack, to keep it from using |
72 // unbounded memory. This is the maximum number of distinct undoable | 72 // unbounded memory. This is the maximum number of distinct undoable |
73 // actions -- unbroken stretches of typed characters are coalesced | 73 // actions -- unbroken stretches of typed characters are coalesced |
74 // into a single action. | 74 // into a single action. |
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 #endif | 777 #endif |
778 } | 778 } |
779 | 779 |
780 void EditorClientImpl::willSetInputMethodState() | 780 void EditorClientImpl::willSetInputMethodState() |
781 { | 781 { |
782 if (m_webView->client()) | 782 if (m_webView->client()) |
783 m_webView->client()->resetInputMethod(); | 783 m_webView->client()->resetInputMethod(); |
784 } | 784 } |
785 | 785 |
786 } // namesace WebKit | 786 } // namesace WebKit |
OLD | NEW |