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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp

Issue 2780403004: Create core/html/media/ and move auxiliary media files in it. (Closed)
Patch Set: actually add autoplay files Created 3 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) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010 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 19 matching lines...) Expand all
30 #include "core/CSSPropertyNames.h" 30 #include "core/CSSPropertyNames.h"
31 #include "core/HTMLNames.h" 31 #include "core/HTMLNames.h"
32 #include "core/dom/Attribute.h" 32 #include "core/dom/Attribute.h"
33 #include "core/dom/Document.h" 33 #include "core/dom/Document.h"
34 #include "core/dom/ExceptionCode.h" 34 #include "core/dom/ExceptionCode.h"
35 #include "core/dom/Fullscreen.h" 35 #include "core/dom/Fullscreen.h"
36 #include "core/dom/shadow/ShadowRoot.h" 36 #include "core/dom/shadow/ShadowRoot.h"
37 #include "core/frame/ImageBitmap.h" 37 #include "core/frame/ImageBitmap.h"
38 #include "core/frame/LocalDOMWindow.h" 38 #include "core/frame/LocalDOMWindow.h"
39 #include "core/frame/Settings.h" 39 #include "core/frame/Settings.h"
40 #include "core/html/MediaCustomControlsFullscreenDetector.h" 40 #include "core/html/media/MediaCustomControlsFullscreenDetector.h"
41 #include "core/html/parser/HTMLParserIdioms.h" 41 #include "core/html/parser/HTMLParserIdioms.h"
42 #include "core/imagebitmap/ImageBitmapOptions.h" 42 #include "core/imagebitmap/ImageBitmapOptions.h"
43 #include "core/layout/LayoutImage.h" 43 #include "core/layout/LayoutImage.h"
44 #include "core/layout/LayoutVideo.h" 44 #include "core/layout/LayoutVideo.h"
45 #include "platform/Histogram.h" 45 #include "platform/Histogram.h"
46 #include "platform/RuntimeEnabledFeatures.h" 46 #include "platform/RuntimeEnabledFeatures.h"
47 #include "platform/UserGestureIndicator.h" 47 #include "platform/UserGestureIndicator.h"
48 #include "platform/graphics/GraphicsContext.h" 48 #include "platform/graphics/GraphicsContext.h"
49 #include "platform/graphics/ImageBuffer.h" 49 #include "platform/graphics/ImageBuffer.h"
50 #include "platform/graphics/gpu/Extensions3DUtil.h" 50 #include "platform/graphics/gpu/Extensions3DUtil.h"
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 return ScriptPromise(); 472 return ScriptPromise();
473 if (!ImageBitmap::isResizeOptionValid(options, exceptionState)) 473 if (!ImageBitmap::isResizeOptionValid(options, exceptionState))
474 return ScriptPromise(); 474 return ScriptPromise();
475 return ImageBitmapSource::fulfillImageBitmap( 475 return ImageBitmapSource::fulfillImageBitmap(
476 scriptState, 476 scriptState,
477 ImageBitmap::create(this, cropRect, 477 ImageBitmap::create(this, cropRect,
478 eventTarget.toLocalDOMWindow()->document(), options)); 478 eventTarget.toLocalDOMWindow()->document(), options));
479 } 479 }
480 480
481 } // namespace blink 481 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698