| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 class WebServiceWorkerProviderClient; | 75 class WebServiceWorkerProviderClient; |
| 76 class WebSocketHandle; | 76 class WebSocketHandle; |
| 77 class WebNode; | 77 class WebNode; |
| 78 class WebPlugin; | 78 class WebPlugin; |
| 79 class WebPluginPlaceholder; | 79 class WebPluginPlaceholder; |
| 80 class WebPushClient; | 80 class WebPushClient; |
| 81 class WebRTCPeerConnectionHandler; | 81 class WebRTCPeerConnectionHandler; |
| 82 class WebScreenOrientationClient; | 82 class WebScreenOrientationClient; |
| 83 class WebSharedWorker; | 83 class WebSharedWorker; |
| 84 class WebSharedWorkerClient; | 84 class WebSharedWorkerClient; |
| 85 class WebSpeechRecognizer; |
| 85 class WebString; | 86 class WebString; |
| 86 class WebURL; | 87 class WebURL; |
| 87 class WebURLLoader; | 88 class WebURLLoader; |
| 88 class WebURLResponse; | 89 class WebURLResponse; |
| 89 class WebUserMediaClient; | 90 class WebUserMediaClient; |
| 90 class WebWorkerPermissionClientProxy; | 91 class WebWorkerPermissionClientProxy; |
| 91 struct WebColorSuggestion; | 92 struct WebColorSuggestion; |
| 92 struct WebConsoleMessage; | 93 struct WebConsoleMessage; |
| 93 struct WebContextMenuData; | 94 struct WebContextMenuData; |
| 94 struct WebPluginParams; | 95 struct WebPluginParams; |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 | 560 |
| 560 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. | 561 // Send initial drawing parameters to a child frame that is being rendered o
ut of process. |
| 561 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } | 562 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto
r) { } |
| 562 | 563 |
| 563 | 564 |
| 564 // Screen Orientation -------------------------------------------------- | 565 // Screen Orientation -------------------------------------------------- |
| 565 | 566 |
| 566 // Access the embedder API for (client-based) screen orientation client . | 567 // Access the embedder API for (client-based) screen orientation client . |
| 567 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} | 568 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} |
| 568 | 569 |
| 570 |
| 569 // Accessibility ------------------------------------------------------- | 571 // Accessibility ------------------------------------------------------- |
| 570 | 572 |
| 571 // Notifies embedder about an accessibility event. | 573 // Notifies embedder about an accessibility event. |
| 572 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } | 574 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } |
| 573 | 575 |
| 574 // Provides accessibility information about a find in page result. | 576 // Provides accessibility information about a find in page result. |
| 575 virtual void handleAccessibilityFindInPageResult( | 577 virtual void handleAccessibilityFindInPageResult( |
| 576 int identifier, | 578 int identifier, |
| 577 int matchIndex, | 579 int matchIndex, |
| 578 const WebAXObject& startObject, | 580 const WebAXObject& startObject, |
| 579 int startOffset, | 581 int startOffset, |
| 580 const WebAXObject& endObject, | 582 const WebAXObject& endObject, |
| 581 int endOffset) { } | 583 int endOffset) { } |
| 582 | 584 |
| 585 |
| 583 // ServiceWorker ------------------------------------------------------- | 586 // ServiceWorker ------------------------------------------------------- |
| 584 | 587 |
| 585 // Whether the document associated with WebDataSource is controlled by the | 588 // Whether the document associated with WebDataSource is controlled by the |
| 586 // ServiceWorker. | 589 // ServiceWorker. |
| 587 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } | 590 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } |
| 588 | 591 |
| 589 // Returns an identifier of the service worker controlling the document | 592 // Returns an identifier of the service worker controlling the document |
| 590 // associated with the WebDataSource. | 593 // associated with the WebDataSource. |
| 591 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } | 594 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } |
| 592 | 595 |
| 596 |
| 597 // Speech -------------------------------------------------------------- |
| 598 |
| 599 // Access the embedder API for speech recognition services. |
| 600 virtual WebSpeechRecognizer* speechRecognizer() { return 0; } |
| 601 |
| 593 protected: | 602 protected: |
| 594 virtual ~WebFrameClient() { } | 603 virtual ~WebFrameClient() { } |
| 595 }; | 604 }; |
| 596 | 605 |
| 597 } // namespace blink | 606 } // namespace blink |
| 598 | 607 |
| 599 #endif | 608 #endif |
| OLD | NEW |