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

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

Issue 226363004: Global GPU memory manager for android webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Type casts and private methods in BVR. 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_GLOBAL_TILE_MANAGER_CLIENT_H_
6 #define ANDROID_WEBVIEW_BROWSER_GLOBAL_TILE_MANAGER_CLIENT_H_
7
8 namespace android_webview {
9 // GlobalTileManagerClient requests tile resources from GlobalTileManager.
10 class GlobalTileManagerClient {
11 public:
12 // Get the number of tiles allocated to the client.
13 virtual size_t GetNumTiles() const = 0;
14
15 // Set the number of tiles allocated to the client. When
16 // |effective_immediately| is true, the client will enforce its tile policy
17 // immediately.
18 virtual void SetNumTiles(size_t num_tiles, bool effective_immediately) = 0;
19
20 protected:
21 virtual ~GlobalTileManagerClient() {}
22 };
23
24 } // namespace android_webview
25
26 #endif // ANDROID_WEBVIEW_BROWSER_GLOBAL_TILE_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/browser/global_tile_manager.cc ('k') | android_webview/browser/global_tile_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698