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

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

Issue 340213002: Move addStylesheetByURL from WebFrame to WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "public/web/WebRemoteFrame.h" 8 #include "public/web/WebRemoteFrame.h"
9 #include "web/RemoteFrameClient.h" 9 #include "web/RemoteFrameClient.h"
10 #include "wtf/HashMap.h" 10 #include "wtf/HashMap.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual WebString selectionAsText() const OVERRIDE; 121 virtual WebString selectionAsText() const OVERRIDE;
122 virtual WebString selectionAsMarkup() const OVERRIDE; 122 virtual WebString selectionAsMarkup() const OVERRIDE;
123 virtual bool selectWordAroundCaret() OVERRIDE; 123 virtual bool selectWordAroundCaret() OVERRIDE;
124 virtual void selectRange(const WebPoint& base, const WebPoint& extent) OVERR IDE; 124 virtual void selectRange(const WebPoint& base, const WebPoint& extent) OVERR IDE;
125 virtual void selectRange(const WebRange&) OVERRIDE; 125 virtual void selectRange(const WebRange&) OVERRIDE;
126 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ) OVERRIDE; 126 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ) OVERRIDE;
127 virtual void moveCaretSelection(const WebPoint&) OVERRIDE; 127 virtual void moveCaretSelection(const WebPoint&) OVERRIDE;
128 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; 128 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE;
129 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; 129 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE;
130 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; 130 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE;
131 virtual void addStyleSheetByURL(const WebString& url) OVERRIDE;
132 virtual void setCaretVisible(bool) OVERRIDE; 131 virtual void setCaretVisible(bool) OVERRIDE;
133 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) OVERRIDE; 132 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) OVERRIDE;
134 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE; 133 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE;
135 virtual float getPrintPageShrink(int page) OVERRIDE; 134 virtual float getPrintPageShrink(int page) OVERRIDE;
136 virtual void printEnd() OVERRIDE; 135 virtual void printEnd() OVERRIDE;
137 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE; 136 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE;
138 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; 137 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE;
139 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; 138 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE;
140 virtual void pageSizeAndMarginsInPixels( 139 virtual void pageSizeAndMarginsInPixels(
141 int pageIndex, 140 int pageIndex,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 RefPtr<WebCore::RemoteFrame> m_frame; 189 RefPtr<WebCore::RemoteFrame> m_frame;
191 190
192 HashMap<WebFrame*, OwnPtr<WebCore::FrameOwner> > m_ownersForChildren; 191 HashMap<WebFrame*, OwnPtr<WebCore::FrameOwner> > m_ownersForChildren;
193 }; 192 };
194 193
195 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 194 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
196 195
197 } // namespace blink 196 } // namespace blink
198 197
199 #endif // WebRemoteFrameImpl_h 198 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698