OLD | NEW |
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 16 matching lines...) Expand all Loading... |
27 // if the context is detached from the frame, or if the context doesn't | 27 // if the context is detached from the frame, or if the context doesn't |
28 // correspond to a frame (e.g., workers). | 28 // correspond to a frame (e.g., workers). |
29 BLINK_EXPORT static WebLocalFrame* frameForContext(v8::Handle<v8::Context>); | 29 BLINK_EXPORT static WebLocalFrame* frameForContext(v8::Handle<v8::Context>); |
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 beginExitTransition(const WebString& cssSelector) = 0; |
| 38 virtual void setIsTransitionDocument() = 0; |
| 39 virtual void navigateToSandboxedMarkup(const WebData& markup) = 0; |
37 | 40 |
38 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL
) = 0; | 41 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL
) = 0; |
39 }; | 42 }; |
40 | 43 |
41 } // namespace blink | 44 } // namespace blink |
42 | 45 |
43 #endif // WebLocalFrame_h | 46 #endif // WebLocalFrame_h |
OLD | NEW |