| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 // Logs to the console associated with this frame. | 128 // Logs to the console associated with this frame. |
| 129 virtual void addMessageToConsole(const WebConsoleMessage&) = 0; | 129 virtual void addMessageToConsole(const WebConsoleMessage&) = 0; |
| 130 | 130 |
| 131 // Calls window.gc() if it is defined. | 131 // Calls window.gc() if it is defined. |
| 132 virtual void collectGarbage() = 0; | 132 virtual void collectGarbage() = 0; |
| 133 | 133 |
| 134 | 134 |
| 135 // Navigation ---------------------------------------------------------- | 135 // Navigation ---------------------------------------------------------- |
| 136 | 136 |
| 137 virtual void load(const WebURL&) = 0; |
| 138 |
| 137 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle) = 0; | 139 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle) = 0; |
| 138 | 140 |
| 139 | 141 |
| 140 // Editing ------------------------------------------------------------- | 142 // Editing ------------------------------------------------------------- |
| 141 | 143 |
| 142 // Replaces the selection with the given text. | 144 // Replaces the selection with the given text. |
| 143 virtual void replaceSelection(const WebString& text) = 0; | 145 virtual void replaceSelection(const WebString& text) = 0; |
| 144 | 146 |
| 145 virtual void insertText(const WebString& text) = 0; | 147 virtual void insertText(const WebString& text) = 0; |
| 146 | 148 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 private: | 226 private: |
| 225 }; | 227 }; |
| 226 | 228 |
| 227 #if BLINK_IMPLEMENTATION | 229 #if BLINK_IMPLEMENTATION |
| 228 Frame* toCoreFrame(const WebFrame*); | 230 Frame* toCoreFrame(const WebFrame*); |
| 229 #endif | 231 #endif |
| 230 | 232 |
| 231 } // namespace blink | 233 } // namespace blink |
| 232 | 234 |
| 233 #endif // SKY_ENGINE_PUBLIC_WEB_WEBFRAME_H_ | 235 #endif // SKY_ENGINE_PUBLIC_WEB_WEBFRAME_H_ |
| OLD | NEW |