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

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

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bring up oilpan support during compositor worker creation and oilpan the compositor mutator and pro… Created 4 years, 7 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 reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "wtf/Forward.h" 42 #include "wtf/Forward.h"
43 #include "wtf/PassOwnPtr.h" 43 #include "wtf/PassOwnPtr.h"
44 #include "wtf/Vector.h" 44 #include "wtf/Vector.h"
45 45
46 namespace blink { 46 namespace blink {
47 47
48 class AXObject; 48 class AXObject;
49 class ColorChooser; 49 class ColorChooser;
50 class ColorChooserClient; 50 class ColorChooserClient;
51 class CompositorAnimationTimeline; 51 class CompositorAnimationTimeline;
52 class CompositorProxyClient;
52 class DateTimeChooser; 53 class DateTimeChooser;
53 class DateTimeChooserClient; 54 class DateTimeChooserClient;
54 class Element; 55 class Element;
55 class FileChooser; 56 class FileChooser;
56 class FloatPoint; 57 class FloatPoint;
57 class Frame; 58 class Frame;
58 class GraphicsContext; 59 class GraphicsContext;
59 class GraphicsLayer; 60 class GraphicsLayer;
60 class HTMLFormControlElement; 61 class HTMLFormControlElement;
61 class HTMLInputElement; 62 class HTMLInputElement;
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 262
262 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { } 263 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { }
263 264
264 virtual void onMouseDown(Node*) { } 265 virtual void onMouseDown(Node*) { }
265 266
266 virtual void didUpdateTopControls() const { } 267 virtual void didUpdateTopControls() const { }
267 268
268 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; 269 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0;
269 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; 270 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0;
270 271
272 virtual CompositorProxyClient* createCompositorProxyClient(LocalFrame* local Root) = 0;
273
271 virtual FloatSize elasticOverscroll() const { return FloatSize(); } 274 virtual FloatSize elasticOverscroll() const { return FloatSize(); }
272 275
273 // Called when observed XHR, fetch, and other fetch request with non-GET 276 // Called when observed XHR, fetch, and other fetch request with non-GET
274 // method is initiated from javascript. At this time, it is not guaranteed 277 // method is initiated from javascript. At this time, it is not guaranteed
275 // that this is comprehensive. 278 // that this is comprehensive.
276 virtual void didObserveNonGetFetchFromScript() const {} 279 virtual void didObserveNonGetFetchFromScript() const {}
277 280
278 virtual PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) = 0; 281 virtual PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) = 0;
279 282
280 protected: 283 protected:
(...skipping 13 matching lines...) Expand all
294 297
295 LayoutPoint m_lastToolTipPoint; 298 LayoutPoint m_lastToolTipPoint;
296 String m_lastToolTipText; 299 String m_lastToolTipText;
297 300
298 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 301 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
299 }; 302 };
300 303
301 } // namespace blink 304 } // namespace blink
302 305
303 #endif // ChromeClient_h 306 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698