Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Side by Side Diff: Source/core/page/ChromeClient.h

Issue 14670004: Remove scaffolding for WebKit-proprietary fullscreen API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Workaround trybots Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/page/DOMWindow.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/page/DOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698