Chromium Code Reviews| Index: ui/base/android/window_android_observer.h |
| diff --git a/ui/base/android/window_android_observer.h b/ui/base/android/window_android_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2ca4823e645324aba0ac960261c459138ee42dd7 |
| --- /dev/null |
| +++ b/ui/base/android/window_android_observer.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef UI_BASE_ANDROID_WINDOW_ANDROID_OBSERVER_H_ |
| +#define UI_BASE_ANDROID_WINDOW_ANDROID_OBSERVER_H_ |
| + |
| +#include "ui/base/ui_export.h" |
| + |
| +namespace content { |
| +class Compositor; |
|
no sievers
2013/11/15 20:15:20
remove this
powei
2013/11/15 22:41:28
Done.
|
| +} // namespace content |
| + |
| +namespace ui { |
| + |
| +class UI_EXPORT WindowAndroidObserver { |
| + public: |
| + virtual void OnCompositingDidCommit() = 0; |
| + 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.
|
| + virtual void OnDetachCompositor() = 0; |
| + |
| + protected: |
| + virtual ~WindowAndroidObserver() {} |
| +}; |
| + |
| +} // namespace ui |
| + |
| +#endif // UI_BASE_ANDROID_WINDOW_ANDROID_OBSERVER_H_ |