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

Side by Side Diff: Source/core/frame/Frame.h

Issue 117703004: Free temporary GPU and memory resources held by inactive or hidden 2D canvases (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: typo Created 6 years, 11 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/dom/DocumentTest.cpp ('k') | Source/core/frame/Frame.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) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999-2001 Lars Knoll <knoll@kde.org> 3 * 1999-2001 Lars Knoll <knoll@kde.org>
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> 4 * 1999-2001 Antti Koivisto <koivisto@kde.org>
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> 5 * 2000-2001 Simon Hausmann <hausmann@kde.org>
6 * 2000-2001 Dirk Mueller <mueller@kde.org> 6 * 2000-2001 Dirk Mueller <mueller@kde.org>
7 * 2000 Stefan Schimanski <1Stein@gmx.de> 7 * 2000 Stefan Schimanski <1Stein@gmx.de>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 FrameTree& tree() const; 152 FrameTree& tree() const;
153 AnimationController& animation() const; 153 AnimationController& animation() const;
154 InputMethodController& inputMethodController() const; 154 InputMethodController& inputMethodController() const;
155 FetchContext& fetchContext() const { return loader().fetchContext(); } 155 FetchContext& fetchContext() const { return loader().fetchContext(); }
156 ScriptController& script(); 156 ScriptController& script();
157 SpellChecker& spellChecker() const; 157 SpellChecker& spellChecker() const;
158 158
159 RenderView* contentRenderer() const; // Root of the render tree for the document contained in this frame. 159 RenderView* contentRenderer() const; // Root of the render tree for the document contained in this frame.
160 RenderPart* ownerRenderer() const; // Renderer for the element that cont ains this frame. 160 RenderPart* ownerRenderer() const; // Renderer for the element that cont ains this frame.
161 161
162 void dispatchVisibilityStateChangeEvent(); 162 void didChangeVisibilityState();
163 163
164 int64_t frameID() const { return m_frameInit->frameID(); } 164 int64_t frameID() const { return m_frameInit->frameID(); }
165 165
166 // FIXME: These should move to RemoteFrame once that exists. 166 // FIXME: These should move to RemoteFrame once that exists.
167 // RemotePlatformLayer is only ever set for Frames which exist in anothe r process. 167 // RemotePlatformLayer is only ever set for Frames which exist in anothe r process.
168 void setRemotePlatformLayer(blink::WebLayer* remotePlatformLayer) { m_re motePlatformLayer = remotePlatformLayer; } 168 void setRemotePlatformLayer(blink::WebLayer* remotePlatformLayer) { m_re motePlatformLayer = remotePlatformLayer; }
169 blink::WebLayer* remotePlatformLayer() const { return m_remotePlatformLa yer; } 169 blink::WebLayer* remotePlatformLayer() const { return m_remotePlatformLa yer; }
170 170
171 // ======== All public functions below this point are candidates to move out of Frame into another class. ======== 171 // ======== All public functions below this point are candidates to move out of Frame into another class. ========
172 172
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 331
332 inline EventHandler& Frame::eventHandler() const 332 inline EventHandler& Frame::eventHandler() const
333 { 333 {
334 ASSERT(m_eventHandler); 334 ASSERT(m_eventHandler);
335 return *m_eventHandler; 335 return *m_eventHandler;
336 } 336 }
337 337
338 } // namespace WebCore 338 } // namespace WebCore
339 339
340 #endif // Frame_h 340 #endif // Frame_h
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentTest.cpp ('k') | Source/core/frame/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698