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

Side by Side Diff: Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp

Issue 9950115: Revert 111028 - Support W3C Full Screen API proposal (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 m_page->process()->send(Messages::WebFullScreenManager::DidExitFullScreen(), m_page->pageID()); 84 m_page->process()->send(Messages::WebFullScreenManager::DidExitFullScreen(), m_page->pageID());
85 } 85 }
86 86
87 void WebFullScreenManagerProxy::setAnimatingFullScreen(bool animating) 87 void WebFullScreenManagerProxy::setAnimatingFullScreen(bool animating)
88 { 88 {
89 m_page->process()->send(Messages::WebFullScreenManager::SetAnimatingFullScre en(animating), m_page->pageID()); 89 m_page->process()->send(Messages::WebFullScreenManager::SetAnimatingFullScre en(animating), m_page->pageID());
90 } 90 }
91 91
92 void WebFullScreenManagerProxy::supportsFullScreen(bool withKeyboard, bool& supp orts) 92 void WebFullScreenManagerProxy::supportsFullScreen(bool withKeyboard, bool& supp orts)
93 { 93 {
94 supports = true; 94 if (withKeyboard)
95 supports = false;
96 else
97 supports = true;
95 } 98 }
96 99
97 } // namespace WebKit 100 } // namespace WebKit
98 101
99 #endif // ENABLE(FULLSCREEN_API) 102 #endif // ENABLE(FULLSCREEN_API)
OLDNEW
« no previous file with comments | « Source/WebKit/mac/WebView/WebView.mm ('k') | Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698