| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 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 17 matching lines...) Expand all Loading... |
| 28 #include "bindings/core/v8/ExceptionState.h" | 28 #include "bindings/core/v8/ExceptionState.h" |
| 29 #include "core/HTMLNames.h" | 29 #include "core/HTMLNames.h" |
| 30 #include "core/dom/DocumentUserGestureToken.h" | 30 #include "core/dom/DocumentUserGestureToken.h" |
| 31 #include "core/dom/ElementTraversal.h" | 31 #include "core/dom/ElementTraversal.h" |
| 32 #include "core/dom/RawDataDocumentParser.h" | 32 #include "core/dom/RawDataDocumentParser.h" |
| 33 #include "core/dom/shadow/ShadowRoot.h" | 33 #include "core/dom/shadow/ShadowRoot.h" |
| 34 #include "core/events/Event.h" | 34 #include "core/events/Event.h" |
| 35 #include "core/events/EventListener.h" | 35 #include "core/events/EventListener.h" |
| 36 #include "core/events/KeyboardEvent.h" | 36 #include "core/events/KeyboardEvent.h" |
| 37 #include "core/frame/LocalFrame.h" | 37 #include "core/frame/LocalFrame.h" |
| 38 #include "core/frame/LocalFrameClient.h" |
| 38 #include "core/frame/Settings.h" | 39 #include "core/frame/Settings.h" |
| 39 #include "core/frame/UseCounter.h" | 40 #include "core/frame/UseCounter.h" |
| 40 #include "core/html/HTMLAnchorElement.h" | 41 #include "core/html/HTMLAnchorElement.h" |
| 41 #include "core/html/HTMLBodyElement.h" | 42 #include "core/html/HTMLBodyElement.h" |
| 42 #include "core/html/HTMLContentElement.h" | 43 #include "core/html/HTMLContentElement.h" |
| 43 #include "core/html/HTMLDivElement.h" | 44 #include "core/html/HTMLDivElement.h" |
| 44 #include "core/html/HTMLHeadElement.h" | 45 #include "core/html/HTMLHeadElement.h" |
| 45 #include "core/html/HTMLHtmlElement.h" | 46 #include "core/html/HTMLHtmlElement.h" |
| 46 #include "core/html/HTMLMetaElement.h" | 47 #include "core/html/HTMLMetaElement.h" |
| 47 #include "core/html/HTMLSourceElement.h" | 48 #include "core/html/HTMLSourceElement.h" |
| 48 #include "core/html/HTMLStyleElement.h" | 49 #include "core/html/HTMLStyleElement.h" |
| 49 #include "core/html/HTMLVideoElement.h" | 50 #include "core/html/HTMLVideoElement.h" |
| 50 #include "core/loader/DocumentLoader.h" | 51 #include "core/loader/DocumentLoader.h" |
| 51 #include "core/loader/FrameLoader.h" | 52 #include "core/loader/FrameLoader.h" |
| 52 #include "core/loader/FrameLoaderClient.h" | |
| 53 #include "platform/Histogram.h" | 53 #include "platform/Histogram.h" |
| 54 #include "platform/KeyboardCodes.h" | 54 #include "platform/KeyboardCodes.h" |
| 55 #include "platform/UserGestureIndicator.h" | 55 #include "platform/UserGestureIndicator.h" |
| 56 #include "platform/text/PlatformLocale.h" | 56 #include "platform/text/PlatformLocale.h" |
| 57 | 57 |
| 58 namespace blink { | 58 namespace blink { |
| 59 | 59 |
| 60 using namespace HTMLNames; | 60 using namespace HTMLNames; |
| 61 | 61 |
| 62 // Enums used for UMA histogram. | 62 // Enums used for UMA histogram. |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 if (keyboardEvent->key() == " " || | 292 if (keyboardEvent->key() == " " || |
| 293 keyboardEvent->keyCode() == VKEY_MEDIA_PLAY_PAUSE) { | 293 keyboardEvent->keyCode() == VKEY_MEDIA_PLAY_PAUSE) { |
| 294 // space or media key (play/pause) | 294 // space or media key (play/pause) |
| 295 video->togglePlayState(); | 295 video->togglePlayState(); |
| 296 event->setDefaultHandled(); | 296 event->setDefaultHandled(); |
| 297 } | 297 } |
| 298 } | 298 } |
| 299 } | 299 } |
| 300 | 300 |
| 301 } // namespace blink | 301 } // namespace blink |
| OLD | NEW |