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

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

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 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 27 matching lines...) Expand all
38 #include "public/platform/WebFocusType.h" 38 #include "public/platform/WebFocusType.h"
39 #include "wtf/Forward.h" 39 #include "wtf/Forward.h"
40 #include "wtf/PassOwnPtr.h" 40 #include "wtf/PassOwnPtr.h"
41 #include "wtf/Vector.h" 41 #include "wtf/Vector.h"
42 42
43 namespace blink { 43 namespace blink {
44 44
45 class AXObject; 45 class AXObject;
46 class ColorChooser; 46 class ColorChooser;
47 class ColorChooserClient; 47 class ColorChooserClient;
48 class CompositorProxyClient;
48 class DateTimeChooser; 49 class DateTimeChooser;
49 class DateTimeChooserClient; 50 class DateTimeChooserClient;
50 class Element; 51 class Element;
51 class FileChooser; 52 class FileChooser;
52 class Frame; 53 class Frame;
53 class FloatPoint; 54 class FloatPoint;
54 class GraphicsContext; 55 class GraphicsContext;
55 class GraphicsLayer; 56 class GraphicsLayer;
56 class GraphicsLayerFactory; 57 class GraphicsLayerFactory;
57 class HitTestResult; 58 class HitTestResult;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 245
245 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { } 246 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { }
246 247
247 virtual void onMouseDown(Node*) { } 248 virtual void onMouseDown(Node*) { }
248 249
249 virtual void didUpdateTopControls() const { } 250 virtual void didUpdateTopControls() const { }
250 251
251 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; 252 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0;
252 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; 253 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0;
253 254
255 virtual CompositorProxyClient* createCompositorProxyClient() = 0;
256 virtual void schedulePostCommitTask(PassOwnPtr<Closure>) { }
257
254 virtual FloatSize elasticOverscroll() const { return FloatSize(); } 258 virtual FloatSize elasticOverscroll() const { return FloatSize(); }
255 259
256 // Called when observed XHR, fetch, and other fetch request with non-GET 260 // Called when observed XHR, fetch, and other fetch request with non-GET
257 // method is initiated from javascript. At this time, it is not guaranteed 261 // method is initiated from javascript. At this time, it is not guaranteed
258 // that this is comprehensive. 262 // that this is comprehensive.
259 virtual void didObserveNonGetFetchFromScript() const {} 263 virtual void didObserveNonGetFetchFromScript() const {}
260 264
261 virtual PassOwnPtr<WebFrameScheduler> createFrameScheduler() = 0; 265 virtual PassOwnPtr<WebFrameScheduler> createFrameScheduler() = 0;
262 266
263 float screenToViewport(float) const override; 267 float screenToViewport(float) const override;
(...skipping 15 matching lines...) Expand all
279 283
280 LayoutPoint m_lastToolTipPoint; 284 LayoutPoint m_lastToolTipPoint;
281 String m_lastToolTipText; 285 String m_lastToolTipText;
282 286
283 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 287 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
284 }; 288 };
285 289
286 } // namespace blink 290 } // namespace blink
287 291
288 #endif // ChromeClient_h 292 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698