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

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

Issue 2573773002: Sync requestFullscreen() and exitFullscreen() algorithms with the spec (Closed)
Patch Set: address feedback Created 4 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 // one. Otherwise it sets it for the WebViewImpl. 240 // one. Otherwise it sets it for the WebViewImpl.
241 virtual void attachRootLayer(WebLayer*, LocalFrame* localRoot) = 0; 241 virtual void attachRootLayer(WebLayer*, LocalFrame* localRoot) = 0;
242 242
243 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, 243 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*,
244 LocalFrame* localRoot) {} 244 LocalFrame* localRoot) {}
245 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*, 245 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*,
246 LocalFrame* localRoot) {} 246 LocalFrame* localRoot) {}
247 247
248 virtual void enterFullscreen(LocalFrame&) {} 248 virtual void enterFullscreen(LocalFrame&) {}
249 virtual void exitFullscreen(LocalFrame&) {} 249 virtual void exitFullscreen(LocalFrame&) {}
250 virtual void fullscreenElementChanged(Element*, Element*) {} 250 virtual void fullscreenElementChanged(Element* fromElement,
251 Element* toElement) {}
251 252
252 virtual void clearCompositedSelection(LocalFrame*) {} 253 virtual void clearCompositedSelection(LocalFrame*) {}
253 virtual void updateCompositedSelection(LocalFrame*, 254 virtual void updateCompositedSelection(LocalFrame*,
254 const CompositedSelection&) {} 255 const CompositedSelection&) {}
255 256
256 virtual void setEventListenerProperties(WebEventListenerClass, 257 virtual void setEventListenerProperties(WebEventListenerClass,
257 WebEventListenerProperties) = 0; 258 WebEventListenerProperties) = 0;
258 virtual WebEventListenerProperties eventListenerProperties( 259 virtual WebEventListenerProperties eventListenerProperties(
259 WebEventListenerClass) const = 0; 260 WebEventListenerClass) const = 0;
260 virtual void setHasScrollEventHandlers(bool) = 0; 261 virtual void setHasScrollEventHandlers(bool) = 0;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 360
360 LayoutPoint m_lastToolTipPoint; 361 LayoutPoint m_lastToolTipPoint;
361 String m_lastToolTipText; 362 String m_lastToolTipText;
362 363
363 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 364 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
364 }; 365 };
365 366
366 } // namespace blink 367 } // namespace blink
367 368
368 #endif // ChromeClient_h 369 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698