| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 typedef unsigned RenderAsTextControls; | 107 typedef unsigned RenderAsTextControls; |
| 108 | 108 |
| 109 // Returns the number of live WebFrame objects, used for leak checking. | 109 // Returns the number of live WebFrame objects, used for leak checking. |
| 110 BLINK_EXPORT static int instanceCount(); | 110 BLINK_EXPORT static int instanceCount(); |
| 111 | 111 |
| 112 virtual bool isWebLocalFrame() const = 0; | 112 virtual bool isWebLocalFrame() const = 0; |
| 113 virtual WebLocalFrame* toWebLocalFrame() = 0; | 113 virtual WebLocalFrame* toWebLocalFrame() = 0; |
| 114 virtual bool isWebRemoteFrame() const = 0; | 114 virtual bool isWebRemoteFrame() const = 0; |
| 115 virtual WebRemoteFrame* toWebRemoteFrame() = 0; | 115 virtual WebRemoteFrame* toWebRemoteFrame() = 0; |
| 116 | 116 |
| 117 BLINK_EXPORT void swap(WebFrame*); |
| 118 |
| 117 // This method closes and deletes the WebFrame. | 119 // This method closes and deletes the WebFrame. |
| 118 virtual void close() = 0; | 120 virtual void close() = 0; |
| 119 | 121 |
| 120 | 122 |
| 121 // Basic properties --------------------------------------------------- | 123 // Basic properties --------------------------------------------------- |
| 122 | 124 |
| 123 // The unique name of this frame. | 125 // The unique name of this frame. |
| 124 virtual WebString uniqueName() const = 0; | 126 virtual WebString uniqueName() const = 0; |
| 125 | 127 |
| 126 // The name of this frame. If no name is given, empty string is returned. | 128 // The name of this frame. If no name is given, empty string is returned. |
| (...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 WebFrame* m_firstChild; | 682 WebFrame* m_firstChild; |
| 681 WebFrame* m_lastChild; | 683 WebFrame* m_lastChild; |
| 682 | 684 |
| 683 WebFrame* m_opener; | 685 WebFrame* m_opener; |
| 684 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 686 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 685 }; | 687 }; |
| 686 | 688 |
| 687 } // namespace blink | 689 } // namespace blink |
| 688 | 690 |
| 689 #endif | 691 #endif |
| OLD | NEW |