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 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 | 595 |
596 | 596 |
597 // Speech -------------------------------------------------------------- | 597 // Speech -------------------------------------------------------------- |
598 | 598 |
599 // Access the embedder API for speech recognition services. | 599 // Access the embedder API for speech recognition services. |
600 virtual WebSpeechRecognizer* speechRecognizer() { return 0; } | 600 virtual WebSpeechRecognizer* speechRecognizer() { return 0; } |
601 | 601 |
602 | 602 |
603 // Fullscreen ---------------------------------------------------------- | 603 // Fullscreen ---------------------------------------------------------- |
604 | 604 |
605 // Called to enter/exit fullscreen mode. If enterFullScreen returns true, | 605 // Called to enter/exit fullscreen mode. |
606 // then WebWidget::{will,Did}EnterFullScreen should bound resizing the | 606 // After calling enterFullscreen, WebWidget::{will,Did}EnterFullScreen |
607 // WebWidget into fullscreen mode. Similarly, when exitFullScreen is | 607 // should bound resizing the WebWidget into fullscreen mode. |
608 // called, WebWidget::{will,Did}ExitFullScreen should bound resizing the | 608 // Similarly, when exitFullScreen is called, |
609 // WebWidget out of fullscreen mode. | 609 // WebWidget::{will,Did}ExitFullScreen should bound resizing the WebWidget |
| 610 // out of fullscreen mode. |
| 611 // Note: the return value is ignored. |
610 virtual bool enterFullscreen() { return false; } | 612 virtual bool enterFullscreen() { return false; } |
611 virtual bool exitFullscreen() { return false; } | 613 virtual bool exitFullscreen() { return false; } |
612 | 614 |
613 protected: | 615 protected: |
614 virtual ~WebFrameClient() { } | 616 virtual ~WebFrameClient() { } |
615 }; | 617 }; |
616 | 618 |
617 } // namespace blink | 619 } // namespace blink |
618 | 620 |
619 #endif | 621 #endif |
OLD | NEW |