| OLD | NEW |
| 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 Loading... |
| 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) |
| OLD | NEW |