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

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.h

Issue 2918943002: Move SetCanHaveScrollbars method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Rebasing... Created 3 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "core/frame/RemoteFrame.h" 8 #include "core/frame/RemoteFrame.h"
9 #include "core/frame/WebRemoteFrameBase.h" 9 #include "core/frame/WebRemoteFrameBase.h"
10 #include "platform/heap/SelfKeepAlive.h" 10 #include "platform/heap/SelfKeepAlive.h"
(...skipping 17 matching lines...) Expand all
28 static WebRemoteFrameImpl* Create(WebTreeScopeType, 28 static WebRemoteFrameImpl* Create(WebTreeScopeType,
29 WebRemoteFrameClient*, 29 WebRemoteFrameClient*,
30 WebFrame* opener = nullptr); 30 WebFrame* opener = nullptr);
31 ~WebRemoteFrameImpl() override; 31 ~WebRemoteFrameImpl() override;
32 32
33 // WebFrame methods: 33 // WebFrame methods:
34 void Close() override; 34 void Close() override;
35 WebString AssignedName() const override; 35 WebString AssignedName() const override;
36 void SetName(const WebString&) override; 36 void SetName(const WebString&) override;
37 WebVector<WebIconURL> IconURLs(int icon_types_mask) const override; 37 WebVector<WebIconURL> IconURLs(int icon_types_mask) const override;
38 void SetCanHaveScrollbars(bool) override;
39 WebSize GetScrollOffset() const override; 38 WebSize GetScrollOffset() const override;
40 void SetScrollOffset(const WebSize&) override; 39 void SetScrollOffset(const WebSize&) override;
41 WebSize ContentsSize() const override; 40 WebSize ContentsSize() const override;
42 bool HasVisibleContent() const override; 41 bool HasVisibleContent() const override;
43 WebRect VisibleContentRect() const override; 42 WebRect VisibleContentRect() const override;
44 bool HasHorizontalScrollbar() const override; 43 bool HasHorizontalScrollbar() const override;
45 bool HasVerticalScrollbar() const override; 44 bool HasVerticalScrollbar() const override;
46 WebView* View() const override; 45 WebView* View() const override;
47 WebDocument GetDocument() const override; 46 WebDocument GetDocument() const override;
48 WebPerformance Performance() const override; 47 WebPerformance Performance() const override;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 173
175 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 174 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
176 WebFrame, 175 WebFrame,
177 frame, 176 frame,
178 frame->IsWebRemoteFrame(), 177 frame->IsWebRemoteFrame(),
179 frame.IsWebRemoteFrame()); 178 frame.IsWebRemoteFrame());
180 179
181 } // namespace blink 180 } // namespace blink
182 181
183 #endif // WebRemoteFrameImpl_h 182 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698