Update DT_RELA* fields when packing relocations with addends.
[chromium-blink-merge.git] / ui / base / android / window_android_compositor.h
blobeee33578e1afc1d753f620e354c56bb52fe998a6
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 UI_BASE_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_
6 #define UI_BASE_ANDROID_WINDOW_ANDROID_COMPOSITOR_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"
12 namespace cc {
13 class Layer;
16 namespace ui {
18 // Android interface for compositor-related tasks.
19 class UI_BASE_EXPORT WindowAndroidCompositor {
20 public:
21 virtual ~WindowAndroidCompositor() {}
23 virtual void AttachLayerForReadback(scoped_refptr<cc::Layer> layer) = 0;
24 virtual void RequestCopyOfOutputOnRootLayer(
25 scoped_ptr<cc::CopyOutputRequest> request) = 0;
26 virtual void OnVSync(base::TimeTicks frame_time,
27 base::TimeDelta vsync_period) = 0;
28 virtual void SetNeedsAnimate() = 0;
29 virtual SystemUIResourceManager& GetSystemUIResourceManager() = 0;
32 } // namespace ui
34 #endif // UI_BASE_ANDROID_WINDOW_ANDROID_COMPOSITOR_H_