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

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

Issue 2495423004: Convert FullscreenController to use WebCallbacks (Closed)
Patch Set: just in case 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 class ColorChooser; 50 class ColorChooser;
51 class ColorChooserClient; 51 class ColorChooserClient;
52 class CompositorAnimationTimeline; 52 class CompositorAnimationTimeline;
53 class CompositorProxyClient; 53 class CompositorProxyClient;
54 class DateTimeChooser; 54 class DateTimeChooser;
55 class DateTimeChooserClient; 55 class DateTimeChooserClient;
56 class Element; 56 class Element;
57 class FileChooser; 57 class FileChooser;
58 class FloatPoint; 58 class FloatPoint;
59 class Frame; 59 class Frame;
60 class FullscreenCallbacks;
60 class GraphicsLayer; 61 class GraphicsLayer;
61 class HTMLFormControlElement; 62 class HTMLFormControlElement;
62 class HTMLInputElement; 63 class HTMLInputElement;
63 class HTMLSelectElement; 64 class HTMLSelectElement;
64 class HitTestResult; 65 class HitTestResult;
65 class IntRect; 66 class IntRect;
66 class KeyboardEvent; 67 class KeyboardEvent;
67 class LocalFrame; 68 class LocalFrame;
68 class Node; 69 class Node;
69 class Page; 70 class Page;
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 // Pass nullptr as the WebLayer to detach the root layer. 239 // Pass nullptr as the WebLayer to detach the root layer.
239 // This sets the WebLayer for the LocalFrame's WebWidget, if it has 240 // This sets the WebLayer for the LocalFrame's WebWidget, if it has
240 // one. Otherwise it sets it for the WebViewImpl. 241 // one. Otherwise it sets it for the WebViewImpl.
241 virtual void attachRootLayer(WebLayer*, LocalFrame* localRoot) = 0; 242 virtual void attachRootLayer(WebLayer*, LocalFrame* localRoot) = 0;
242 243
243 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, 244 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*,
244 LocalFrame* localRoot) {} 245 LocalFrame* localRoot) {}
245 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*, 246 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*,
246 LocalFrame* localRoot) {} 247 LocalFrame* localRoot) {}
247 248
248 virtual void enterFullscreen(LocalFrame&) {} 249 virtual void enterFullscreen(LocalFrame&,
250 std::unique_ptr<FullscreenCallbacks>) {}
249 virtual void exitFullscreen(LocalFrame&) {} 251 virtual void exitFullscreen(LocalFrame&) {}
250 virtual void fullscreenElementChanged(Element*, Element*) {} 252 virtual void fullscreenElementChanged(Element*, Element*) {}
251 253
252 virtual void clearCompositedSelection(LocalFrame*) {} 254 virtual void clearCompositedSelection(LocalFrame*) {}
253 virtual void updateCompositedSelection(LocalFrame*, 255 virtual void updateCompositedSelection(LocalFrame*,
254 const CompositedSelection&) {} 256 const CompositedSelection&) {}
255 257
256 virtual void setEventListenerProperties(WebEventListenerClass, 258 virtual void setEventListenerProperties(WebEventListenerClass,
257 WebEventListenerProperties) = 0; 259 WebEventListenerProperties) = 0;
258 virtual WebEventListenerProperties eventListenerProperties( 260 virtual WebEventListenerProperties eventListenerProperties(
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 361
360 LayoutPoint m_lastToolTipPoint; 362 LayoutPoint m_lastToolTipPoint;
361 String m_lastToolTipText; 363 String m_lastToolTipText;
362 364
363 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 365 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
364 }; 366 };
365 367
366 } // namespace blink 368 } // namespace blink
367 369
368 #endif // ChromeClient_h 370 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/FullscreenCallbacks.h ('k') | third_party/WebKit/Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698