Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: content/browser/web_contents/web_contents_view_child_frame.h

Issue 2317563004: Change blink::WebScreenInfo to content::ScreenInfo (Closed)
Patch Set: Fix Windows compile Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 10 matching lines...) Expand all
21 public: 21 public:
22 WebContentsViewChildFrame(WebContentsImpl* web_contents, 22 WebContentsViewChildFrame(WebContentsImpl* web_contents,
23 WebContentsViewDelegate* delegate, 23 WebContentsViewDelegate* delegate,
24 RenderViewHostDelegateView** delegate_view); 24 RenderViewHostDelegateView** delegate_view);
25 ~WebContentsViewChildFrame() override; 25 ~WebContentsViewChildFrame() override;
26 26
27 // WebContentsView implementation -------------------------------------------- 27 // WebContentsView implementation --------------------------------------------
28 gfx::NativeView GetNativeView() const override; 28 gfx::NativeView GetNativeView() const override;
29 gfx::NativeView GetContentNativeView() const override; 29 gfx::NativeView GetContentNativeView() const override;
30 gfx::NativeWindow GetTopLevelNativeWindow() const override; 30 gfx::NativeWindow GetTopLevelNativeWindow() const override;
31 void GetScreenInfo(blink::WebScreenInfo* web_screen_info) const override; 31 void GetScreenInfo(ScreenInfo* screen_info) const override;
32 void GetContainerBounds(gfx::Rect* out) const override; 32 void GetContainerBounds(gfx::Rect* out) const override;
33 void SizeContents(const gfx::Size& size) override; 33 void SizeContents(const gfx::Size& size) override;
34 void Focus() override; 34 void Focus() override;
35 void SetInitialFocus() override; 35 void SetInitialFocus() override;
36 void StoreFocus() override; 36 void StoreFocus() override;
37 void RestoreFocus() override; 37 void RestoreFocus() override;
38 DropData* GetDropData() const override; 38 DropData* GetDropData() const override;
39 gfx::Rect GetViewBounds() const override; 39 gfx::Rect GetViewBounds() const override;
40 void CreateView(const gfx::Size& initial_size, 40 void CreateView(const gfx::Size& initial_size,
41 gfx::NativeView context) override; 41 gfx::NativeView context) override;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // The delegate ownership is passed to WebContentsView. 77 // The delegate ownership is passed to WebContentsView.
78 std::unique_ptr<WebContentsViewDelegate> delegate_; 78 std::unique_ptr<WebContentsViewDelegate> delegate_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(WebContentsViewChildFrame); 80 DISALLOW_COPY_AND_ASSIGN(WebContentsViewChildFrame);
81 }; 81 };
82 82
83 } // namespace content 83 } // namespace content
84 84
85 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_ 85 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698