| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #include "core/editing/SpellChecker.h" | 50 #include "core/editing/SpellChecker.h" |
| 51 #include "core/editing/TextCheckingHelper.h" | 51 #include "core/editing/TextCheckingHelper.h" |
| 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" | |
| 61 #include "core/rendering/RenderObject.h" | 60 #include "core/rendering/RenderObject.h" |
| 61 #include "platform/KeyboardCodes.h" |
| 62 #include "platform/PlatformKeyboardEvent.h" | 62 #include "platform/PlatformKeyboardEvent.h" |
| 63 #include "wtf/text/WTFString.h" | 63 #include "wtf/text/WTFString.h" |
| 64 | 64 |
| 65 using namespace WebCore; | 65 using namespace WebCore; |
| 66 | 66 |
| 67 namespace WebKit { | 67 namespace WebKit { |
| 68 | 68 |
| 69 // 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 |
| 70 // unbounded memory. This is the maximum number of distinct undoable | 70 // unbounded memory. This is the maximum number of distinct undoable |
| 71 // 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... |
| 693 #endif | 693 #endif |
| 694 } | 694 } |
| 695 | 695 |
| 696 void EditorClientImpl::willSetInputMethodState() | 696 void EditorClientImpl::willSetInputMethodState() |
| 697 { | 697 { |
| 698 if (m_webView->client()) | 698 if (m_webView->client()) |
| 699 m_webView->client()->resetInputMethod(); | 699 m_webView->client()->resetInputMethod(); |
| 700 } | 700 } |
| 701 | 701 |
| 702 } // namesace WebKit | 702 } // namesace WebKit |
| OLD | NEW |