OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
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 are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 18 matching lines...) Expand all Loading... |
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 */ | 30 */ |
31 | 31 |
32 #ifndef ChromeClientImpl_h | 32 #ifndef ChromeClientImpl_h |
33 #define ChromeClientImpl_h | 33 #define ChromeClientImpl_h |
34 | 34 |
35 #include "WebNavigationPolicy.h" | 35 #include "WebNavigationPolicy.h" |
36 #include "core/page/ChromeClient.h" | 36 #include "core/page/ChromeClient.h" |
37 #include "core/platform/PopupMenu.h" | 37 #include "core/platform/PopupMenu.h" |
38 #include "core/platform/SearchPopupMenu.h" | 38 #include "core/platform/SearchPopupMenu.h" |
| 39 #include "heap/Handle.h" |
39 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" | 40 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" |
40 #include <public/WebColor.h> | 41 #include <public/WebColor.h> |
41 #include <wtf/PassOwnPtr.h> | 42 #include <wtf/PassOwnPtr.h> |
42 | 43 |
43 namespace WebCore { | 44 namespace WebCore { |
44 class AccessibilityObject; | 45 class AccessibilityObject; |
45 class ColorChooser; | 46 class ColorChooser; |
46 class ColorChooserClient; | 47 class ColorChooserClient; |
47 class Element; | 48 class Element; |
48 class FileChooser; | 49 class FileChooser; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 virtual bool selectItemAlignmentFollowsMenuWritingDirection(); | 194 virtual bool selectItemAlignmentFollowsMenuWritingDirection(); |
194 virtual bool hasOpenedPopup() const OVERRIDE; | 195 virtual bool hasOpenedPopup() const OVERRIDE; |
195 virtual PassRefPtr<WebCore::PopupMenu> createPopupMenu(WebCore::PopupMenuCli
ent*) const; | 196 virtual PassRefPtr<WebCore::PopupMenu> createPopupMenu(WebCore::PopupMenuCli
ent*) const; |
196 virtual PassRefPtr<WebCore::SearchPopupMenu> createSearchPopupMenu(WebCore::
PopupMenuClient*) const; | 197 virtual PassRefPtr<WebCore::SearchPopupMenu> createSearchPopupMenu(WebCore::
PopupMenuClient*) const; |
197 #if ENABLE(PAGE_POPUP) | 198 #if ENABLE(PAGE_POPUP) |
198 virtual WebCore::PagePopup* openPagePopup(WebCore::PagePopupClient*, const W
ebCore::IntRect&) OVERRIDE; | 199 virtual WebCore::PagePopup* openPagePopup(WebCore::PagePopupClient*, const W
ebCore::IntRect&) OVERRIDE; |
199 virtual void closePagePopup(WebCore::PagePopup*) OVERRIDE; | 200 virtual void closePagePopup(WebCore::PagePopup*) OVERRIDE; |
200 virtual void setPagePopupDriver(WebCore::PagePopupDriver*) OVERRIDE; | 201 virtual void setPagePopupDriver(WebCore::PagePopupDriver*) OVERRIDE; |
201 virtual void resetPagePopupDriver() OVERRIDE; | 202 virtual void resetPagePopupDriver() OVERRIDE; |
202 #endif | 203 #endif |
203 virtual bool willAddTextFieldDecorationsTo(WebCore::HTMLInputElement*) OVERR
IDE; | 204 virtual bool willAddTextFieldDecorationsTo(WebCore::Handle<WebCore::HTMLInpu
tElement>) OVERRIDE; |
204 virtual void addTextFieldDecorationsTo(WebCore::HTMLInputElement*) OVERRIDE; | 205 virtual void addTextFieldDecorationsTo(WebCore::Handle<WebCore::HTMLInputEle
ment>) OVERRIDE; |
205 | 206 |
206 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, WebCore::FrameLoader::PageDismissalType) const; | 207 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, WebCore::FrameLoader::PageDismissalType) const; |
207 | 208 |
208 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const; | 209 virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const; |
209 virtual void numWheelEventHandlersChanged(unsigned); | 210 virtual void numWheelEventHandlersChanged(unsigned); |
210 | 211 |
211 virtual bool shouldAutoscrollForDragAndDrop(WebCore::RenderBox* scrollable)
const OVERRIDE; | 212 virtual bool shouldAutoscrollForDragAndDrop(WebCore::RenderBox* scrollable)
const OVERRIDE; |
212 | 213 |
213 virtual bool requestPointerLock(); | 214 virtual bool requestPointerLock(); |
214 virtual void requestPointerUnlock(); | 215 virtual void requestPointerUnlock(); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 private: | 248 private: |
248 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); | 249 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); |
249 | 250 |
250 WebViewImpl* m_webView; | 251 WebViewImpl* m_webView; |
251 }; | 252 }; |
252 #endif | 253 #endif |
253 | 254 |
254 } // namespace WebKit | 255 } // namespace WebKit |
255 | 256 |
256 #endif | 257 #endif |
OLD | NEW |