| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PARENT_OUTPUT_SURFACE_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_ |
| 6 #define ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "cc/output/output_surface.h" | 9 #include "cc/output/output_surface.h" |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 bool has_alpha, | 29 bool has_alpha, |
| 30 bool use_stencil) override; | 30 bool use_stencil) override; |
| 31 void SwapBuffers(cc::OutputSurfaceFrame frame) override; | 31 void SwapBuffers(cc::OutputSurfaceFrame frame) override; |
| 32 bool HasExternalStencilTest() const override; | 32 bool HasExternalStencilTest() const override; |
| 33 void ApplyExternalStencil() override; | 33 void ApplyExternalStencil() override; |
| 34 uint32_t GetFramebufferCopyTextureFormat() override; | 34 uint32_t GetFramebufferCopyTextureFormat() override; |
| 35 cc::OverlayCandidateValidator* GetOverlayCandidateValidator() const override; | 35 cc::OverlayCandidateValidator* GetOverlayCandidateValidator() const override; |
| 36 bool IsDisplayedAsOverlayPlane() const override; | 36 bool IsDisplayedAsOverlayPlane() const override; |
| 37 unsigned GetOverlayTextureId() const override; | 37 unsigned GetOverlayTextureId() const override; |
| 38 bool SurfaceIsSuspendForRecycle() const override; | 38 bool SurfaceIsSuspendForRecycle() const override; |
| 39 bool CanPartialDraw(const gfx::Rect& damage) override; |
| 39 | 40 |
| 40 private: | 41 private: |
| 41 DISALLOW_COPY_AND_ASSIGN(ParentOutputSurface); | 42 DISALLOW_COPY_AND_ASSIGN(ParentOutputSurface); |
| 42 }; | 43 }; |
| 43 | 44 |
| 44 } // namespace android_webview | 45 } // namespace android_webview |
| 45 | 46 |
| 46 #endif // ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_ | 47 #endif // ANDROID_WEBVIEW_BROWSER_PARENT_OUTPUT_SURFACE_H_ |
| OLD | NEW |