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

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

Issue 295063002: [NotLanded] Implement the fetching algorithm of the Web Manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
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/RefCounted.h" 10 #include "wtf/RefCounted.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 virtual WebString contentAsText(size_t maxChars) const OVERRIDE; 164 virtual WebString contentAsText(size_t maxChars) const OVERRIDE;
165 virtual WebString contentAsMarkup() const OVERRIDE; 165 virtual WebString contentAsMarkup() const OVERRIDE;
166 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const OVERRIDE; 166 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const OVERRIDE;
167 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE; 167 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE;
168 virtual WebRect selectionBoundsRect() const OVERRIDE; 168 virtual WebRect selectionBoundsRect() const OVERRIDE;
169 169
170 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const OVERRIDE; 170 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const OVERRIDE;
171 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE ; 171 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE ;
172 172
173 virtual void requestManifest(WebManifestRequest&) const OVERRIDE;
174
173 WebCore::RemoteFrame* frame() const { return m_frame.get(); } 175 WebCore::RemoteFrame* frame() const { return m_frame.get(); }
174 176
175 private: 177 private:
176 RemoteFrameClient m_frameClient; 178 RemoteFrameClient m_frameClient;
177 RefPtr<WebCore::RemoteFrame> m_frame; 179 RefPtr<WebCore::RemoteFrame> m_frame;
178 }; 180 };
179 181
180 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 182 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
181 183
182 184
183 } // namespace blink 185 } // namespace blink
184 186
185 #endif // WebRemoteFrameImpl_h 187 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698