Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: public/web/WebFrameClient.h

Issue 790543003: Add enterFullscreen/exitFullscreen to WebFrameClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/FullscreenController.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/web/FullscreenController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698