| 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 14 matching lines...) Expand all Loading... |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef WebFrameClient_h | 31 #ifndef WebFrameClient_h |
| 32 #define WebFrameClient_h | 32 #define WebFrameClient_h |
| 33 | 33 |
| 34 #include "../platform/WebColor.h" | 34 #include "../platform/WebColor.h" |
| 35 #include "WebAXObject.h" | |
| 36 #include "WebFrame.h" | 35 #include "WebFrame.h" |
| 37 #include "WebIconURL.h" | 36 #include "WebIconURL.h" |
| 38 #include "WebNavigationPolicy.h" | 37 #include "WebNavigationPolicy.h" |
| 39 #include "WebNavigationType.h" | 38 #include "WebNavigationType.h" |
| 40 #include "WebTextDirection.h" | 39 #include "WebTextDirection.h" |
| 41 #include "public/platform/WebCommon.h" | 40 #include "public/platform/WebCommon.h" |
| 42 #include "public/platform/WebURLError.h" | 41 #include "public/platform/WebURLError.h" |
| 43 #include "public/platform/WebURLRequest.h" | 42 #include "public/platform/WebURLRequest.h" |
| 44 #include <v8.h> | 43 #include <v8.h> |
| 45 | 44 |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 // Extensions3D.h in WebCore/platform/graphics). | 257 // Extensions3D.h in WebCore/platform/graphics). |
| 259 virtual void didLoseWebGLContext(WebLocalFrame*, int) { } | 258 virtual void didLoseWebGLContext(WebLocalFrame*, int) { } |
| 260 | 259 |
| 261 // FIXME: Remove this method once we have input routing in the browser | 260 // FIXME: Remove this method once we have input routing in the browser |
| 262 // process. See http://crbug.com/339659. | 261 // process. See http://crbug.com/339659. |
| 263 virtual void forwardInputEvent(const WebInputEvent*) { } | 262 virtual void forwardInputEvent(const WebInputEvent*) { } |
| 264 | 263 |
| 265 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 264 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
| 266 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 265 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
| 267 | 266 |
| 268 | |
| 269 // Accessibility ------------------------------------------------------- | |
| 270 | |
| 271 // Notifies embedder about an accessibility event. | |
| 272 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } | |
| 273 | |
| 274 protected: | 267 protected: |
| 275 virtual ~WebFrameClient() { } | 268 virtual ~WebFrameClient() { } |
| 276 }; | 269 }; |
| 277 | 270 |
| 278 } // namespace blink | 271 } // namespace blink |
| 279 | 272 |
| 280 #endif | 273 #endif |
| OLD | NEW |