OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 21 matching lines...) Expand all Loading... |
32 #define EditorClientImpl_h | 32 #define EditorClientImpl_h |
33 | 33 |
34 #include "EditorClient.h" | 34 #include "EditorClient.h" |
35 #include "Timer.h" | 35 #include "Timer.h" |
36 #include <wtf/Deque.h> | 36 #include <wtf/Deque.h> |
37 | 37 |
38 namespace WebCore { | 38 namespace WebCore { |
39 class HTMLInputElement; | 39 class HTMLInputElement; |
40 } | 40 } |
41 | 41 |
| 42 namespace WebKit { |
42 class WebViewImpl; | 43 class WebViewImpl; |
43 | 44 |
44 namespace WebKit { | |
45 | |
46 class EditorClientImpl : public WebCore::EditorClient { | 45 class EditorClientImpl : public WebCore::EditorClient { |
47 public: | 46 public: |
48 EditorClientImpl(WebViewImpl* webView); | 47 EditorClientImpl(WebViewImpl* webView); |
49 | 48 |
50 virtual ~EditorClientImpl(); | 49 virtual ~EditorClientImpl(); |
51 virtual void pageDestroyed(); | 50 virtual void pageDestroyed(); |
52 | 51 |
53 virtual bool shouldShowDeleteInterface(WebCore::HTMLElement*); | 52 virtual bool shouldShowDeleteInterface(WebCore::HTMLElement*); |
54 virtual bool smartInsertDeleteEnabled(); | 53 virtual bool smartInsertDeleteEnabled(); |
55 virtual bool isSelectTrailingWhitespaceEnabled(); | 54 virtual bool isSelectTrailingWhitespaceEnabled(); |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 bool autofillOnEmptyValue; | 185 bool autofillOnEmptyValue; |
187 bool requireCaretAtEnd; | 186 bool requireCaretAtEnd; |
188 bool backspaceOrDeletePressed; | 187 bool backspaceOrDeletePressed; |
189 }; | 188 }; |
190 OwnPtr<AutofillArgs> m_autofillArgs; | 189 OwnPtr<AutofillArgs> m_autofillArgs; |
191 }; | 190 }; |
192 | 191 |
193 } // namespace WebKit | 192 } // namespace WebKit |
194 | 193 |
195 #endif | 194 #endif |
OLD | NEW |