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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 ------------------------------------------------------------------ | 152 // Focus ------------------------------------------------------------------ |
153 | 153 |
154 // Called when this frame loses focus to a frame in another process. | 154 // Called when this frame loses focus to a frame in another process. |
155 virtual void clearFocus() = 0; | 155 virtual void clearFocus(WebRemoteFrame*) = 0; |
dcheng
2015/10/28 00:34:15
Hm...
It feels a little wonky to have both this a
alexmos
2015/11/02 23:23:51
After also investigating what it'd take to support
| |
156 | 156 |
157 // Content Settings ------------------------------------------------------- | 157 // Content Settings ------------------------------------------------------- |
158 | 158 |
159 virtual void setContentSettingsClient(WebContentSettingsClient*) = 0; | 159 virtual void setContentSettingsClient(WebContentSettingsClient*) = 0; |
160 | 160 |
161 // App banner ------------------------------------------------------------- | 161 // App banner ------------------------------------------------------------- |
162 | 162 |
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. |
(...skipping 19 matching lines...) Expand all Loading... | |
185 // 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. |
186 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; | 186 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; |
187 | 187 |
188 protected: | 188 protected: |
189 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } | 189 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } |
190 }; | 190 }; |
191 | 191 |
192 } // namespace blink | 192 } // namespace blink |
193 | 193 |
194 #endif // WebLocalFrame_h | 194 #endif // WebLocalFrame_h |
OLD | NEW |