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

Side by Side Diff: Source/WebKit/chromium/src/WebSettingsImpl.cpp

Issue 17391015: Add support for clicking to play/pause <video> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 months 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/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/core/html/HTMLMediaElement.h » ('j') | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) 626 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled)
627 { 627 {
628 m_settings->setShouldRespectImageOrientation(enabled); 628 m_settings->setShouldRespectImageOrientation(enabled);
629 } 629 }
630 630
631 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) 631 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required)
632 { 632 {
633 m_settings->setMediaPlaybackRequiresUserGesture(required); 633 m_settings->setMediaPlaybackRequiresUserGesture(required);
634 } 634 }
635 635
636 void WebSettingsImpl::setClickToPlayPauseVideo(bool click)
637 {
638 m_settings->setClickToPlayPauseVideo(click);
639 }
640
636 void WebSettingsImpl::setFixedPositionCreatesStackingContext(bool creates) 641 void WebSettingsImpl::setFixedPositionCreatesStackingContext(bool creates)
637 { 642 {
638 m_settings->setFixedPositionCreatesStackingContext(creates); 643 m_settings->setFixedPositionCreatesStackingContext(creates);
639 } 644 }
640 645
641 void WebSettingsImpl::setViewportEnabled(bool enabled) 646 void WebSettingsImpl::setViewportEnabled(bool enabled)
642 { 647 {
643 m_viewportEnabled = enabled; 648 m_viewportEnabled = enabled;
644 } 649 }
645 650
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 { 687 {
683 m_settings->setSmartInsertDeleteEnabled(enabled); 688 m_settings->setSmartInsertDeleteEnabled(enabled);
684 } 689 }
685 690
686 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled) 691 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled)
687 { 692 {
688 m_settings->setPinchVirtualViewportEnabled(enabled); 693 m_settings->setPinchVirtualViewportEnabled(enabled);
689 } 694 }
690 695
691 } // namespace WebKit 696 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698