| 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; | 14 class WebContents; |
| 15 class WebContentsImpl; | 15 class WebContentsImpl; |
| 16 class WebContentsViewDelegate; | 16 class WebContentsViewDelegate; |
| 17 class BrowserPluginGuest; | |
| 18 | 17 |
| 19 class WebContentsViewChildFrame : public WebContentsView, | 18 class WebContentsViewChildFrame : public WebContentsView, |
| 20 public RenderViewHostDelegateView { | 19 public RenderViewHostDelegateView { |
| 21 public: | 20 public: |
| 22 WebContentsViewChildFrame(WebContentsImpl* web_contents, | 21 WebContentsViewChildFrame(WebContentsImpl* web_contents, |
| 23 WebContentsViewDelegate* delegate, | 22 WebContentsViewDelegate* delegate, |
| 24 RenderViewHostDelegateView** delegate_view); | 23 RenderViewHostDelegateView** delegate_view); |
| 25 ~WebContentsViewChildFrame() override; | 24 ~WebContentsViewChildFrame() override; |
| 26 | 25 |
| 27 // WebContentsView implementation -------------------------------------------- | 26 // WebContentsView implementation -------------------------------------------- |
| (...skipping 48 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 |