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

Side by Side Diff: Source/web/ChromeClientImpl.h

Issue 139103009: If a compositing update is declared as needed, scheduleAnimation should be triggered. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: patch for landing, added crbug to fixme comment Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | Source/web/ChromeClientImpl.cpp » ('j') | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 virtual bool runJavaScriptConfirm(WebCore::Frame*, const WTF::String&) OVERR IDE; 109 virtual bool runJavaScriptConfirm(WebCore::Frame*, const WTF::String&) OVERR IDE;
110 virtual bool runJavaScriptPrompt( 110 virtual bool runJavaScriptPrompt(
111 WebCore::Frame*, const WTF::String& message, 111 WebCore::Frame*, const WTF::String& message,
112 const WTF::String& defaultValue, WTF::String& result) OVERRIDE; 112 const WTF::String& defaultValue, WTF::String& result) OVERRIDE;
113 virtual void setStatusbarText(const WTF::String& message) OVERRIDE; 113 virtual void setStatusbarText(const WTF::String& message) OVERRIDE;
114 virtual bool tabsToLinks() OVERRIDE; 114 virtual bool tabsToLinks() OVERRIDE;
115 virtual WebCore::IntRect windowResizerRect() const OVERRIDE; 115 virtual WebCore::IntRect windowResizerRect() const OVERRIDE;
116 virtual void invalidateContentsAndRootView(const WebCore::IntRect&) OVERRIDE ; 116 virtual void invalidateContentsAndRootView(const WebCore::IntRect&) OVERRIDE ;
117 virtual void invalidateContentsForSlowScroll(const WebCore::IntRect&) OVERRI DE; 117 virtual void invalidateContentsForSlowScroll(const WebCore::IntRect&) OVERRI DE;
118 virtual void scheduleAnimation() OVERRIDE; 118 virtual void scheduleAnimation() OVERRIDE;
119 virtual bool isCompositorFramePending() const OVERRIDE;
119 virtual void scroll( 120 virtual void scroll(
120 const WebCore::IntSize& scrollDelta, const WebCore::IntRect& rectToScrol l, 121 const WebCore::IntSize& scrollDelta, const WebCore::IntRect& rectToScrol l,
121 const WebCore::IntRect& clipRect) OVERRIDE; 122 const WebCore::IntRect& clipRect) OVERRIDE;
122 virtual WebCore::IntRect rootViewToScreen(const WebCore::IntRect&) const OVE RRIDE; 123 virtual WebCore::IntRect rootViewToScreen(const WebCore::IntRect&) const OVE RRIDE;
123 virtual WebScreenInfo screenInfo() const OVERRIDE; 124 virtual WebScreenInfo screenInfo() const OVERRIDE;
124 virtual void contentsSizeChanged(WebCore::Frame*, const WebCore::IntSize&) c onst OVERRIDE; 125 virtual void contentsSizeChanged(WebCore::Frame*, const WebCore::IntSize&) c onst OVERRIDE;
125 virtual void deviceOrPageScaleFactorChanged() const OVERRIDE; 126 virtual void deviceOrPageScaleFactorChanged() const OVERRIDE;
126 virtual void layoutUpdated(WebCore::Frame*) const OVERRIDE; 127 virtual void layoutUpdated(WebCore::Frame*) const OVERRIDE;
127 virtual void mouseDidMoveOverElement( 128 virtual void mouseDidMoveOverElement(
128 const WebCore::HitTestResult&, unsigned modifierFlags) OVERRIDE; 129 const WebCore::HitTestResult&, unsigned modifierFlags) OVERRIDE;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); 219 explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
219 220
220 WebViewImpl* m_webView; 221 WebViewImpl* m_webView;
221 }; 222 };
222 223
223 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl()); 224 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl());
224 225
225 } // namespace blink 226 } // namespace blink
226 227
227 #endif 228 #endif
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698