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 21 matching lines...) Expand all Loading... |
32 #include "core/platform/PopupMenuClient.h" | 32 #include "core/platform/PopupMenuClient.h" |
33 #include "core/rendering/RenderEmbeddedObject.h" | 33 #include "core/rendering/RenderEmbeddedObject.h" |
34 #include "core/rendering/style/RenderStyleConstants.h" | 34 #include "core/rendering/style/RenderStyleConstants.h" |
35 #include "modules/webdatabase/DatabaseDetails.h" | 35 #include "modules/webdatabase/DatabaseDetails.h" |
36 #include "platform/HostWindow.h" | 36 #include "platform/HostWindow.h" |
37 #include "platform/PopupMenu.h" | 37 #include "platform/PopupMenu.h" |
38 #include "platform/graphics/GraphicsContext.h" | 38 #include "platform/graphics/GraphicsContext.h" |
39 #include "platform/scroll/ScrollTypes.h" | 39 #include "platform/scroll/ScrollTypes.h" |
40 #include "wtf/Forward.h" | 40 #include "wtf/Forward.h" |
41 #include "wtf/PassOwnPtr.h" | 41 #include "wtf/PassOwnPtr.h" |
42 #include "wtf/UnusedParam.h" | |
43 #include "wtf/Vector.h" | 42 #include "wtf/Vector.h" |
44 | 43 |
45 | 44 |
46 #ifndef __OBJC__ | 45 #ifndef __OBJC__ |
47 class NSMenu; | 46 class NSMenu; |
48 class NSResponder; | 47 class NSResponder; |
49 #endif | 48 #endif |
50 | 49 |
51 namespace WebCore { | 50 namespace WebCore { |
52 | 51 |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 | 240 |
242 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif
ication) { } | 241 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif
ication) { } |
243 virtual String acceptLanguages() = 0; | 242 virtual String acceptLanguages() = 0; |
244 | 243 |
245 enum DialogType { | 244 enum DialogType { |
246 AlertDialog = 0, | 245 AlertDialog = 0, |
247 ConfirmDialog = 1, | 246 ConfirmDialog = 1, |
248 PromptDialog = 2, | 247 PromptDialog = 2, |
249 HTMLDialog = 3 | 248 HTMLDialog = 3 |
250 }; | 249 }; |
251 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String& dialogMessage, Document::PageDismissalType) const { UNUSED_PARAM(dialo
gMessage); return true; } | 250 virtual bool shouldRunModalDialogDuringPageDismissal(const DialogType&, cons
t String&, Document::PageDismissalType) const { return true; } |
252 | 251 |
253 virtual void numWheelEventHandlersChanged(unsigned) = 0; | 252 virtual void numWheelEventHandlersChanged(unsigned) = 0; |
254 | 253 |
255 virtual bool isSVGImageChromeClient() const { return false; } | 254 virtual bool isSVGImageChromeClient() const { return false; } |
256 | 255 |
257 virtual bool requestPointerLock() { return false; } | 256 virtual bool requestPointerLock() { return false; } |
258 virtual void requestPointerUnlock() { } | 257 virtual void requestPointerUnlock() { } |
259 virtual bool isPointerLocked() { return false; } | 258 virtual bool isPointerLocked() { return false; } |
260 | 259 |
261 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; | 260 virtual FloatSize minimumWindowSize() const { return FloatSize(100, 100); }; |
(...skipping 19 matching lines...) Expand all Loading... |
281 | 280 |
282 // Notifies the client a popup was closed. | 281 // Notifies the client a popup was closed. |
283 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 282 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
284 | 283 |
285 protected: | 284 protected: |
286 virtual ~ChromeClient() { } | 285 virtual ~ChromeClient() { } |
287 }; | 286 }; |
288 | 287 |
289 } | 288 } |
290 #endif // ChromeClient_h | 289 #endif // ChromeClient_h |
OLD | NEW |