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

Side by Side Diff: Source/core/html/MediaDocument.cpp

Issue 60153002: Move KeyboardCodes to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove stray reference to KeyboardCodes.h Created 7 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 | Annotate | Revision Log
OLDNEW
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 24 matching lines...) Expand all
35 #include "core/events/ThreadLocalEventNames.h" 35 #include "core/events/ThreadLocalEventNames.h"
36 #include "core/html/HTMLBodyElement.h" 36 #include "core/html/HTMLBodyElement.h"
37 #include "core/html/HTMLHeadElement.h" 37 #include "core/html/HTMLHeadElement.h"
38 #include "core/html/HTMLHtmlElement.h" 38 #include "core/html/HTMLHtmlElement.h"
39 #include "core/html/HTMLMetaElement.h" 39 #include "core/html/HTMLMetaElement.h"
40 #include "core/html/HTMLSourceElement.h" 40 #include "core/html/HTMLSourceElement.h"
41 #include "core/html/HTMLVideoElement.h" 41 #include "core/html/HTMLVideoElement.h"
42 #include "core/loader/DocumentLoader.h" 42 #include "core/loader/DocumentLoader.h"
43 #include "core/loader/FrameLoader.h" 43 #include "core/loader/FrameLoader.h"
44 #include "core/frame/Frame.h" 44 #include "core/frame/Frame.h"
45 #include "core/platform/chromium/KeyboardCodes.h" 45 #include "platform/KeyboardCodes.h"
46 46
47 namespace WebCore { 47 namespace WebCore {
48 48
49 using namespace HTMLNames; 49 using namespace HTMLNames;
50 50
51 // FIXME: Share more code with PluginDocumentParser. 51 // FIXME: Share more code with PluginDocumentParser.
52 class MediaDocumentParser : public RawDataDocumentParser { 52 class MediaDocumentParser : public RawDataDocumentParser {
53 public: 53 public:
54 static PassRefPtr<MediaDocumentParser> create(MediaDocument* document) 54 static PassRefPtr<MediaDocumentParser> create(MediaDocument* document)
55 { 55 {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 if (video->canPlay()) 159 if (video->canPlay())
160 video->play(); 160 video->play();
161 } else 161 } else
162 video->pause(); 162 video->pause();
163 event->setDefaultHandled(); 163 event->setDefaultHandled();
164 } 164 }
165 } 165 }
166 } 166 }
167 167
168 } 168 }
OLDNEW
« no previous file with comments | « Source/core/editing/EditorKeyBindings.cpp ('k') | Source/core/platform/chromium/KeyCodeConversionAndroid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698