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

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

Issue 2341423002: Don't include LayoutBlock.h from MediaControlElementTypes.h (Closed)
Patch Set: Created 4 years, 3 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, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 15 matching lines...) Expand all
26 26
27 #include "core/html/shadow/MediaControls.h" 27 #include "core/html/shadow/MediaControls.h"
28 28
29 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 29 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
30 #include "core/dom/ClientRect.h" 30 #include "core/dom/ClientRect.h"
31 #include "core/dom/Fullscreen.h" 31 #include "core/dom/Fullscreen.h"
32 #include "core/events/MouseEvent.h" 32 #include "core/events/MouseEvent.h"
33 #include "core/frame/Settings.h" 33 #include "core/frame/Settings.h"
34 #include "core/html/HTMLMediaElement.h" 34 #include "core/html/HTMLMediaElement.h"
35 #include "core/html/track/TextTrackContainer.h" 35 #include "core/html/track/TextTrackContainer.h"
36 #include "core/layout/LayoutObject.h"
36 #include "core/layout/LayoutTheme.h" 37 #include "core/layout/LayoutTheme.h"
37 #include "platform/EventDispatchForbiddenScope.h" 38 #include "platform/EventDispatchForbiddenScope.h"
38 39
39 namespace blink { 40 namespace blink {
40 41
41 // If you change this value, then also update the corresponding value in 42 // If you change this value, then also update the corresponding value in
42 // LayoutTests/media/media-controls.js. 43 // LayoutTests/media/media-controls.js.
43 static const double timeWithoutMouseMovementBeforeHidingMediaControls = 3; 44 static const double timeWithoutMouseMovementBeforeHidingMediaControls = 3;
44 45
45 static bool shouldShowFullscreenButton(const HTMLMediaElement& mediaElement) 46 static bool shouldShowFullscreenButton(const HTMLMediaElement& mediaElement)
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 visitor->trace(m_enclosure); 868 visitor->trace(m_enclosure);
868 visitor->trace(m_textTrackList); 869 visitor->trace(m_textTrackList);
869 visitor->trace(m_overflowMenu); 870 visitor->trace(m_overflowMenu);
870 visitor->trace(m_overflowList); 871 visitor->trace(m_overflowList);
871 visitor->trace(m_castButton); 872 visitor->trace(m_castButton);
872 visitor->trace(m_overlayCastButton); 873 visitor->trace(m_overlayCastButton);
873 HTMLDivElement::trace(visitor); 874 HTMLDivElement::trace(visitor);
874 } 875 }
875 876
876 } // namespace blink 877 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698