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

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

Issue 2515363002: Introduce AnimationWorkletProxyClient and necessary plumbing to get it in worklet messaging proxy. (Closed)
Patch Set: Remove unnecessary PLATFORM_EXPORT Created 3 years, 10 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
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.
11 * 11 *
12 * This library is distributed in the hope that it will be useful, 12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details. 15 * Library General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Library General Public License 17 * You should have received a copy of the GNU Library General Public License
18 * along with this library; see the file COPYING.LIB. If not, write to 18 * along with this library; see the file COPYING.LIB. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA. 20 * Boston, MA 02110-1301, USA.
21 */ 21 */
22 22
23 #ifndef ChromeClient_h 23 #ifndef ChromeClient_h
24 #define ChromeClient_h 24 #define ChromeClient_h
25 25
26 #include "base/gtest_prod_util.h" 26 #include "base/gtest_prod_util.h"
27 #include "core/CoreExport.h" 27 #include "core/CoreExport.h"
28 #include "core/dom/AXObjectCache.h" 28 #include "core/dom/AXObjectCache.h"
29 #include "core/dom/AnimationWorkletProxyClient.h"
29 #include "core/inspector/ConsoleTypes.h" 30 #include "core/inspector/ConsoleTypes.h"
30 #include "core/loader/FrameLoader.h" 31 #include "core/loader/FrameLoader.h"
31 #include "core/loader/NavigationPolicy.h" 32 #include "core/loader/NavigationPolicy.h"
32 #include "core/style/ComputedStyleConstants.h" 33 #include "core/style/ComputedStyleConstants.h"
33 #include "platform/Cursor.h" 34 #include "platform/Cursor.h"
34 #include "platform/HostWindow.h" 35 #include "platform/HostWindow.h"
35 #include "platform/PopupMenu.h" 36 #include "platform/PopupMenu.h"
36 #include "platform/heap/Handle.h" 37 #include "platform/heap/Handle.h"
37 #include "platform/scroll/ScrollTypes.h" 38 #include "platform/scroll/ScrollTypes.h"
38 #include "public/platform/BlameContext.h" 39 #include "public/platform/BlameContext.h"
39 #include "public/platform/WebDragOperation.h" 40 #include "public/platform/WebDragOperation.h"
40 #include "public/platform/WebEventListenerProperties.h" 41 #include "public/platform/WebEventListenerProperties.h"
41 #include "public/platform/WebFocusType.h" 42 #include "public/platform/WebFocusType.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;
53 class CompositorWorkerProxyClient;
52 class CompositorAnimationTimeline; 54 class CompositorAnimationTimeline;
53 class CompositorProxyClient;
54 class DateTimeChooser; 55 class DateTimeChooser;
55 class DateTimeChooserClient; 56 class DateTimeChooserClient;
56 class Element; 57 class Element;
57 class FileChooser; 58 class FileChooser;
58 class FloatPoint; 59 class FloatPoint;
59 class Frame; 60 class Frame;
60 class GraphicsLayer; 61 class GraphicsLayer;
61 class HTMLFormControlElement; 62 class HTMLFormControlElement;
62 class HTMLInputElement; 63 class HTMLInputElement;
63 class HTMLSelectElement; 64 class HTMLSelectElement;
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 320
320 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) {} 321 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) {}
321 322
322 virtual void onMouseDown(Node*) {} 323 virtual void onMouseDown(Node*) {}
323 324
324 virtual void didUpdateBrowserControls() const {} 325 virtual void didUpdateBrowserControls() const {}
325 326
326 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; 327 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0;
327 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; 328 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0;
328 329
329 virtual CompositorProxyClient* createCompositorProxyClient(LocalFrame*) = 0; 330 virtual CompositorWorkerProxyClient* createCompositorWorkerProxyClient(
331 LocalFrame*) = 0;
332 virtual AnimationWorkletProxyClient* createAnimationWorkletProxyClient(
333 LocalFrame*) = 0;
330 334
331 virtual FloatSize elasticOverscroll() const { return FloatSize(); } 335 virtual FloatSize elasticOverscroll() const { return FloatSize(); }
332 336
333 // Called when observed XHR, fetch, and other fetch request with non-GET 337 // Called when observed XHR, fetch, and other fetch request with non-GET
334 // method is initiated from javascript. At this time, it is not guaranteed 338 // method is initiated from javascript. At this time, it is not guaranteed
335 // that this is comprehensive. 339 // that this is comprehensive.
336 virtual void didObserveNonGetFetchFromScript() const {} 340 virtual void didObserveNonGetFetchFromScript() const {}
337 341
338 virtual std::unique_ptr<WebFrameScheduler> createFrameScheduler( 342 virtual std::unique_ptr<WebFrameScheduler> createFrameScheduler(
339 BlameContext*) = 0; 343 BlameContext*) = 0;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 WeakMember<Node> m_lastMouseOverNode; 376 WeakMember<Node> m_lastMouseOverNode;
373 LayoutPoint m_lastToolTipPoint; 377 LayoutPoint m_lastToolTipPoint;
374 String m_lastToolTipText; 378 String m_lastToolTipText;
375 379
376 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 380 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
377 }; 381 };
378 382
379 } // namespace blink 383 } // namespace blink
380 384
381 #endif // ChromeClient_h 385 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698