OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ANDROID_WEBVIEW_BROWSER_COMPOSITOR_FRAME_CONSUMER_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_COMPOSITOR_FRAME_CONSUMER_H_ |
6 #define ANDROID_WEBVIEW_BROWSER_COMPOSITOR_FRAME_CONSUMER_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_COMPOSITOR_FRAME_CONSUMER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "android_webview/browser/child_frame.h" | 10 #include "android_webview/browser/child_frame.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 virtual ChildFrameQueue PassUncommittedFrameOnUI() = 0; | 53 virtual ChildFrameQueue PassUncommittedFrameOnUI() = 0; |
54 virtual bool HasFrameOnUI() const = 0; | 54 virtual bool HasFrameOnUI() const = 0; |
55 virtual void DeleteHardwareRendererOnUI() = 0; | 55 virtual void DeleteHardwareRendererOnUI() = 0; |
56 | 56 |
57 protected: | 57 protected: |
58 virtual ~CompositorFrameConsumer() {} | 58 virtual ~CompositorFrameConsumer() {} |
59 }; | 59 }; |
60 | 60 |
61 } // namespace android_webview | 61 } // namespace android_webview |
62 | 62 |
63 #endif // ANDROID_WEBVIEW_BROWSER_COMPOSITOR_FRAME_PRODUCER_H_ | 63 #endif // ANDROID_WEBVIEW_BROWSER_COMPOSITOR_FRAME_CONSUMER_H_ |
OLD | NEW |