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

Side by Side Diff: ui/base/android/window_android_compositor.h

Issue 755643004: Replace SystemUIResourceManager with ResourceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clang build failure Created 6 years 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
« no previous file with comments | « ui/base/android/system_ui_resource_manager.h ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_ 5 #ifndef UI_BASE_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_
6 #define UI_BASE_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_ 6 #define UI_BASE_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_
7 7
8 #include "cc/output/copy_output_request.h" 8 #include "cc/output/copy_output_request.h"
9 #include "ui/base/android/system_ui_resource_manager.h"
10 #include "ui/base/ui_base_export.h" 9 #include "ui/base/ui_base_export.h"
11 10
12 namespace cc { 11 namespace cc {
13 class Layer; 12 class Layer;
14 } 13 }
15 14
16 namespace ui { 15 namespace ui {
17 16
17 class ResourceManager;
18
18 // Android interface for compositor-related tasks. 19 // Android interface for compositor-related tasks.
19 class UI_BASE_EXPORT WindowAndroidCompositor { 20 class UI_BASE_EXPORT WindowAndroidCompositor {
20 public: 21 public:
21 virtual ~WindowAndroidCompositor() {} 22 virtual ~WindowAndroidCompositor() {}
22 23
23 virtual void AttachLayerForReadback(scoped_refptr<cc::Layer> layer) = 0; 24 virtual void AttachLayerForReadback(scoped_refptr<cc::Layer> layer) = 0;
24 virtual void RequestCopyOfOutputOnRootLayer( 25 virtual void RequestCopyOfOutputOnRootLayer(
25 scoped_ptr<cc::CopyOutputRequest> request) = 0; 26 scoped_ptr<cc::CopyOutputRequest> request) = 0;
26 virtual void OnVSync(base::TimeTicks frame_time, 27 virtual void OnVSync(base::TimeTicks frame_time,
27 base::TimeDelta vsync_period) = 0; 28 base::TimeDelta vsync_period) = 0;
28 virtual void SetNeedsAnimate() = 0; 29 virtual void SetNeedsAnimate() = 0;
29 virtual SystemUIResourceManager& GetSystemUIResourceManager() = 0; 30 virtual ResourceManager& GetResourceManager() = 0;
30 }; 31 };
31 32
32 } // namespace ui 33 } // namespace ui
33 34
34 #endif // UI_BASE_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_ 35 #endif // UI_BASE_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « ui/base/android/system_ui_resource_manager.h ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698