OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 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 SKY_SHELL_GPU_DELEGATE_H_ | |
6 #define SKY_SHELL_GPU_DELEGATE_H_ | |
7 | |
8 #include "ui/gfx/native_widget_types.h" | |
9 | |
10 namespace sky { | |
11 namespace shell { | |
12 | |
13 class GPUDelegate { | |
14 public: | |
15 virtual void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) = 0; | |
eseidel
2015/02/05 05:57:28
Is AcceleratedWidget a pointer? Should this be co
abarth-chromium
2015/02/05 06:16:23
It's a platform-specific typedef, but it boils dow
| |
16 virtual void OnDestroyed() = 0; | |
17 | |
18 protected: | |
19 virtual ~GPUDelegate(); | |
20 }; | |
21 | |
22 } // namespace shell | |
23 } // namespace sky | |
24 | |
25 #endif // SKY_SHELL_GPU_DELEGATE_H_ | |
OLD | NEW |