| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 | 194 |
| 195 // The specified request was satified from WebCore's memory cache. | 195 // The specified request was satified from WebCore's memory cache. |
| 196 virtual void didLoadResourceFromMemoryCache( | 196 virtual void didLoadResourceFromMemoryCache( |
| 197 WebLocalFrame*, const WebURLRequest&, const WebURLResponse&) { } | 197 WebLocalFrame*, const WebURLRequest&, const WebURLResponse&) { } |
| 198 | 198 |
| 199 // Script notifications ------------------------------------------------ | 199 // Script notifications ------------------------------------------------ |
| 200 | 200 |
| 201 // Notifies that a new script context has been created for this frame. | 201 // Notifies that a new script context has been created for this frame. |
| 202 // This is similar to didClearWindowObject but only called once per | 202 // This is similar to didClearWindowObject but only called once per |
| 203 // frame context. | 203 // frame context. |
| 204 virtual void didCreateScriptContext(WebLocalFrame*, v8::Handle<v8::Context>,
int extensionGroup, int worldId) { } | 204 virtual void didCreateScriptContext(WebLocalFrame*, v8::Handle<v8::Context>)
{ } |
| 205 | 205 |
| 206 // WebKit is about to release its reference to a v8 context for a frame. | 206 // WebKit is about to release its reference to a v8 context for a frame. |
| 207 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Handle<v8::Context
>, int worldId) { } | 207 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Handle<v8::Context
>) { } |
| 208 | 208 |
| 209 | 209 |
| 210 // Geometry notifications ---------------------------------------------- | 210 // Geometry notifications ---------------------------------------------- |
| 211 | 211 |
| 212 // The main frame scrolled. | 212 // The main frame scrolled. |
| 213 virtual void didChangeScrollOffset(WebLocalFrame*) { } | 213 virtual void didChangeScrollOffset(WebLocalFrame*) { } |
| 214 | 214 |
| 215 | 215 |
| 216 // Find-in-page notifications ------------------------------------------ | 216 // Find-in-page notifications ------------------------------------------ |
| 217 | 217 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 242 // process. See http://crbug.com/339659. | 242 // process. See http://crbug.com/339659. |
| 243 virtual void forwardInputEvent(const WebInputEvent*) { } | 243 virtual void forwardInputEvent(const WebInputEvent*) { } |
| 244 | 244 |
| 245 protected: | 245 protected: |
| 246 virtual ~WebFrameClient() { } | 246 virtual ~WebFrameClient() { } |
| 247 }; | 247 }; |
| 248 | 248 |
| 249 } // namespace blink | 249 } // namespace blink |
| 250 | 250 |
| 251 #endif // SKY_ENGINE_PUBLIC_WEB_WEBFRAMECLIENT_H_ | 251 #endif // SKY_ENGINE_PUBLIC_WEB_WEBFRAMECLIENT_H_ |
| OLD | NEW |