Support onvoiceschanged for extension-based tts engines.
[chromium-blink-merge.git] / android_webview / browser / global_tile_manager_client.h
blobec4dad6bc9af8d44db773f57526a1c87a4792ae2
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.
5 #ifndef ANDROID_WEBVIEW_BROWSER_GLOBAL_TILE_MANAGER_CLIENT_H_
6 #define ANDROID_WEBVIEW_BROWSER_GLOBAL_TILE_MANAGER_CLIENT_H_
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;
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;
20 protected:
21 virtual ~GlobalTileManagerClient() {}
24 } // namespace android_webview
26 #endif // ANDROID_WEBVIEW_BROWSER_GLOBAL_TILE_MANAGER_CLIENT_H_