Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 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 UI_BASE_ANDROID_WINDOW_ANDROID_OBSERVER_H_ | |
| 6 #define UI_BASE_ANDROID_WINDOW_ANDROID_OBSERVER_H_ | |
| 7 | |
| 8 #include "ui/base/ui_export.h" | |
| 9 | |
| 10 namespace content { | |
| 11 class Compositor; | |
|
no sievers
2013/11/15 20:15:20
remove this
powei
2013/11/15 22:41:28
Done.
| |
| 12 } // namespace content | |
| 13 | |
| 14 namespace ui { | |
| 15 | |
| 16 class UI_EXPORT WindowAndroidObserver { | |
| 17 public: | |
| 18 virtual void OnCompositingDidCommit() = 0; | |
| 19 virtual void OnAttachCompositor() = 0; | |
|
no sievers
2013/11/15 20:15:20
I don't see anyone call OnAttach/Detach.
Can the
powei
2013/11/15 22:41:28
Done.
| |
| 20 virtual void OnDetachCompositor() = 0; | |
| 21 | |
| 22 protected: | |
| 23 virtual ~WindowAndroidObserver() {} | |
| 24 }; | |
| 25 | |
| 26 } // namespace ui | |
| 27 | |
| 28 #endif // UI_BASE_ANDROID_WINDOW_ANDROID_OBSERVER_H_ | |
| OLD | NEW |