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 <set> | 8 #include <set> |
9 #include "WebCompositionUnderline.h" | 9 #include "WebCompositionUnderline.h" |
10 #include "WebFrame.h" | 10 #include "WebFrame.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 // Initialization --------------------------------------------------------- | 110 // Initialization --------------------------------------------------------- |
111 | 111 |
112 virtual void SetAutofillClient(WebAutofillClient*) = 0; | 112 virtual void SetAutofillClient(WebAutofillClient*) = 0; |
113 virtual WebAutofillClient* AutofillClient() = 0; | 113 virtual WebAutofillClient* AutofillClient() = 0; |
114 virtual void SetDevToolsAgentClient(WebDevToolsAgentClient*) = 0; | 114 virtual void SetDevToolsAgentClient(WebDevToolsAgentClient*) = 0; |
115 virtual WebDevToolsAgent* DevToolsAgent() = 0; | 115 virtual WebDevToolsAgent* DevToolsAgent() = 0; |
116 virtual void SetSharedWorkerRepositoryClient( | 116 virtual void SetSharedWorkerRepositoryClient( |
117 WebSharedWorkerRepositoryClient*) = 0; | 117 WebSharedWorkerRepositoryClient*) = 0; |
118 | 118 |
| 119 // Basic properties --------------------------------------------------- |
| 120 |
| 121 // The urls of the given combination types of favicon (if any) specified by |
| 122 // the document loaded in this frame. The iconTypesMask is a bit-mask of |
| 123 // WebIconURL::Type values, used to select from the available set of icon |
| 124 // URLs |
| 125 virtual WebVector<WebIconURL> IconURLs(int icon_types_mask) const = 0; |
| 126 |
119 // Hierarchy ---------------------------------------------------------- | 127 // Hierarchy ---------------------------------------------------------- |
120 | 128 |
121 // Get the highest-level LocalFrame in this frame's in-process subtree. | 129 // Get the highest-level LocalFrame in this frame's in-process subtree. |
122 virtual WebLocalFrame* LocalRoot() = 0; | 130 virtual WebLocalFrame* LocalRoot() = 0; |
123 | 131 |
124 // Returns the frame identified by the given name. This method supports | 132 // Returns the frame identified by the given name. This method supports |
125 // pseudo-names like _self, _top, and _blank and otherwise performs the same | 133 // pseudo-names like _self, _top, and _blank and otherwise performs the same |
126 // kind of lookup what |window.open(..., name)| would in Javascript. | 134 // kind of lookup what |window.open(..., name)| would in Javascript. |
127 virtual WebFrame* FindFrameByName(const WebString& name) = 0; | 135 virtual WebFrame* FindFrameByName(const WebString& name) = 0; |
128 | 136 |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 // to call these on a WebLocalFrame. | 619 // to call these on a WebLocalFrame. |
612 bool IsWebLocalFrame() const override = 0; | 620 bool IsWebLocalFrame() const override = 0; |
613 WebLocalFrame* ToWebLocalFrame() override = 0; | 621 WebLocalFrame* ToWebLocalFrame() override = 0; |
614 bool IsWebRemoteFrame() const override = 0; | 622 bool IsWebRemoteFrame() const override = 0; |
615 WebRemoteFrame* ToWebRemoteFrame() override = 0; | 623 WebRemoteFrame* ToWebRemoteFrame() override = 0; |
616 }; | 624 }; |
617 | 625 |
618 } // namespace blink | 626 } // namespace blink |
619 | 627 |
620 #endif // WebLocalFrame_h | 628 #endif // WebLocalFrame_h |
OLD | NEW |