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

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

Issue 2962573002: Move SetReferrerForRequest method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Created 3 years, 5 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 27 matching lines...) Expand all
38 WebString AssignedName() const override; 38 WebString AssignedName() const override;
39 void SetName(const WebString&) override; 39 void SetName(const WebString&) override;
40 WebSize ContentsSize() const override; 40 WebSize ContentsSize() const override;
41 bool HasVisibleContent() const override; 41 bool HasVisibleContent() const override;
42 WebRect VisibleContentRect() const override; 42 WebRect VisibleContentRect() const override;
43 WebView* View() const override; 43 WebView* View() const override;
44 WebPerformance Performance() const override; 44 WebPerformance Performance() const override;
45 void StopLoading() override; 45 void StopLoading() override;
46 void EnableViewSourceMode(bool enable) override; 46 void EnableViewSourceMode(bool enable) override;
47 bool IsViewSourceModeEnabled() const override; 47 bool IsViewSourceModeEnabled() const override;
48 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override;
49 WebAssociatedURLLoader* CreateAssociatedURLLoader( 48 WebAssociatedURLLoader* CreateAssociatedURLLoader(
50 const WebAssociatedURLLoaderOptions&) override; 49 const WebAssociatedURLLoaderOptions&) override;
51 unsigned UnloadListenerCount() const override; 50 unsigned UnloadListenerCount() const override;
52 51
53 // WebRemoteFrame methods: 52 // WebRemoteFrame methods:
54 WebLocalFrame* CreateLocalChild(WebTreeScopeType, 53 WebLocalFrame* CreateLocalChild(WebTreeScopeType,
55 const WebString& name, 54 const WebString& name,
56 WebSandboxFlags, 55 WebSandboxFlags,
57 WebFrameClient*, 56 WebFrameClient*,
58 blink::InterfaceProvider*, 57 blink::InterfaceProvider*,
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 122
124 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 123 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
125 WebFrame, 124 WebFrame,
126 frame, 125 frame,
127 frame->IsWebRemoteFrame(), 126 frame->IsWebRemoteFrame(),
128 frame.IsWebRemoteFrame()); 127 frame.IsWebRemoteFrame());
129 128
130 } // namespace blink 129 } // namespace blink
131 130
132 #endif // WebRemoteFrameImpl_h 131 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « media/blink/url_index.cc ('k') | third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698