Chromium Code Reviews| 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" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 63 const DragEventSourceInfo& event_info, | 63 const DragEventSourceInfo& event_info, |
| 64 RenderWidgetHostImpl* source_rwh) override; | 64 RenderWidgetHostImpl* source_rwh) override; |
| 65 void UpdateDragCursor(blink::WebDragOperation operation) override; | 65 void UpdateDragCursor(blink::WebDragOperation operation) override; |
| 66 void GotFocus() override; | 66 void GotFocus() override; |
| 67 void TakeFocus(bool reverse) override; | 67 void TakeFocus(bool reverse) override; |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 WebContentsView* GetOuterView(); | 70 WebContentsView* GetOuterView(); |
| 71 const WebContentsView* GetOuterView() const; | 71 const WebContentsView* GetOuterView() const; |
| 72 | 72 |
| 73 RenderViewHostDelegateView* GetOuterRVHDV(); | |
|
ncarter (slow)
2017/01/18 19:16:35
It is unconventional to use an abbreviation like R
paulmeyer
2017/01/18 20:08:23
Done.
| |
| 74 | |
| 73 // The WebContentsImpl whose contents we display. | 75 // The WebContentsImpl whose contents we display. |
| 74 WebContentsImpl* web_contents_; | 76 WebContentsImpl* web_contents_; |
| 75 | 77 |
| 76 // The delegate ownership is passed to WebContentsView. | 78 // The delegate ownership is passed to WebContentsView. |
| 77 std::unique_ptr<WebContentsViewDelegate> delegate_; | 79 std::unique_ptr<WebContentsViewDelegate> delegate_; |
| 78 | 80 |
| 79 DISALLOW_COPY_AND_ASSIGN(WebContentsViewChildFrame); | 81 DISALLOW_COPY_AND_ASSIGN(WebContentsViewChildFrame); |
| 80 }; | 82 }; |
| 81 | 83 |
| 82 } // namespace content | 84 } // namespace content |
| 83 | 85 |
| 84 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ | 86 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ |
| OLD | NEW |