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

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

Issue 22980007: Remove USE(REQUEST_ANIMATION_FRAME_TIMER) as it not used (never set). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 virtual IntRect windowResizerRect() const = 0; 148 virtual IntRect windowResizerRect() const = 0;
149 149
150 // Methods used by HostWindow. 150 // Methods used by HostWindow.
151 virtual void invalidateContentsAndRootView(const IntRect&) = 0; 151 virtual void invalidateContentsAndRootView(const IntRect&) = 0;
152 virtual void invalidateContentsForSlowScroll(const IntRect&) = 0; 152 virtual void invalidateContentsForSlowScroll(const IntRect&) = 0;
153 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) = 0; 153 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) = 0;
154 virtual IntPoint screenToRootView(const IntPoint&) const = 0; 154 virtual IntPoint screenToRootView(const IntPoint&) const = 0;
155 virtual IntRect rootViewToScreen(const IntRect&) const = 0; 155 virtual IntRect rootViewToScreen(const IntRect&) const = 0;
156 virtual WebKit::WebScreenInfo screenInfo() const = 0; 156 virtual WebKit::WebScreenInfo screenInfo() const = 0;
157 virtual void setCursor(const Cursor&) = 0; 157 virtual void setCursor(const Cursor&) = 0;
158 #if !USE(REQUEST_ANIMATION_FRAME_TIMER)
159 virtual void scheduleAnimation() = 0; 158 virtual void scheduleAnimation() = 0;
160 #endif
161 // End methods used by HostWindow. 159 // End methods used by HostWindow.
162 160
163 virtual void dispatchViewportPropertiesDidChange(const ViewportArguments&) c onst { } 161 virtual void dispatchViewportPropertiesDidChange(const ViewportArguments&) c onst { }
164 162
165 virtual void contentsSizeChanged(Frame*, const IntSize&) const = 0; 163 virtual void contentsSizeChanged(Frame*, const IntSize&) const = 0;
166 virtual void deviceOrPageScaleFactorChanged() const { } 164 virtual void deviceOrPageScaleFactorChanged() const { }
167 virtual void layoutUpdated(Frame*) const { } 165 virtual void layoutUpdated(Frame*) const { }
168 166
169 // didProgrammaticallyScroll should be called whenever a Frame is programmat ically scrolled. 167 // didProgrammaticallyScroll should be called whenever a Frame is programmat ically scrolled.
170 virtual void didProgrammaticallyScroll(Frame*, const IntPoint& newScrollPosi tion) const { } 168 virtual void didProgrammaticallyScroll(Frame*, const IntPoint& newScrollPosi tion) const { }
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 278
281 // Notifies the client a popup was closed. 279 // Notifies the client a popup was closed.
282 virtual void popupClosed(PopupContainer* popupContainer) = 0; 280 virtual void popupClosed(PopupContainer* popupContainer) = 0;
283 281
284 protected: 282 protected:
285 virtual ~ChromeClient() { } 283 virtual ~ChromeClient() { }
286 }; 284 };
287 285
288 } 286 }
289 #endif // ChromeClient_h 287 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698