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

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

Issue 2122083002: Move CSS3 Paged Media interface into WebLocalFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More build fixes Created 4 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/frame/RemoteFrame.h" 8 #include "core/frame/RemoteFrame.h"
9 #include "platform/heap/SelfKeepAlive.h" 9 #include "platform/heap/SelfKeepAlive.h"
10 #include "public/platform/WebInsecureRequestPolicy.h" 10 #include "public/platform/WebInsecureRequestPolicy.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 void moveCaretSelection(const WebPoint&) override; 107 void moveCaretSelection(const WebPoint&) override;
108 bool setEditableSelectionOffsets(int start, int end) override; 108 bool setEditableSelectionOffsets(int start, int end) override;
109 bool setCompositionFromExistingText(int compositionStart, int compositionEnd , const WebVector<WebCompositionUnderline>& underlines) override; 109 bool setCompositionFromExistingText(int compositionStart, int compositionEnd , const WebVector<WebCompositionUnderline>& underlines) override;
110 void extendSelectionAndDelete(int before, int after) override; 110 void extendSelectionAndDelete(int before, int after) override;
111 void setCaretVisible(bool) override; 111 void setCaretVisible(bool) override;
112 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri de; 112 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri de;
113 float printPage(int pageToPrint, WebCanvas*) override; 113 float printPage(int pageToPrint, WebCanvas*) override;
114 float getPrintPageShrink(int page) override; 114 float getPrintPageShrink(int page) override;
115 void printEnd() override; 115 void printEnd() override;
116 bool isPrintScalingDisabledForPlugin(const WebNode&) override; 116 bool isPrintScalingDisabledForPlugin(const WebNode&) override;
117 bool hasCustomPageSizeStyle(int pageIndex) override;
118 bool isPageBoxVisible(int pageIndex) override;
119 void pageSizeAndMarginsInPixels(
120 int pageIndex,
121 WebSize& pageSize,
122 int& marginTop,
123 int& marginRight,
124 int& marginBottom,
125 int& marginLeft) override;
126 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid e;
127 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; 117 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override;
128 void dispatchMessageEventWithOriginCheck( 118 void dispatchMessageEventWithOriginCheck(
129 const WebSecurityOrigin& intendedTargetOrigin, 119 const WebSecurityOrigin& intendedTargetOrigin,
130 const WebDOMEvent&) override; 120 const WebDOMEvent&) override;
131 121
132 WebRect selectionBoundsRect() const override; 122 WebRect selectionBoundsRect() const override;
133 123
134 bool selectionStartHasSpellingMarkerFor(int from, int length) const override ; 124 bool selectionStartHasSpellingMarkerFor(int from, int length) const override ;
135 WebString layerTreeAsText(bool showDebugInfo = false) const override; 125 WebString layerTreeAsText(bool showDebugInfo = false) const override;
136 126
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // Accomplish that by keeping a self-referential Persistent<>. It is 178 // Accomplish that by keeping a self-referential Persistent<>. It is
189 // cleared upon close(). 179 // cleared upon close().
190 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; 180 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive;
191 }; 181 };
192 182
193 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 183 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
194 184
195 } // namespace blink 185 } // namespace blink
196 186
197 #endif // WebRemoteFrameImpl_h 187 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698