| 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 CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_CLIENT_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_CLIENT_AURA_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_CLIENT_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_CLIENT_AURA_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "content/browser/renderer_host/delegated_frame_host.h" | 9 #include "content/browser/renderer_host/delegated_frame_host.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 bool DelegatedFrameCanCreateResizeLock() const override; | 34 bool DelegatedFrameCanCreateResizeLock() const override; |
| 35 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( | 35 std::unique_ptr<ResizeLock> DelegatedFrameHostCreateResizeLock( |
| 36 bool defer_compositor_lock) override; | 36 bool defer_compositor_lock) override; |
| 37 void DelegatedFrameHostResizeLockWasReleased() override; | 37 void DelegatedFrameHostResizeLockWasReleased() override; |
| 38 void DelegatedFrameHostSendReclaimCompositorResources( | 38 void DelegatedFrameHostSendReclaimCompositorResources( |
| 39 int compositor_frame_sink_id, | 39 int compositor_frame_sink_id, |
| 40 bool is_swap_ack, | 40 bool is_swap_ack, |
| 41 const cc::ReturnedResourceArray& resources) override; | 41 const cc::ReturnedResourceArray& resources) override; |
| 42 void SetBeginFrameSource(cc::BeginFrameSource* source) override; | 42 void SetBeginFrameSource(cc::BeginFrameSource* source) override; |
| 43 bool IsAutoResizeEnabled() const override; | 43 bool IsAutoResizeEnabled() const override; |
| 44 void ReceivedBadMessage(bad_message::BadMessageReason reason) override; |
| 44 | 45 |
| 45 private: | 46 private: |
| 46 RenderWidgetHostViewAura* render_widget_host_view_; | 47 RenderWidgetHostViewAura* render_widget_host_view_; |
| 47 | 48 |
| 48 DISALLOW_COPY_AND_ASSIGN(DelegatedFrameHostClientAura); | 49 DISALLOW_COPY_AND_ASSIGN(DelegatedFrameHostClientAura); |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 } // namespace content | 52 } // namespace content |
| 52 | 53 |
| 53 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_CLIENT_AURA_H_ | 54 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_CLIENT_AURA_H_ |
| OLD | NEW |