| 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 #include "WebFrameLoadType.h" | 9 #include "WebFrameLoadType.h" |
| 10 | 10 |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 // Request to show an application install banner for the given |platforms|. | 163 // Request to show an application install banner for the given |platforms|. |
| 164 // The implementation can request the embedder to cancel the call by setting | 164 // The implementation can request the embedder to cancel the call by setting |
| 165 // |cancel| to true. | 165 // |cancel| to true. |
| 166 virtual void willShowInstallBannerPrompt(int requestId, const WebVector<WebS
tring>& platforms, WebAppBannerPromptReply*) = 0; | 166 virtual void willShowInstallBannerPrompt(int requestId, const WebVector<WebS
tring>& platforms, WebAppBannerPromptReply*) = 0; |
| 167 | 167 |
| 168 // Image reload ----------------------------------------------------------- | 168 // Image reload ----------------------------------------------------------- |
| 169 | 169 |
| 170 // If the provided node is an image, reload the image bypassing the cache. | 170 // If the provided node is an image, reload the image bypassing the cache. |
| 171 virtual void reloadImage(const WebNode&) = 0; | 171 virtual void reloadImage(const WebNode&) = 0; |
| 172 | 172 |
| 173 // Feature usage logging -------------------------------------------------- |
| 174 |
| 175 virtual void didCallAddSearchProvider() = 0; |
| 176 virtual void didCallIsSearchProviderInstalled() = 0; |
| 177 |
| 173 // Testing ---------------------------------------------------------------- | 178 // Testing ---------------------------------------------------------------- |
| 174 | 179 |
| 175 // Registers a test interface factory. Takes ownership of the factory. | 180 // Registers a test interface factory. Takes ownership of the factory. |
| 176 virtual void registerTestInterface(const WebString& name, WebTestInterfaceFa
ctory*) = 0; | 181 virtual void registerTestInterface(const WebString& name, WebTestInterfaceFa
ctory*) = 0; |
| 177 | 182 |
| 178 // Iframe sandbox --------------------------------------------------------- | 183 // Iframe sandbox --------------------------------------------------------- |
| 179 | 184 |
| 180 // Returns the effective sandbox flags which are inherited from their parent
frame. | 185 // Returns the effective sandbox flags which are inherited from their parent
frame. |
| 181 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; | 186 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; |
| 182 | 187 |
| 183 protected: | 188 protected: |
| 184 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } | 189 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } |
| 185 }; | 190 }; |
| 186 | 191 |
| 187 } // namespace blink | 192 } // namespace blink |
| 188 | 193 |
| 189 #endif // WebLocalFrame_h | 194 #endif // WebLocalFrame_h |
| OLD | NEW |