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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 AnimationTrigger = 1 << 4, | 242 AnimationTrigger = 1 << 4, |
243 FilterTrigger = 1 << 5, | 243 FilterTrigger = 1 << 5, |
244 ScrollableInnerFrameTrigger = 1 << 6, | 244 ScrollableInnerFrameTrigger = 1 << 6, |
245 AllTriggers = 0xFFFFFFFF | 245 AllTriggers = 0xFFFFFFFF |
246 }; | 246 }; |
247 typedef unsigned CompositingTriggerFlags; | 247 typedef unsigned CompositingTriggerFlags; |
248 | 248 |
249 // Returns a bitfield indicating conditions that can trigger the compositor. | 249 // Returns a bitfield indicating conditions that can trigger the compositor. |
250 virtual CompositingTriggerFlags allowedCompositingTriggers() const { return
static_cast<CompositingTriggerFlags>(AllTriggers); } | 250 virtual CompositingTriggerFlags allowedCompositingTriggers() const { return
static_cast<CompositingTriggerFlags>(AllTriggers); } |
251 | 251 |
252 virtual void enterFullscreenForNode(Node*) { } | |
253 virtual void exitFullscreenForNode(Node*) { } | |
254 | |
255 virtual void enterFullScreenForElement(Element*) { } | 252 virtual void enterFullScreenForElement(Element*) { } |
256 virtual void exitFullScreenForElement(Element*) { } | 253 virtual void exitFullScreenForElement(Element*) { } |
257 virtual void setRootFullScreenLayer(GraphicsLayer*) { } | 254 virtual void setRootFullScreenLayer(GraphicsLayer*) { } |
258 | 255 |
259 virtual void needTouchEvents(bool) = 0; | 256 virtual void needTouchEvents(bool) = 0; |
260 | 257 |
261 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. | 258 // Checks if there is an opened popup, called by RenderMenuList::showPopup()
. |
262 virtual bool hasOpenedPopup() const = 0; | 259 virtual bool hasOpenedPopup() const = 0; |
263 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0; | 260 virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0; |
264 virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*)
const = 0; | 261 virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*)
const = 0; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 | 318 |
322 // Notifies the client a popup was closed. | 319 // Notifies the client a popup was closed. |
323 virtual void popupClosed(PopupContainer* popupContainer) = 0; | 320 virtual void popupClosed(PopupContainer* popupContainer) = 0; |
324 | 321 |
325 protected: | 322 protected: |
326 virtual ~ChromeClient() { } | 323 virtual ~ChromeClient() { } |
327 }; | 324 }; |
328 | 325 |
329 } | 326 } |
330 #endif // ChromeClient_h | 327 #endif // ChromeClient_h |
OLD | NEW |