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

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

Issue 2113483002: Make RootScroller set the outer viewport scroll layer in the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 WebLayer;
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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 virtual void didUpdateTextOfFocusedElementByNonUserInput() { } 260 virtual void didUpdateTextOfFocusedElementByNonUserInput() { }
260 virtual void showImeIfNeeded() { } 261 virtual void showImeIfNeeded() { }
261 262
262 virtual void registerViewportLayers() const { } 263 virtual void registerViewportLayers() const { }
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 { }
270 virtual void didUpdateRootScrollerLayer(WebLayer*) const { }
269 271
270 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; 272 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0;
271 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; 273 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0;
272 274
273 virtual CompositorProxyClient* createCompositorProxyClient(LocalFrame*) = 0; 275 virtual CompositorProxyClient* createCompositorProxyClient(LocalFrame*) = 0;
274 276
275 virtual FloatSize elasticOverscroll() const { return FloatSize(); } 277 virtual FloatSize elasticOverscroll() const { return FloatSize(); }
276 278
277 // Called when observed XHR, fetch, and other fetch request with non-GET 279 // 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 280 // method is initiated from javascript. At this time, it is not guaranteed
(...skipping 22 matching lines...) Expand all
301 303
302 LayoutPoint m_lastToolTipPoint; 304 LayoutPoint m_lastToolTipPoint;
303 String m_lastToolTipText; 305 String m_lastToolTipText;
304 306
305 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 307 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
306 }; 308 };
307 309
308 } // namespace blink 310 } // namespace blink
309 311
310 #endif // ChromeClient_h 312 #endif // ChromeClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698