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

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: Export CompositorAnimator Created 3 years, 11 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/CompositorProxyClient.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;
52 class CompositorAnimationTimeline; 53 class CompositorAnimationTimeline;
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 GraphicsLayer; 60 class GraphicsLayer;
61 class HTMLFormControlElement; 61 class HTMLFormControlElement;
62 class HTMLInputElement; 62 class HTMLInputElement;
63 class HTMLSelectElement; 63 class HTMLSelectElement;
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 317
318 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) {} 318 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) {}
319 319
320 virtual void onMouseDown(Node*) {} 320 virtual void onMouseDown(Node*) {}
321 321
322 virtual void didUpdateBrowserControls() const {} 322 virtual void didUpdateBrowserControls() const {}
323 323
324 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; 324 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0;
325 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; 325 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0;
326 326
327 virtual CompositorProxyClient* createCompositorProxyClient(LocalFrame*) = 0; 327 virtual CompositorProxyClient* createCompositorProxyClient(
328 CompositorProxyClient::Type,
329 LocalFrame*) = 0;
328 330
329 virtual FloatSize elasticOverscroll() const { return FloatSize(); } 331 virtual FloatSize elasticOverscroll() const { return FloatSize(); }
330 332
331 // Called when observed XHR, fetch, and other fetch request with non-GET 333 // Called when observed XHR, fetch, and other fetch request with non-GET
332 // method is initiated from javascript. At this time, it is not guaranteed 334 // method is initiated from javascript. At this time, it is not guaranteed
333 // that this is comprehensive. 335 // that this is comprehensive.
334 virtual void didObserveNonGetFetchFromScript() const {} 336 virtual void didObserveNonGetFetchFromScript() const {}
335 337
336 virtual std::unique_ptr<WebFrameScheduler> createFrameScheduler( 338 virtual std::unique_ptr<WebFrameScheduler> createFrameScheduler(
337 BlameContext*) = 0; 339 BlameContext*) = 0;
(...skipping 30 matching lines...) Expand all
368 WeakMember<Node> m_lastMouseOverNode; 370 WeakMember<Node> m_lastMouseOverNode;
369 LayoutPoint m_lastToolTipPoint; 371 LayoutPoint m_lastToolTipPoint;
370 String m_lastToolTipText; 372 String m_lastToolTipText;
371 373
372 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 374 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
373 }; 375 };
374 376
375 } // namespace blink 377 } // namespace blink
376 378
377 #endif // ChromeClient_h 379 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698