| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 class WebDocument; | 60 class WebDocument; |
| 61 class WebElement; | 61 class WebElement; |
| 62 class WebFormElement; | 62 class WebFormElement; |
| 63 class WebFrameClient; | 63 class WebFrameClient; |
| 64 class WebInputElement; | 64 class WebInputElement; |
| 65 class WebLayer; | 65 class WebLayer; |
| 66 class WebLocalFrame; | 66 class WebLocalFrame; |
| 67 class WebPerformance; | 67 class WebPerformance; |
| 68 class WebPermissionClient; | 68 class WebPermissionClient; |
| 69 class WebRange; | 69 class WebRange; |
| 70 class WebRemoteFrame; |
| 70 class WebSecurityOrigin; | 71 class WebSecurityOrigin; |
| 71 class WebSharedWorkerRepositoryClient; | 72 class WebSharedWorkerRepositoryClient; |
| 72 class WebString; | 73 class WebString; |
| 73 class WebURL; | 74 class WebURL; |
| 74 class WebURLLoader; | 75 class WebURLLoader; |
| 75 class WebURLRequest; | 76 class WebURLRequest; |
| 76 class WebView; | 77 class WebView; |
| 77 struct WebConsoleMessage; | 78 struct WebConsoleMessage; |
| 78 struct WebFindOptions; | 79 struct WebFindOptions; |
| 79 struct WebFloatPoint; | 80 struct WebFloatPoint; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 99 enum RenderAsTextControl { | 100 enum RenderAsTextControl { |
| 100 RenderAsTextNormal = 0, | 101 RenderAsTextNormal = 0, |
| 101 RenderAsTextDebug = 1 << 0, | 102 RenderAsTextDebug = 1 << 0, |
| 102 RenderAsTextPrinting = 1 << 1 | 103 RenderAsTextPrinting = 1 << 1 |
| 103 }; | 104 }; |
| 104 typedef unsigned RenderAsTextControls; | 105 typedef unsigned RenderAsTextControls; |
| 105 | 106 |
| 106 // Returns the number of live WebFrame objects, used for leak checking. | 107 // Returns the number of live WebFrame objects, used for leak checking. |
| 107 BLINK_EXPORT static int instanceCount(); | 108 BLINK_EXPORT static int instanceCount(); |
| 108 | 109 |
| 110 virtual bool isWebLocalFrame() const = 0; |
| 109 virtual WebLocalFrame* toWebLocalFrame() = 0; | 111 virtual WebLocalFrame* toWebLocalFrame() = 0; |
| 112 virtual bool isWebRemoteFrame() const = 0; |
| 113 virtual WebRemoteFrame* toWebRemoteFrame() = 0; |
| 110 | 114 |
| 111 // This method closes and deletes the WebFrame. | 115 // This method closes and deletes the WebFrame. |
| 112 virtual void close() = 0; | 116 virtual void close() = 0; |
| 113 | 117 |
| 114 | 118 |
| 115 // Basic properties --------------------------------------------------- | 119 // Basic properties --------------------------------------------------- |
| 116 | 120 |
| 117 // The unique name of this frame. | 121 // The unique name of this frame. |
| 118 virtual WebString uniqueName() const = 0; | 122 virtual WebString uniqueName() const = 0; |
| 119 | 123 |
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 // text form. This is used only by layout tests. | 658 // text form. This is used only by layout tests. |
| 655 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; | 659 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; |
| 656 | 660 |
| 657 protected: | 661 protected: |
| 658 ~WebFrame() { } | 662 ~WebFrame() { } |
| 659 }; | 663 }; |
| 660 | 664 |
| 661 } // namespace blink | 665 } // namespace blink |
| 662 | 666 |
| 663 #endif | 667 #endif |
| OLD | NEW |