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

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

Issue 643993005: Remove limit on number of resources in cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 6 years, 1 month 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 #include "content/public/browser/android/synchronous_compositor.h"
9
10 namespace android_webview {
11 // GlobalTileManagerClient requests tile resources from GlobalTileManager.
12 class GlobalTileManagerClient {
13 public:
14 // Get tile memory policy for the client.
15 virtual content::SynchronousCompositorMemoryPolicy GetMemoryPolicy()
16 const = 0;
17
18 // Set tile memory policy of the client. When |effective_immediately| is
19 // true, the client will enforce its tile policy immediately.
20 virtual void SetMemoryPolicy(
21 content::SynchronousCompositorMemoryPolicy new_policy,
22 bool effective_immediately) = 0;
23
24 protected:
25 virtual ~GlobalTileManagerClient() {}
26 };
27
28 } // namespace android_webview
29
30 #endif // ANDROID_WEBVIEW_BROWSER_GLOBAL_TILE_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698