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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 // Screen Orientation -------------------------------------------------- | 559 // Screen Orientation -------------------------------------------------- |
560 | 560 |
561 // Access the embedder API for (client-based) screen orientation client . | 561 // Access the embedder API for (client-based) screen orientation client . |
562 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} | 562 virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0;
} |
563 | 563 |
564 // Accessibility ------------------------------------------------------- | 564 // Accessibility ------------------------------------------------------- |
565 | 565 |
566 // Notifies embedder about an accessibility event. | 566 // Notifies embedder about an accessibility event. |
567 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } | 567 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } |
568 | 568 |
| 569 // ServiceWorker ------------------------------------------------------- |
| 570 |
| 571 // Whether the frame is controlled by the ServiceWorker |
| 572 virtual bool isControlledByServiceWorker() { return false; } |
| 573 |
569 protected: | 574 protected: |
570 virtual ~WebFrameClient() { } | 575 virtual ~WebFrameClient() { } |
571 }; | 576 }; |
572 | 577 |
573 } // namespace blink | 578 } // namespace blink |
574 | 579 |
575 #endif | 580 #endif |
OLD | NEW |