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

Unified Diff: content/renderer/render_process_visibility_manager.h

Issue 23129015: Initialize RenderWidget(Host)(View)s with correct visibility state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/renderer/render_process_visibility_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_process_visibility_manager.h
diff --git a/content/renderer/render_process_visibility_manager.h b/content/renderer/render_process_visibility_manager.h
deleted file mode 100644
index 290da81536d1e0e19bbf2f6f8f3d64c386c4a43f..0000000000000000000000000000000000000000
--- a/content/renderer/render_process_visibility_manager.h
+++ /dev/null
@@ -1,32 +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_RENDERER_RENDER_PROCESS_VISIBILITY_MANAGER_H_
-#define CONTENT_RENDERER_RENDER_PROCESS_VISIBILITY_MANAGER_H_
-
-#include "base/memory/singleton.h"
-#include "content/common/content_export.h"
-
-namespace content {
-
-class CONTENT_EXPORT RenderProcessVisibilityManager {
- public:
- static RenderProcessVisibilityManager* GetInstance();
-
- void WidgetVisibilityChanged(bool visible);
-
- private:
- friend struct DefaultSingletonTraits<RenderProcessVisibilityManager>;
-
- RenderProcessVisibilityManager();
- ~RenderProcessVisibilityManager();
-
- int num_visible_render_widgets_;
-
- DISALLOW_COPY_AND_ASSIGN(RenderProcessVisibilityManager);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_RENDER_PROCESS_VISIBILITY_MANAGER_H_
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/renderer/render_process_visibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698