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

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

Issue 2230993002: Refactor composited selection code out of WebViewImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use single localFrame clearing. 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // In Slimming Paint v2, called when the paint artifact is updated, to allow 204 // In Slimming Paint v2, called when the paint artifact is updated, to allow
205 // the underlying web widget to composite it. 205 // the underlying web widget to composite it.
206 virtual void didPaint(const PaintArtifact&) { } 206 virtual void didPaint(const PaintArtifact&) { }
207 207
208 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFrame* localRoot) { } 208 virtual void attachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFrame* localRoot) { }
209 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFrame* localRoot) { } 209 virtual void detachCompositorAnimationTimeline(CompositorAnimationTimeline*, LocalFrame* localRoot) { }
210 210
211 virtual void enterFullScreenForElement(Element*) { } 211 virtual void enterFullScreenForElement(Element*) { }
212 virtual void exitFullScreenForElement(Element*) { } 212 virtual void exitFullScreenForElement(Element*) { }
213 213
214 virtual void clearCompositedSelection() { } 214 virtual void clearCompositedSelection(LocalFrame*) { }
215 virtual void updateCompositedSelection(const CompositedSelection&) { } 215 virtual void updateCompositedSelection(LocalFrame*, const CompositedSelectio n&) { }
216 216
217 virtual void setEventListenerProperties(WebEventListenerClass, WebEventListe nerProperties) = 0; 217 virtual void setEventListenerProperties(WebEventListenerClass, WebEventListe nerProperties) = 0;
218 virtual WebEventListenerProperties eventListenerProperties(WebEventListenerC lass) const = 0; 218 virtual WebEventListenerProperties eventListenerProperties(WebEventListenerC lass) const = 0;
219 virtual void setHasScrollEventHandlers(bool) = 0; 219 virtual void setHasScrollEventHandlers(bool) = 0;
220 virtual bool hasScrollEventHandlers() const = 0; 220 virtual bool hasScrollEventHandlers() const = 0;
221 221
222 virtual void setTouchAction(TouchAction) = 0; 222 virtual void setTouchAction(TouchAction) = 0;
223 223
224 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() . 224 // Checks if there is an opened popup, called by LayoutMenuList::showPopup() .
225 virtual bool hasOpenedPopup() const = 0; 225 virtual bool hasOpenedPopup() const = 0;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 301
302 LayoutPoint m_lastToolTipPoint; 302 LayoutPoint m_lastToolTipPoint;
303 String m_lastToolTipText; 303 String m_lastToolTipText;
304 304
305 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood); 305 FRIEND_TEST_ALL_PREFIXES(ChromeClientTest, SetToolTipFlood);
306 }; 306 };
307 307
308 } // namespace blink 308 } // namespace blink
309 309
310 #endif // ChromeClient_h 310 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698