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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 | 107 |
108 // Initialization --------------------------------------------------------- | 108 // Initialization --------------------------------------------------------- |
109 | 109 |
110 virtual void SetAutofillClient(WebAutofillClient*) = 0; | 110 virtual void SetAutofillClient(WebAutofillClient*) = 0; |
111 virtual WebAutofillClient* AutofillClient() = 0; | 111 virtual WebAutofillClient* AutofillClient() = 0; |
112 virtual void SetDevToolsAgentClient(WebDevToolsAgentClient*) = 0; | 112 virtual void SetDevToolsAgentClient(WebDevToolsAgentClient*) = 0; |
113 virtual WebDevToolsAgent* DevToolsAgent() = 0; | 113 virtual WebDevToolsAgent* DevToolsAgent() = 0; |
114 virtual void SetSharedWorkerRepositoryClient( | 114 virtual void SetSharedWorkerRepositoryClient( |
115 WebSharedWorkerRepositoryClient*) = 0; | 115 WebSharedWorkerRepositoryClient*) = 0; |
116 | 116 |
| 117 // Basic properties --------------------------------------------------- |
| 118 |
| 119 // The urls of the given combination types of favicon (if any) specified by |
| 120 // the document loaded in this frame. The iconTypesMask is a bit-mask of |
| 121 // WebIconURL::Type values, used to select from the available set of icon |
| 122 // URLs |
| 123 virtual WebVector<WebIconURL> IconURLs(int icon_types_mask) const = 0; |
| 124 |
117 // Hierarchy ---------------------------------------------------------- | 125 // Hierarchy ---------------------------------------------------------- |
118 | 126 |
119 // Get the highest-level LocalFrame in this frame's in-process subtree. | 127 // Get the highest-level LocalFrame in this frame's in-process subtree. |
120 virtual WebLocalFrame* LocalRoot() = 0; | 128 virtual WebLocalFrame* LocalRoot() = 0; |
121 | 129 |
122 // Returns the frame identified by the given name. This method supports | 130 // Returns the frame identified by the given name. This method supports |
123 // pseudo-names like _self, _top, and _blank and otherwise performs the same | 131 // pseudo-names like _self, _top, and _blank and otherwise performs the same |
124 // kind of lookup what |window.open(..., name)| would in Javascript. | 132 // kind of lookup what |window.open(..., name)| would in Javascript. |
125 virtual WebFrame* FindFrameByName(const WebString& name) = 0; | 133 virtual WebFrame* FindFrameByName(const WebString& name) = 0; |
126 | 134 |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
584 // to call these on a WebLocalFrame. | 592 // to call these on a WebLocalFrame. |
585 bool IsWebLocalFrame() const override = 0; | 593 bool IsWebLocalFrame() const override = 0; |
586 WebLocalFrame* ToWebLocalFrame() override = 0; | 594 WebLocalFrame* ToWebLocalFrame() override = 0; |
587 bool IsWebRemoteFrame() const override = 0; | 595 bool IsWebRemoteFrame() const override = 0; |
588 WebRemoteFrame* ToWebRemoteFrame() override = 0; | 596 WebRemoteFrame* ToWebRemoteFrame() override = 0; |
589 }; | 597 }; |
590 | 598 |
591 } // namespace blink | 599 } // namespace blink |
592 | 600 |
593 #endif // WebLocalFrame_h | 601 #endif // WebLocalFrame_h |
OLD | NEW |