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

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

Issue 2923343005: Move printing-related methods 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/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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 void ReloadWithOverrideURL(const WebURL& override_url, 70 void ReloadWithOverrideURL(const WebURL& override_url,
71 WebFrameLoadType) override; 71 WebFrameLoadType) override;
72 void LoadRequest(const WebURLRequest&) override; 72 void LoadRequest(const WebURLRequest&) override;
73 void StopLoading() override; 73 void StopLoading() override;
74 void EnableViewSourceMode(bool enable) override; 74 void EnableViewSourceMode(bool enable) override;
75 bool IsViewSourceModeEnabled() const override; 75 bool IsViewSourceModeEnabled() const override;
76 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; 76 void SetReferrerForRequest(WebURLRequest&, const WebURL& referrer) override;
77 WebAssociatedURLLoader* CreateAssociatedURLLoader( 77 WebAssociatedURLLoader* CreateAssociatedURLLoader(
78 const WebAssociatedURLLoaderOptions&) override; 78 const WebAssociatedURLLoaderOptions&) override;
79 unsigned UnloadListenerCount() const override; 79 unsigned UnloadListenerCount() const override;
80 int PrintBegin(const WebPrintParams&,
81 const WebNode& constrain_to_node) override;
82 float PrintPage(int page_to_print, WebCanvas*) override;
83 float GetPrintPageShrink(int page) override;
84 void PrintEnd() override;
85 bool IsPrintScalingDisabledForPlugin(const WebNode&) override;
86 void PrintPagesWithBoundaries(WebCanvas*, const WebSize&) override;
87
88 WebRect SelectionBoundsRect() const override;
89 80
90 // WebRemoteFrame methods: 81 // WebRemoteFrame methods:
91 WebLocalFrame* CreateLocalChild(WebTreeScopeType, 82 WebLocalFrame* CreateLocalChild(WebTreeScopeType,
92 const WebString& name, 83 const WebString& name,
93 WebSandboxFlags, 84 WebSandboxFlags,
94 WebFrameClient*, 85 WebFrameClient*,
95 blink::InterfaceProvider*, 86 blink::InterfaceProvider*,
96 blink::InterfaceRegistry*, 87 blink::InterfaceRegistry*,
97 WebFrame* previous_sibling, 88 WebFrame* previous_sibling,
98 const WebParsedFeaturePolicy&, 89 const WebParsedFeaturePolicy&,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 151
161 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, 152 DEFINE_TYPE_CASTS(WebRemoteFrameImpl,
162 WebFrame, 153 WebFrame,
163 frame, 154 frame,
164 frame->IsWebRemoteFrame(), 155 frame->IsWebRemoteFrame(),
165 frame.IsWebRemoteFrame()); 156 frame.IsWebRemoteFrame());
166 157
167 } // namespace blink 158 } // namespace blink
168 159
169 #endif // WebRemoteFrameImpl_h 160 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « content/shell/test_runner/pixel_dump.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