• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 CONTENT_PUBLIC_BROWSER_ANDROID_UI_RESOURCE_PROVIDER_H_
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_UI_RESOURCE_PROVIDER_H_
7 
8 #include "cc/resources/ui_resource_client.h"
9 #include "content/common/content_export.h"
10 
11 namespace content {
12 
13 class UIResourceClientAndroid;
14 
15 class CONTENT_EXPORT UIResourceProvider {
16  public:
~UIResourceProvider()17   virtual ~UIResourceProvider() {}
18 
19   virtual cc::UIResourceId CreateUIResource(
20       UIResourceClientAndroid* client) = 0;
21 
22   virtual void DeleteUIResource(cc::UIResourceId resource_id) = 0;
23 };
24 
25 }  // namespace content
26 
27 #endif  // CONTENT_PUBLIC_BROWSER_ANDROID_UI_RESOURCE_PROVIDER_H_
28