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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 // Returns an identifier of the service worker controlling the document | 585 // Returns an identifier of the service worker controlling the document |
586 // associated with the WebDataSource. | 586 // associated with the WebDataSource. |
587 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } | 587 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } |
588 | 588 |
589 | 589 |
590 // Speech -------------------------------------------------------------- | 590 // Speech -------------------------------------------------------------- |
591 | 591 |
592 // Access the embedder API for speech recognition services. | 592 // Access the embedder API for speech recognition services. |
593 virtual WebSpeechRecognizer* speechRecognizer() { return 0; } | 593 virtual WebSpeechRecognizer* speechRecognizer() { return 0; } |
594 | 594 |
| 595 |
| 596 // Fullscreen ---------------------------------------------------------- |
| 597 |
| 598 // Called to enter/exit fullscreen mode. If enterFullScreen returns true, |
| 599 // then WebWidget::{will,Did}EnterFullScreen should bound resizing the |
| 600 // WebWidget into fullscreen mode. Similarly, when exitFullScreen is |
| 601 // called, WebWidget::{will,Did}ExitFullScreen should bound resizing the |
| 602 // WebWidget out of fullscreen mode. |
| 603 virtual bool enterFullscreen() { return false; } |
| 604 virtual bool exitFullscreen() { return false; } |
| 605 |
595 protected: | 606 protected: |
596 virtual ~WebFrameClient() { } | 607 virtual ~WebFrameClient() { } |
597 }; | 608 }; |
598 | 609 |
599 } // namespace blink | 610 } // namespace blink |
600 | 611 |
601 #endif | 612 #endif |
OLD | NEW |