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

Side by Side Diff: Source/core/loader/EmptyClients.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 virtual bool tabsToLinks() OVERRIDE { return false; } 127 virtual bool tabsToLinks() OVERRIDE { return false; }
128 128
129 virtual IntRect windowResizerRect() const OVERRIDE { return IntRect(); } 129 virtual IntRect windowResizerRect() const OVERRIDE { return IntRect(); }
130 130
131 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE { } 131 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE { }
132 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE { } 132 virtual void invalidateContentsForSlowScroll(const IntRect&) OVERRIDE { }
133 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) OVERRIDE { } 133 virtual void scroll(const IntSize&, const IntRect&, const IntRect&) OVERRIDE { }
134 virtual void scheduleAnimation() OVERRIDE { } 134 virtual void scheduleAnimation() OVERRIDE { }
135 135
136 virtual bool isCompositorFramePending() const OVERRIDE { return false; }
137
136 virtual IntRect rootViewToScreen(const IntRect& r) const OVERRIDE { return r ; } 138 virtual IntRect rootViewToScreen(const IntRect& r) const OVERRIDE { return r ; }
137 virtual blink::WebScreenInfo screenInfo() const OVERRIDE { return blink::Web ScreenInfo(); } 139 virtual blink::WebScreenInfo screenInfo() const OVERRIDE { return blink::Web ScreenInfo(); }
138 virtual void contentsSizeChanged(Frame*, const IntSize&) const OVERRIDE { } 140 virtual void contentsSizeChanged(Frame*, const IntSize&) const OVERRIDE { }
139 141
140 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned) OVERRID E { } 142 virtual void mouseDidMoveOverElement(const HitTestResult&, unsigned) OVERRID E { }
141 143
142 virtual void setToolTip(const String&, TextDirection) OVERRIDE { } 144 virtual void setToolTip(const String&, TextDirection) OVERRIDE { }
143 145
144 virtual void print(Frame*) OVERRIDE { } 146 virtual void print(Frame*) OVERRIDE { }
145 147
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 public: 329 public:
328 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E; 330 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E;
329 virtual bool canAccessStorage(Frame*, StorageType) const OVERRIDE { return f alse; } 331 virtual bool canAccessStorage(Frame*, StorageType) const OVERRIDE { return f alse; }
330 }; 332 };
331 333
332 void fillWithEmptyClients(Page::PageClients&); 334 void fillWithEmptyClients(Page::PageClients&);
333 335
334 } 336 }
335 337
336 #endif // EmptyClients_h 338 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698