| 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" |
| 35 #include "WebDOMMessageEvent.h" | 36 #include "WebDOMMessageEvent.h" |
| 36 #include "WebDataSource.h" | 37 #include "WebDataSource.h" |
| 37 #include "WebFrame.h" | 38 #include "WebFrame.h" |
| 38 #include "WebHistoryCommitType.h" | 39 #include "WebHistoryCommitType.h" |
| 39 #include "WebHistoryItem.h" | 40 #include "WebHistoryItem.h" |
| 40 #include "WebIconURL.h" | 41 #include "WebIconURL.h" |
| 41 #include "WebNavigationPolicy.h" | 42 #include "WebNavigationPolicy.h" |
| 42 #include "WebNavigationType.h" | 43 #include "WebNavigationType.h" |
| 43 #include "WebSecurityOrigin.h" | 44 #include "WebSecurityOrigin.h" |
| 44 #include "WebTextDirection.h" | 45 #include "WebTextDirection.h" |
| (...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 | 548 |
| 548 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 549 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
| 549 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 550 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
| 550 | 551 |
| 551 | 552 |
| 552 // Screen Orientation -------------------------------------------------- | 553 // Screen Orientation -------------------------------------------------- |
| 553 | 554 |
| 554 // Access the embedder API for (client-based) screen orientation client . | 555 // Access the embedder API for (client-based) screen orientation client . |
| 555 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} | 556 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} |
| 556 | 557 |
| 558 // Accessibility ------------------------------------------------------- |
| 559 |
| 560 // Notifies embedder about an accessibility event. |
| 561 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } |
| 562 |
| 557 protected: | 563 protected: |
| 558 virtual ~WebFrameClient() { } | 564 virtual ~WebFrameClient() { } |
| 559 }; | 565 }; |
| 560 | 566 |
| 561 } // namespace blink | 567 } // namespace blink |
| 562 | 568 |
| 563 #endif | 569 #endif |
| OLD | NEW |