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

Side by Side Diff: android_webview/browser/tile_resource_consumer.h

Issue 226363004: Global GPU memory manager for android webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary code Created 6 years, 7 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ANDROID_WEBVIEW_BROWSER_TILE_RESOURCE_CONSUMER_H_
6 #define ANDROID_WEBVIEW_BROWSER_TILE_RESOURCE_CONSUMER_H_
7
8 namespace android_webview {
9 // TileResourceConsumer is a class that requests tile resources from
10 // GlobalTileManager.
11 class TileResourceConsumer {
boliu 2014/04/28 22:22:15 Call this GlobalTileManagerClient
hush (inactive) 2014/04/30 20:50:17 Done.
12 public:
13 virtual size_t CalculateTileRequest() = 0;
boliu 2014/04/28 22:22:15 const
hush (inactive) 2014/04/30 20:50:17 Done.
14 virtual size_t ForceDropTiles() = 0;
15 virtual bool IsStarved() = 0;
boliu 2014/04/28 22:22:15 Not needed
hush (inactive) 2014/04/30 20:50:17 Actually, we need a function for the client to tel
16 virtual ~TileResourceConsumer() {}
boliu 2014/04/28 22:22:15 In protected section
hush (inactive) 2014/04/30 20:50:17 Done.
17 };
18
19 } // namespace android_webview
20
21 #endif
boliu 2014/04/28 22:22:15 comment on endif (yes I know, stupid...)
hush (inactive) 2014/04/30 20:50:17 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698