Chromium Code Reviews| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 221 // Returns the child frame identified by the given name. | 221 // Returns the child frame identified by the given name. |
| 222 virtual WebFrame* findChildByName(const WebString& name) const = 0; | 222 virtual WebFrame* findChildByName(const WebString& name) const = 0; |
| 223 | 223 |
| 224 | 224 |
| 225 // Content ------------------------------------------------------------ | 225 // Content ------------------------------------------------------------ |
| 226 | 226 |
| 227 virtual WebDocument document() const = 0; | 227 virtual WebDocument document() const = 0; |
| 228 | 228 |
| 229 virtual WebPerformance performance() const = 0; | 229 virtual WebPerformance performance() const = 0; |
| 230 | 230 |
| 231 virtual WebURL manifestURL() const = 0; | |
|
abarth-chromium
2014/05/01 17:51:16
This API should be on WebDocument rather than WebF
mlamouri (slow - plz ping)
2014/05/01 18:00:09
Will look into that.
| |
| 232 | |
| 231 | 233 |
| 232 // Closing ------------------------------------------------------------- | 234 // Closing ------------------------------------------------------------- |
| 233 | 235 |
| 234 // Runs beforeunload handlers for this frame, returning false if a | 236 // Runs beforeunload handlers for this frame, returning false if a |
| 235 // handler suppressed unloading. | 237 // handler suppressed unloading. |
| 236 virtual bool dispatchBeforeUnloadEvent() = 0; | 238 virtual bool dispatchBeforeUnloadEvent() = 0; |
| 237 | 239 |
| 238 // Runs unload handlers for this frame. | 240 // Runs unload handlers for this frame. |
| 239 virtual void dispatchUnloadEvent() = 0; | 241 virtual void dispatchUnloadEvent() = 0; |
| 240 | 242 |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 658 // text form. This is used only by layout tests. | 660 // text form. This is used only by layout tests. |
| 659 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; | 661 virtual WebString layerTreeAsText(bool showDebugInfo = false) const = 0; |
| 660 | 662 |
| 661 protected: | 663 protected: |
| 662 ~WebFrame() { } | 664 ~WebFrame() { } |
| 663 }; | 665 }; |
| 664 | 666 |
| 665 } // namespace blink | 667 } // namespace blink |
| 666 | 668 |
| 667 #endif | 669 #endif |
| OLD | NEW |