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

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

Issue 1810853002: Blink Platform: Erase GraphicsLayerFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class ColorChooser; 47 class ColorChooser;
48 class ColorChooserClient; 48 class ColorChooserClient;
49 class DateTimeChooser; 49 class DateTimeChooser;
50 class DateTimeChooserClient; 50 class DateTimeChooserClient;
51 class Element; 51 class Element;
52 class FileChooser; 52 class FileChooser;
53 class Frame; 53 class Frame;
54 class FloatPoint; 54 class FloatPoint;
55 class GraphicsContext; 55 class GraphicsContext;
56 class GraphicsLayer; 56 class GraphicsLayer;
57 class GraphicsLayerFactory;
58 class HitTestResult; 57 class HitTestResult;
59 class HTMLFormControlElement; 58 class HTMLFormControlElement;
60 class HTMLInputElement; 59 class HTMLInputElement;
61 class HTMLSelectElement; 60 class HTMLSelectElement;
62 class IntRect; 61 class IntRect;
63 class LocalFrame; 62 class LocalFrame;
64 class Node; 63 class Node;
65 class Page; 64 class Page;
66 class PaintArtifact; 65 class PaintArtifact;
67 class PopupOpeningObserver; 66 class PopupOpeningObserver;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // ENABLE(INPUT_MULTIPLE_FIELDS_UI) 170 // ENABLE(INPUT_MULTIPLE_FIELDS_UI)
172 virtual PassRefPtrWillBeRawPtr<DateTimeChooser> openDateTimeChooser(DateTime ChooserClient*, const DateTimeChooserParameters&) = 0; 171 virtual PassRefPtrWillBeRawPtr<DateTimeChooser> openDateTimeChooser(DateTime ChooserClient*, const DateTimeChooserParameters&) = 0;
173 172
174 virtual void openTextDataListChooser(HTMLInputElement&)= 0; 173 virtual void openTextDataListChooser(HTMLInputElement&)= 0;
175 174
176 virtual void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) = 0; 175 virtual void openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) = 0;
177 176
178 // Asychronous request to enumerate all files in a directory chosen by the u ser. 177 // Asychronous request to enumerate all files in a directory chosen by the u ser.
179 virtual void enumerateChosenDirectory(FileChooser*) = 0; 178 virtual void enumerateChosenDirectory(FileChooser*) = 0;
180 179
181 // Allows ports to customize the type of graphics layers created by this pag e.
182 virtual GraphicsLayerFactory* graphicsLayerFactory() const { return nullptr; }
183
184 // Pass 0 as the GraphicsLayer to detach the root layer. 180 // Pass 0 as the GraphicsLayer to detach the root layer.
185 // This sets the graphics layer for the LocalFrame's WebWidget, if it has 181 // This sets the graphics layer for the LocalFrame's WebWidget, if it has
186 // one. Otherwise it sets it for the WebViewImpl. 182 // one. Otherwise it sets it for the WebViewImpl.
187 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) = 0; 183 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) = 0;
188 184
189 // In Slimming Paint v2, called when the paint artifact is updated, to allow 185 // In Slimming Paint v2, called when the paint artifact is updated, to allow
190 // the underlying web widget to composite it. 186 // the underlying web widget to composite it.
191 virtual void didPaint(const PaintArtifact&) { } 187 virtual void didPaint(const PaintArtifact&) { }
192 188
193 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFrame* localRoot) { } 189 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFrame* localRoot) { }
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 277
282 LayoutPoint m_lastToolTipPoint; 278 LayoutPoint m_lastToolTipPoint;
283 String m_lastToolTipText; 279 String m_lastToolTipText;
284 280
285 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 281 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
286 }; 282 };
287 283
288 } // namespace blink 284 } // namespace blink
289 285
290 #endif // ChromeClient_h 286 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698