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

Side by Side Diff: public/web/WebLocalFrame.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: review comments Created 6 years, 3 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
« no previous file with comments | « public/web/WebFrameClient.h ('k') | no next file » | 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 WebLocalFrame_h 5 #ifndef WebLocalFrame_h
6 #define WebLocalFrame_h 6 #define WebLocalFrame_h
7 7
8 #include "WebFrame.h" 8 #include "WebFrame.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 19 matching lines...) Expand all
30 30
31 // Returns the frame inside a given frame or iframe element. Returns 0 if 31 // Returns the frame inside a given frame or iframe element. Returns 0 if
32 // the given element is not a frame, iframe or if the frame is empty. 32 // the given element is not a frame, iframe or if the frame is empty.
33 BLINK_EXPORT static WebLocalFrame* fromFrameOwnerElement(const WebElement&); 33 BLINK_EXPORT static WebLocalFrame* fromFrameOwnerElement(const WebElement&);
34 34
35 // Navigation Transitions --------------------------------------------- 35 // Navigation Transitions ---------------------------------------------
36 virtual void addStyleSheetByURL(const WebString& url) = 0; 36 virtual void addStyleSheetByURL(const WebString& url) = 0;
37 virtual void navigateToSandboxedMarkup(const WebData& markup) = 0; 37 virtual void navigateToSandboxedMarkup(const WebData& markup) = 0;
38 38
39 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL ) = 0; 39 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL ) = 0;
40
41 // Manifest ------------------------------------------------------------
42
43 // Called to fetch and parse a frame's manifest. The associated
44 // WebFrameClient will be notified upon completion via
45 // WebFrameClient::didLoadManifest or WebFrameClient::didFailLoadManifest
46 // depending on the call being successful or not.
47 virtual void requestManifest() = 0;
40 }; 48 };
41 49
42 } // namespace blink 50 } // namespace blink
43 51
44 #endif // WebLocalFrame_h 52 #endif // WebLocalFrame_h
OLDNEW
« no previous file with comments | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698