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

Unified Diff: content/browser/renderer_host/frame_memory_manager.h

Issue 25942002: Make software compositing work on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows resolve Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/frame_memory_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/frame_memory_manager.h
diff --git a/content/browser/renderer_host/frame_memory_manager.h b/content/browser/renderer_host/frame_memory_manager.h
deleted file mode 100644
index ce3fc258226db30462b1797637a54a87430bae48..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/frame_memory_manager.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_RENDERER_HOST_FRAME_MEMORY_MANAGER_H_
-#define CONTENT_BROWSER_RENDERER_HOST_FRAME_MEMORY_MANAGER_H_
-
-#include <list>
-#include <set>
-
-#include "base/basictypes.h"
-
-template <typename T> struct DefaultSingletonTraits;
-
-namespace content {
-
-class FrameContainer {
- public:
- virtual void ReleaseCurrentFrame() = 0;
-};
-
-class FrameMemoryManager {
- public:
- static FrameMemoryManager* GetInstance();
-
- void AddFrame(FrameContainer*, bool visible);
- void RemoveFrame(FrameContainer*);
- void SetFrameVisibility(FrameContainer*, bool visible);
-
- private:
- FrameMemoryManager();
- ~FrameMemoryManager();
- void CullHiddenFrames();
- friend struct DefaultSingletonTraits<FrameMemoryManager>;
-
- std::set<FrameContainer*> visible_frames_;
- std::list<FrameContainer*> hidden_frames_;
-
- DISALLOW_COPY_AND_ASSIGN(FrameMemoryManager);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_FRAME_MEMORY_MANAGER_H_
« no previous file with comments | « no previous file | content/browser/renderer_host/frame_memory_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698