OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, 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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "core/platform/PopupMenuClient.h" | 31 #include "core/platform/PopupMenuClient.h" |
32 #include "core/rendering/RenderEmbeddedObject.h" | 32 #include "core/rendering/RenderEmbeddedObject.h" |
33 #include "core/rendering/style/RenderStyleConstants.h" | 33 #include "core/rendering/style/RenderStyleConstants.h" |
34 #include "platform/Cursor.h" | 34 #include "platform/Cursor.h" |
35 #include "platform/HostWindow.h" | 35 #include "platform/HostWindow.h" |
36 #include "platform/PopupMenu.h" | 36 #include "platform/PopupMenu.h" |
37 #include "platform/graphics/GraphicsContext.h" | 37 #include "platform/graphics/GraphicsContext.h" |
38 #include "platform/scroll/ScrollTypes.h" | 38 #include "platform/scroll/ScrollTypes.h" |
39 #include "wtf/Forward.h" | 39 #include "wtf/Forward.h" |
40 #include "wtf/PassOwnPtr.h" | 40 #include "wtf/PassOwnPtr.h" |
41 #include "wtf/UnusedParam.h" | |
42 #include "wtf/Vector.h" | 41 #include "wtf/Vector.h" |
43 | 42 |
44 | 43 |
45 #ifndef __OBJC__ | 44 #ifndef __OBJC__ |
46 class NSMenu; | 45 class NSMenu; |
47 class NSResponder; | 46 class NSResponder; |
48 #endif | 47 #endif |
49 | 48 |
50 namespace WebCore { | 49 namespace WebCore { |
51 | 50 |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 | 239 |
241 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif
ication) { } | 240 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif
ication) { } |
242 virtual String acceptLanguages() = 0; | 241 virtual String acceptLanguages() = 0; |
243 | 242 |
244 enum DialogType { | 243 enum DialogType { |
245 AlertDialog = 0, | 244 AlertDialog = 0, |
246 ConfirmDialog = 1, | 245 ConfirmDialog = 1, |
247 PromptDialog = 2, | 246 PromptDialog = 2, |
248 HTMLDialog = 3 | 247 HTMLDialog = 3 |
249 }; | 248 }; |
250 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, Document::PageDismissalType) const { UNUSED_PARAM(dialo
gMessage); return true; } | 249 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String&, Document::PageDismissalType) const { return true; } |
251 | 250 |
252 virtual void numWheelEventHandlersChanged(unsigned) = 0; | 251 virtual void numWheelEventHandlersChanged(unsigned) = 0; |
253 | 252 |
254 virtual bool isSVGImageChromeClient() const { return false; } | 253 virtual bool isSVGImageChromeClient() const { return false; } |
255 | 254 |
256 virtual bool requestPointerLock() { return false; } | 255 virtual bool requestPointerLock() { return false; } |
257 virtual void requestPointerUnlock() { } | 256 virtual void requestPointerUnlock() { } |
258 virtual bool isPointerLocked() { return false; } | 257 virtual bool isPointerLocked() { return false; } |
259 | 258 |
260 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; | 259 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; |
(...skipping 19 matching lines...) Expand all Loading... |
280 | 279 |
281 // Notifies the client a popup was closed. | 280 // Notifies the client a popup was closed. |
282 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 281 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
283 | 282 |
284 protected: | 283 protected: |
285 virtual ~ChromeClient() { } | 284 virtual ~ChromeClient() { } |
286 }; | 285 }; |
287 | 286 |
288 } | 287 } |
289 #endif // ChromeClient_h | 288 #endif // ChromeClient_h |
OLD | NEW |