OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 // the embedder in response to a frame detached callback to the WebFrame | 113 // the embedder in response to a frame detached callback to the WebFrame |
114 // client. | 114 // client. |
115 virtual void close(); | 115 virtual void close(); |
116 | 116 |
117 // Called by the embedder when it needs to detach the subtree rooted at this | 117 // Called by the embedder when it needs to detach the subtree rooted at this |
118 // frame. | 118 // frame. |
119 BLINK_EXPORT void detach(); | 119 BLINK_EXPORT void detach(); |
120 | 120 |
121 // Basic properties --------------------------------------------------- | 121 // Basic properties --------------------------------------------------- |
122 | 122 |
123 // The unique name of this frame. | |
124 virtual WebString uniqueName() const = 0; | |
125 | |
126 // The name of this frame. If no name is given, empty string is returned. | 123 // The name of this frame. If no name is given, empty string is returned. |
127 virtual WebString assignedName() const = 0; | 124 virtual WebString assignedName() const = 0; |
128 | 125 |
129 // Sets the name of this frame. For child frames (frames that are not a | 126 // Sets the name of this frame. For child frames (frames that are not a |
130 // top-most frame) the actual name may have a suffix appended to make the | 127 // top-most frame) the actual name may have a suffix appended to make the |
131 // frame name unique within the hierarchy. | 128 // frame name unique within the hierarchy. |
132 virtual void setName(const WebString&) = 0; | 129 virtual void setName(const WebString&) = 0; |
133 | 130 |
134 // The urls of the given combination types of favicon (if any) specified by | 131 // 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 | 132 // the document loaded in this frame. The iconTypesMask is a bit-mask of |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 WebFrame* m_firstChild; | 458 WebFrame* m_firstChild; |
462 WebFrame* m_lastChild; | 459 WebFrame* m_lastChild; |
463 | 460 |
464 WebFrame* m_opener; | 461 WebFrame* m_opener; |
465 std::unique_ptr<OpenedFrameTracker> m_openedFrameTracker; | 462 std::unique_ptr<OpenedFrameTracker> m_openedFrameTracker; |
466 }; | 463 }; |
467 | 464 |
468 } // namespace blink | 465 } // namespace blink |
469 | 466 |
470 #endif | 467 #endif |
OLD | NEW |