| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "content/browser/renderer_host/render_view_host_delegate_view.h" | 9 #include "content/browser/renderer_host/render_view_host_delegate_view.h" |
| 10 #include "content/browser/web_contents/web_contents_view.h" | 10 #include "content/browser/web_contents/web_contents_view.h" |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 | 13 |
| 14 class WebContents; | |
| 15 class WebContentsImpl; | 14 class WebContentsImpl; |
| 16 class WebContentsViewDelegate; | 15 class WebContentsViewDelegate; |
| 17 | 16 |
| 18 class WebContentsViewChildFrame : public WebContentsView, | 17 class WebContentsViewChildFrame : public WebContentsView, |
| 19 public RenderViewHostDelegateView { | 18 public RenderViewHostDelegateView { |
| 20 public: | 19 public: |
| 21 WebContentsViewChildFrame(WebContentsImpl* web_contents, | 20 WebContentsViewChildFrame(WebContentsImpl* web_contents, |
| 22 WebContentsViewDelegate* delegate, | 21 WebContentsViewDelegate* delegate, |
| 23 RenderViewHostDelegateView** delegate_view); | 22 RenderViewHostDelegateView** delegate_view); |
| 24 ~WebContentsViewChildFrame() override; | 23 ~WebContentsViewChildFrame() override; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 75 |
| 77 // The delegate ownership is passed to WebContentsView. | 76 // The delegate ownership is passed to WebContentsView. |
| 78 std::unique_ptr<WebContentsViewDelegate> delegate_; | 77 std::unique_ptr<WebContentsViewDelegate> delegate_; |
| 79 | 78 |
| 80 DISALLOW_COPY_AND_ASSIGN(WebContentsViewChildFrame); | 79 DISALLOW_COPY_AND_ASSIGN(WebContentsViewChildFrame); |
| 81 }; | 80 }; |
| 82 | 81 |
| 83 } // namespace content | 82 } // namespace content |
| 84 | 83 |
| 85 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ | 84 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |