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

Unified Diff: android_webview/common/renderer_picture_map.h

Issue 16796002: Delete the browser-compositor webview render mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | « android_webview/common/render_view_messages.h ('k') | android_webview/common/renderer_picture_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/common/renderer_picture_map.h
diff --git a/android_webview/common/renderer_picture_map.h b/android_webview/common/renderer_picture_map.h
deleted file mode 100644
index 5e0229d23abd69d0397af32aa94371574b3e822f..0000000000000000000000000000000000000000
--- a/android_webview/common/renderer_picture_map.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2012 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 ANDROID_WEBVIEW_COMMON_RENDERER_PICTURE_MAP_H_
-#define ANDROID_WEBVIEW_COMMON_RENDERER_PICTURE_MAP_H_
-
-#include <map>
-
-#include "base/synchronization/lock.h"
-#include "skia/ext/refptr.h"
-#include "third_party/skia/include/core/SkPicture.h"
-
-namespace android_webview {
-
-// Stores pictures received from diferent renderers and associates them by
-// renderer id. Will only work in single process mode.
-class RendererPictureMap {
- public:
- static void CreateInstance();
- static RendererPictureMap* GetInstance();
-
- skia::RefPtr<SkPicture> GetRendererPicture(int id);
- void SetRendererPicture(int id, skia::RefPtr<SkPicture> picture);
- void ClearRendererPicture(int id);
-
- private:
- RendererPictureMap();
- ~RendererPictureMap();
-
- typedef std::map<int, skia::RefPtr<SkPicture> > PictureMap;
- PictureMap picture_map_;
- base::Lock lock_;
-};
-
-} // android_webview
-
-#endif // ANDROID_WEBVIEW_COMMON_RENDERER_PICTURE_MAP_H_
« no previous file with comments | « android_webview/common/render_view_messages.h ('k') | android_webview/common/renderer_picture_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698