| 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 <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 namespace blink { | 25 namespace blink { |
| 26 | 26 |
| 27 class InterfaceProvider; | 27 class InterfaceProvider; |
| 28 class InterfaceRegistry; | 28 class InterfaceRegistry; |
| 29 class WebAutofillClient; | 29 class WebAutofillClient; |
| 30 class WebContentSettingsClient; | 30 class WebContentSettingsClient; |
| 31 class WebData; | 31 class WebData; |
| 32 class WebDataSource; | 32 class WebDataSource; |
| 33 class WebDevToolsAgent; | 33 class WebDevToolsAgent; |
| 34 class WebDevToolsAgentClient; | 34 class WebDevToolsAgentClient; |
| 35 class WebDocument; |
| 35 class WebDoubleSize; | 36 class WebDoubleSize; |
| 36 class WebDOMEvent; | 37 class WebDOMEvent; |
| 37 class WebFrameClient; | 38 class WebFrameClient; |
| 38 class WebFrameWidget; | 39 class WebFrameWidget; |
| 39 class WebFrameScheduler; | 40 class WebFrameScheduler; |
| 40 class WebInputMethodController; | 41 class WebInputMethodController; |
| 41 class WebRange; | 42 class WebRange; |
| 42 class WebSecurityOrigin; | 43 class WebSecurityOrigin; |
| 43 class WebScriptExecutionCallback; | 44 class WebScriptExecutionCallback; |
| 44 class WebSharedWorkerRepositoryClient; | 45 class WebSharedWorkerRepositoryClient; |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 virtual void DispatchUnloadEvent() = 0; | 131 virtual void DispatchUnloadEvent() = 0; |
| 131 | 132 |
| 132 // Basic properties --------------------------------------------------- | 133 // Basic properties --------------------------------------------------- |
| 133 | 134 |
| 134 // The urls of the given combination types of favicon (if any) specified by | 135 // The urls of the given combination types of favicon (if any) specified by |
| 135 // the document loaded in this frame. The iconTypesMask is a bit-mask of | 136 // the document loaded in this frame. The iconTypesMask is a bit-mask of |
| 136 // WebIconURL::Type values, used to select from the available set of icon | 137 // WebIconURL::Type values, used to select from the available set of icon |
| 137 // URLs | 138 // URLs |
| 138 virtual WebVector<WebIconURL> IconURLs(int icon_types_mask) const = 0; | 139 virtual WebVector<WebIconURL> IconURLs(int icon_types_mask) const = 0; |
| 139 | 140 |
| 141 virtual WebDocument GetDocument() const = 0; |
| 142 |
| 140 // Hierarchy ---------------------------------------------------------- | 143 // Hierarchy ---------------------------------------------------------- |
| 141 | 144 |
| 142 // Get the highest-level LocalFrame in this frame's in-process subtree. | 145 // Get the highest-level LocalFrame in this frame's in-process subtree. |
| 143 virtual WebLocalFrame* LocalRoot() = 0; | 146 virtual WebLocalFrame* LocalRoot() = 0; |
| 144 | 147 |
| 145 // Returns the frame identified by the given name. This method supports | 148 // Returns the frame identified by the given name. This method supports |
| 146 // pseudo-names like _self, _top, and _blank and otherwise performs the same | 149 // pseudo-names like _self, _top, and _blank and otherwise performs the same |
| 147 // kind of lookup what |window.open(..., name)| would in Javascript. | 150 // kind of lookup what |window.open(..., name)| would in Javascript. |
| 148 virtual WebFrame* FindFrameByName(const WebString& name) = 0; | 151 virtual WebFrame* FindFrameByName(const WebString& name) = 0; |
| 149 | 152 |
| (...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 // to call these on a WebLocalFrame. | 765 // to call these on a WebLocalFrame. |
| 763 bool IsWebLocalFrame() const override = 0; | 766 bool IsWebLocalFrame() const override = 0; |
| 764 WebLocalFrame* ToWebLocalFrame() override = 0; | 767 WebLocalFrame* ToWebLocalFrame() override = 0; |
| 765 bool IsWebRemoteFrame() const override = 0; | 768 bool IsWebRemoteFrame() const override = 0; |
| 766 WebRemoteFrame* ToWebRemoteFrame() override = 0; | 769 WebRemoteFrame* ToWebRemoteFrame() override = 0; |
| 767 }; | 770 }; |
| 768 | 771 |
| 769 } // namespace blink | 772 } // namespace blink |
| 770 | 773 |
| 771 #endif // WebLocalFrame_h | 774 #endif // WebLocalFrame_h |
| OLD | NEW |