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

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

Issue 2150443002: Supplement should have a Member to the corresponding Supplementable object (Part 1) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 4 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 class HitTestResult; 63 class HitTestResult;
64 class IntRect; 64 class IntRect;
65 class LocalFrame; 65 class LocalFrame;
66 class Node; 66 class Node;
67 class Page; 67 class Page;
68 class PaintArtifact; 68 class PaintArtifact;
69 class PopupOpeningObserver; 69 class PopupOpeningObserver;
70 class WebDragData; 70 class WebDragData;
71 class WebFrameScheduler; 71 class WebFrameScheduler;
72 class WebImage; 72 class WebImage;
73 class WorkerClients;
73 74
74 struct CompositedSelection; 75 struct CompositedSelection;
75 struct DateTimeChooserParameters; 76 struct DateTimeChooserParameters;
76 struct FrameLoadRequest; 77 struct FrameLoadRequest;
77 struct GraphicsDeviceAdapter; 78 struct GraphicsDeviceAdapter;
78 struct ViewportDescription; 79 struct ViewportDescription;
79 struct WebPoint; 80 struct WebPoint;
80 struct WindowFeatures; 81 struct WindowFeatures;
81 82
82 class CORE_EXPORT ChromeClient : public HostWindow { 83 class CORE_EXPORT ChromeClient : public HostWindow {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 264
264 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { } 265 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { }
265 266
266 virtual void onMouseDown(Node*) { } 267 virtual void onMouseDown(Node*) { }
267 268
268 virtual void didUpdateTopControls() const { } 269 virtual void didUpdateTopControls() const { }
269 270
270 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; 271 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0;
271 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; 272 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0;
272 273
273 virtual CompositorProxyClient* createCompositorProxyClient(LocalFrame*) = 0; 274 virtual CompositorProxyClient* createCompositorProxyClient(LocalFrame*, Work erClients&) = 0;
274 275
275 virtual FloatSize elasticOverscroll() const { return FloatSize(); } 276 virtual FloatSize elasticOverscroll() const { return FloatSize(); }
276 277
277 // Called when observed XHR, fetch, and other fetch request with non-GET 278 // Called when observed XHR, fetch, and other fetch request with non-GET
278 // method is initiated from javascript. At this time, it is not guaranteed 279 // method is initiated from javascript. At this time, it is not guaranteed
279 // that this is comprehensive. 280 // that this is comprehensive.
280 virtual void didObserveNonGetFetchFromScript() const {} 281 virtual void didObserveNonGetFetchFromScript() const {}
281 282
282 virtual std::unique_ptr<WebFrameScheduler> createFrameScheduler(BlameContext *) = 0; 283 virtual std::unique_ptr<WebFrameScheduler> createFrameScheduler(BlameContext *) = 0;
283 284
(...skipping 17 matching lines...) Expand all
301 302
302 LayoutPoint m_lastToolTipPoint; 303 LayoutPoint m_lastToolTipPoint;
303 String m_lastToolTipText; 304 String m_lastToolTipText;
304 305
305 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 306 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
306 }; 307 };
307 308
308 } // namespace blink 309 } // namespace blink
309 310
310 #endif // ChromeClient_h 311 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698