| 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 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 // Screen Orientation -------------------------------------------------- | 553 // Screen Orientation -------------------------------------------------- |
| 554 | 554 |
| 555 // Access the embedder API for (client-based) screen orientation client . | 555 // Access the embedder API for (client-based) screen orientation client . |
| 556 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} | 556 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} |
| 557 | 557 |
| 558 // Accessibility ------------------------------------------------------- | 558 // Accessibility ------------------------------------------------------- |
| 559 | 559 |
| 560 // Notifies embedder about an accessibility event. | 560 // Notifies embedder about an accessibility event. |
| 561 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } | 561 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } |
| 562 | 562 |
| 563 // Provides accessibility information about a find in page result. |
| 564 virtual void handleAccessibilityFindInPageResult( |
| 565 int identifier, |
| 566 int matchIndex, |
| 567 const WebAXObject& startObject, |
| 568 int startOffset, |
| 569 const WebAXObject& endObject, |
| 570 int endOffset) { } |
| 571 |
| 563 // ServiceWorker ------------------------------------------------------- | 572 // ServiceWorker ------------------------------------------------------- |
| 564 | 573 |
| 565 // Whether the document associated with WebDataSource is controlled by the | 574 // Whether the document associated with WebDataSource is controlled by the |
| 566 // ServiceWorker. | 575 // ServiceWorker. |
| 567 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } | 576 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } |
| 568 | 577 |
| 569 // Returns an identifier of the service worker controlling the document | 578 // Returns an identifier of the service worker controlling the document |
| 570 // associated with the WebDataSource. | 579 // associated with the WebDataSource. |
| 571 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } | 580 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } |
| 572 | 581 |
| 573 protected: | 582 protected: |
| 574 virtual ~WebFrameClient() { } | 583 virtual ~WebFrameClient() { } |
| 575 }; | 584 }; |
| 576 | 585 |
| 577 } // namespace blink | 586 } // namespace blink |
| 578 | 587 |
| 579 #endif | 588 #endif |
| OLD | NEW |