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

Side by Side Diff: third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.h

Issue 2936423003: Move Get/SetScrollOffset methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: Added TODOs as suggested by dcheng@ (this patchset also accidentally includes a rebase...). 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/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/frame/RemoteFrame.h" 9 #include "core/frame/RemoteFrame.h"
10 #include "core/frame/WebRemoteFrameBase.h" 10 #include "core/frame/WebRemoteFrameBase.h"
(...skipping 16 matching lines...) Expand all
27 public: 27 public:
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 WebSize GetScrollOffset() const override;
38 void SetScrollOffset(const WebSize&) override;
39 WebSize ContentsSize() const override; 37 WebSize ContentsSize() const override;
40 bool HasVisibleContent() const override; 38 bool HasVisibleContent() const override;
41 WebRect VisibleContentRect() const override; 39 WebRect VisibleContentRect() const override;
42 WebView* View() const override; 40 WebView* View() const override;
43 WebDocument GetDocument() const override; 41 WebDocument GetDocument() const override;
44 WebPerformance Performance() const override; 42 WebPerformance Performance() const override;
45 void Reload(WebFrameLoadType) override; 43 void Reload(WebFrameLoadType) override;
46 void ReloadWithOverrideURL(const WebURL& override_url, 44 void ReloadWithOverrideURL(const WebURL& override_url,
47 WebFrameLoadType) override; 45 WebFrameLoadType) override;
48 void LoadRequest(const WebURLRequest&) override; 46 void LoadRequest(const WebURLRequest&) override;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 125
128 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 126 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
129 WebFrame, 127 WebFrame,
130 frame, 128 frame,
131 frame->IsWebRemoteFrame(), 129 frame->IsWebRemoteFrame(),
132 frame.IsWebRemoteFrame()); 130 frame.IsWebRemoteFrame());
133 131
134 } // namespace blink 132 } // namespace blink
135 133
136 #endif // WebRemoteFrameImpl_h 134 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698