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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 #include "core/editing/UndoStep.h" | 52 #include "core/editing/UndoStep.h" |
53 #include "core/events/KeyboardEvent.h" | 53 #include "core/events/KeyboardEvent.h" |
54 #include "core/events/ThreadLocalEventNames.h" | 54 #include "core/events/ThreadLocalEventNames.h" |
55 #include "core/html/HTMLInputElement.h" | 55 #include "core/html/HTMLInputElement.h" |
56 #include "core/page/EventHandler.h" | 56 #include "core/page/EventHandler.h" |
57 #include "core/frame/Frame.h" | 57 #include "core/frame/Frame.h" |
58 #include "core/page/Page.h" | 58 #include "core/page/Page.h" |
59 #include "core/page/Settings.h" | 59 #include "core/page/Settings.h" |
60 #include "core/platform/chromium/KeyboardCodes.h" | 60 #include "core/platform/chromium/KeyboardCodes.h" |
61 #include "core/rendering/RenderObject.h" | 61 #include "core/rendering/RenderObject.h" |
62 #include "platform/NotImplemented.h" | |
63 #include "platform/PlatformKeyboardEvent.h" | 62 #include "platform/PlatformKeyboardEvent.h" |
64 #include "wtf/text/WTFString.h" | 63 #include "wtf/text/WTFString.h" |
65 | 64 |
66 using namespace WebCore; | 65 using namespace WebCore; |
67 | 66 |
68 namespace WebKit { | 67 namespace WebKit { |
69 | 68 |
70 // Arbitrary depth limit for the undo stack, to keep it from using | 69 // Arbitrary depth limit for the undo stack, to keep it from using |
71 // unbounded memory. This is the maximum number of distinct undoable | 70 // unbounded memory. This is the maximum number of distinct undoable |
72 // actions -- unbroken stretches of typed characters are coalesced | 71 // actions -- unbroken stretches of typed characters are coalesced |
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 #endif | 693 #endif |
695 } | 694 } |
696 | 695 |
697 void EditorClientImpl::willSetInputMethodState() | 696 void EditorClientImpl::willSetInputMethodState() |
698 { | 697 { |
699 if (m_webView->client()) | 698 if (m_webView->client()) |
700 m_webView->client()->resetInputMethod(); | 699 m_webView->client()->resetInputMethod(); |
701 } | 700 } |
702 | 701 |
703 } // namesace WebKit | 702 } // namesace WebKit |
OLD | NEW |