Chromium Code Reviews| Index: content/browser/renderer_host/compositor_observer.h |
| diff --git a/content/browser/renderer_host/compositor_observer.h b/content/browser/renderer_host/compositor_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..76165502557b1affb9ba4390852f68a5b20ece67 |
| --- /dev/null |
| +++ b/content/browser/renderer_host/compositor_observer.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
|
no sievers
2013/10/10 17:48:03
nit: (C) 2013
powei
2013/10/16 22:42:35
Done.
|
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_BROWSER_RENDER_HOST_COMPOSITOR_OBSERVER_H_ |
| +#define CONTENT_BROWSER_RENDER_HOST_COMPOSITOR_OBSERVER_H_ |
|
no sievers
2013/10/10 17:48:03
nit: RENDER_HOST -> RENDERER_HOST
powei
2013/10/16 22:42:35
Done.
|
| + |
| +namespace content { |
| + |
| +class Compositor; |
| + |
| +class CONTENT_EXPORT CompositorObserver { |
| + public: |
| + virtual void OnCompositingDidCommit(Compositor* compositor) = 0; |
| + |
| + protected: |
| + virtual ~CompositorObserver() {} |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_RENDER_HOST_COMPOSITOR_OBSERVER_H |