| 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" |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 | 13 |
| 14 class RenderWidgetHostViewAura; | 14 class RenderWidgetHostViewAura; |
| 15 | 15 |
| 16 // DelegatedFrameHostClient implementation for aura, not used in mus. | 16 // DelegatedFrameHostClient implementation for aura, not used in mus. |
| 17 class CONTENT_EXPORT DelegatedFrameHostClientAura | 17 class CONTENT_EXPORT DelegatedFrameHostClientAura |
| 18 : public DelegatedFrameHostClient { | 18 : public DelegatedFrameHostClient { |
| 19 public: | 19 public: |
| 20 explicit DelegatedFrameHostClientAura( | 20 explicit DelegatedFrameHostClientAura( |
| 21 RenderWidgetHostViewAura* render_widget_host_view); | 21 RenderWidgetHostViewAura* render_widget_host_view); |
| 22 virtual ~DelegatedFrameHostClientAura(); | 22 ~DelegatedFrameHostClientAura() override; |
| 23 | 23 |
| 24 protected: | 24 protected: |
| 25 RenderWidgetHostViewAura* render_widget_host_view() { | 25 RenderWidgetHostViewAura* render_widget_host_view() { |
| 26 return render_widget_host_view_; | 26 return render_widget_host_view_; |
| 27 } | 27 } |
| 28 | 28 |
| 29 // DelegatedFrameHostClient implementation. | 29 // DelegatedFrameHostClient implementation. |
| 30 ui::Layer* DelegatedFrameHostGetLayer() const override; | 30 ui::Layer* DelegatedFrameHostGetLayer() const override; |
| 31 bool DelegatedFrameHostIsVisible() const override; | 31 bool DelegatedFrameHostIsVisible() const override; |
| 32 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override; | 32 SkColor DelegatedFrameHostGetGutterColor(SkColor color) const override; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 RenderWidgetHostViewAura* render_widget_host_view_; | 46 RenderWidgetHostViewAura* render_widget_host_view_; |
| 47 | 47 |
| 48 DISALLOW_COPY_AND_ASSIGN(DelegatedFrameHostClientAura); | 48 DISALLOW_COPY_AND_ASSIGN(DelegatedFrameHostClientAura); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace content | 51 } // namespace content |
| 52 | 52 |
| 53 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_CLIENT_AURA_H_ | 53 #endif // CONTENT_BROWSER_RENDERER_HOST_DELEGATED_FRAME_HOST_CLIENT_AURA_H_ |
| OLD | NEW |