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

Unified 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: using MemoryUsage = int64_t; Created 6 years, 2 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
Index: android_webview/browser/global_tile_manager_client.h
diff --git a/android_webview/browser/global_tile_manager_client.h b/android_webview/browser/global_tile_manager_client.h
deleted file mode 100644
index b9cc64e115f2fa567b22b0c2a8498b618dc8b1c8..0000000000000000000000000000000000000000
--- a/android_webview/browser/global_tile_manager_client.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2014 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_BROWSER_GLOBAL_TILE_MANAGER_CLIENT_H_
-#define ANDROID_WEBVIEW_BROWSER_GLOBAL_TILE_MANAGER_CLIENT_H_
-
-#include "content/public/browser/android/synchronous_compositor.h"
-
-namespace android_webview {
-// GlobalTileManagerClient requests tile resources from GlobalTileManager.
-class GlobalTileManagerClient {
- public:
- // Get tile memory policy for the client.
- virtual content::SynchronousCompositorMemoryPolicy GetMemoryPolicy()
- const = 0;
-
- // Set tile memory policy of the client. When |effective_immediately| is
- // true, the client will enforce its tile policy immediately.
- virtual void SetMemoryPolicy(
- content::SynchronousCompositorMemoryPolicy new_policy,
- bool effective_immediately) = 0;
-
- protected:
- virtual ~GlobalTileManagerClient() {}
-};
-
-} // namespace android_webview
-
-#endif // ANDROID_WEBVIEW_BROWSER_GLOBAL_TILE_MANAGER_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698