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

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

Issue 2495423004: Convert FullscreenController to use WebCallbacks (Closed)
Patch Set: rebase 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 21 matching lines...) Expand all
32 #include "core/style/ComputedStyleConstants.h" 32 #include "core/style/ComputedStyleConstants.h"
33 #include "platform/Cursor.h" 33 #include "platform/Cursor.h"
34 #include "platform/HostWindow.h" 34 #include "platform/HostWindow.h"
35 #include "platform/PopupMenu.h" 35 #include "platform/PopupMenu.h"
36 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
37 #include "platform/scroll/ScrollTypes.h" 37 #include "platform/scroll/ScrollTypes.h"
38 #include "public/platform/BlameContext.h" 38 #include "public/platform/BlameContext.h"
39 #include "public/platform/WebDragOperation.h" 39 #include "public/platform/WebDragOperation.h"
40 #include "public/platform/WebEventListenerProperties.h" 40 #include "public/platform/WebEventListenerProperties.h"
41 #include "public/platform/WebFocusType.h" 41 #include "public/platform/WebFocusType.h"
42 #include "public/platform/WebFullscreenCallbacks.h"
42 #include "wtf/Forward.h" 43 #include "wtf/Forward.h"
43 #include "wtf/Optional.h" 44 #include "wtf/Optional.h"
44 #include "wtf/Vector.h" 45 #include "wtf/Vector.h"
45 #include <memory> 46 #include <memory>
46 47
47 namespace blink { 48 namespace blink {
48 49
49 class AXObject; 50 class AXObject;
50 class ColorChooser; 51 class ColorChooser;
51 class ColorChooserClient; 52 class ColorChooserClient;
(...skipping 186 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 enterFullscreenForElement(Element*) {} 249 virtual void enterFullscreen(LocalFrame&,
249 virtual void exitFullscreen(LocalFrame*) {} 250 std::unique_ptr<WebFullscreenCallbacks>) {}
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(
259 WebEventListenerClass) const = 0; 261 WebEventListenerClass) const = 0;
(...skipping 99 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

Powered by Google App Engine
This is Rietveld 408576698