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..16bb409f193c4cca980bc526b62dc78ede83ec13 |
| --- /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; |
| +} // namespace content |
| + |
| +namespace ui { |
| + |
| +class UI_EXPORT WindowAndroidObserver { |
| + public: |
| + virtual void OnCompositingDidCommit(content::Compositor* compositor) = 0; |
| + virtual void OnAttachCompositor(content::Compositor* compositor) = 0; |
|
no sievers
2013/11/14 22:01:01
Can you remove the compositor argument from all fu
powei
2013/11/15 02:18:26
Done.
|
| + virtual void OnDetachCompositor(content::Compositor* compositor) = 0; |
| + |
| + protected: |
| + virtual ~WindowAndroidObserver() {} |
| +}; |
| + |
| +} // namespace ui |
| + |
| +#endif // UI_BASE_ANDROID_WINDOW_ANDROID_OBSERVER_H_ |