Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Side by Side Diff: Source/web/EditorClientImpl.cpp

Issue 60153002: Move KeyboardCodes to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698