| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString&
) = 0; | 142 virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString&
) = 0; |
| 143 | 143 |
| 144 | 144 |
| 145 // Selection -------------------------------------------------------------- | 145 // Selection -------------------------------------------------------------- |
| 146 | 146 |
| 147 // Moves the selection extent point. This function does not allow the | 147 // Moves the selection extent point. This function does not allow the |
| 148 // selection to collapse. If the new extent is set to the same position as | 148 // selection to collapse. If the new extent is set to the same position as |
| 149 // the current base, this function will do nothing. | 149 // the current base, this function will do nothing. |
| 150 virtual void moveRangeSelectionExtent(const WebPoint&) = 0; | 150 virtual void moveRangeSelectionExtent(const WebPoint&) = 0; |
| 151 | 151 |
| 152 // Focus ------------------------------------------------------------------ |
| 153 |
| 154 // Called when this frame loses focus to a frame in another process. |
| 155 virtual void clearFocus() = 0; |
| 156 |
| 152 // Content Settings ------------------------------------------------------- | 157 // Content Settings ------------------------------------------------------- |
| 153 | 158 |
| 154 virtual void setContentSettingsClient(WebContentSettingsClient*) = 0; | 159 virtual void setContentSettingsClient(WebContentSettingsClient*) = 0; |
| 155 | 160 |
| 156 // App banner ------------------------------------------------------------- | 161 // App banner ------------------------------------------------------------- |
| 157 | 162 |
| 158 // Request to show an application install banner for the given |platforms|. | 163 // Request to show an application install banner for the given |platforms|. |
| 159 // 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 |
| 160 // |cancel| to true. | 165 // |cancel| to true. |
| 161 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; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 175 // Returns the effective sandbox flags which are inherited from their parent
frame. | 180 // Returns the effective sandbox flags which are inherited from their parent
frame. |
| 176 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; | 181 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; |
| 177 | 182 |
| 178 protected: | 183 protected: |
| 179 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } | 184 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } |
| 180 }; | 185 }; |
| 181 | 186 |
| 182 } // namespace blink | 187 } // namespace blink |
| 183 | 188 |
| 184 #endif // WebLocalFrame_h | 189 #endif // WebLocalFrame_h |
| OLD | NEW |