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

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

Issue 2474603002: Don't include LayoutObject-derived headers where not needed. (Closed)
Patch Set: Created 4 years, 1 month 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, 2011, 2012, 2013 Apple Inc. All rights 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights
3 * reserved. 3 * 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 #include "core/html/track/AudioTrack.h" 57 #include "core/html/track/AudioTrack.h"
58 #include "core/html/track/AudioTrackList.h" 58 #include "core/html/track/AudioTrackList.h"
59 #include "core/html/track/AutomaticTrackSelection.h" 59 #include "core/html/track/AutomaticTrackSelection.h"
60 #include "core/html/track/CueTimeline.h" 60 #include "core/html/track/CueTimeline.h"
61 #include "core/html/track/InbandTextTrack.h" 61 #include "core/html/track/InbandTextTrack.h"
62 #include "core/html/track/TextTrackContainer.h" 62 #include "core/html/track/TextTrackContainer.h"
63 #include "core/html/track/TextTrackList.h" 63 #include "core/html/track/TextTrackList.h"
64 #include "core/html/track/VideoTrack.h" 64 #include "core/html/track/VideoTrack.h"
65 #include "core/html/track/VideoTrackList.h" 65 #include "core/html/track/VideoTrackList.h"
66 #include "core/inspector/ConsoleMessage.h" 66 #include "core/inspector/ConsoleMessage.h"
67 #include "core/layout/LayoutVideo.h"
68 #include "core/layout/api/LayoutMediaItem.h" 67 #include "core/layout/api/LayoutMediaItem.h"
69 #include "core/layout/api/LayoutViewItem.h" 68 #include "core/layout/api/LayoutViewItem.h"
70 #include "core/layout/compositing/PaintLayerCompositor.h" 69 #include "core/layout/compositing/PaintLayerCompositor.h"
71 #include "core/loader/FrameLoader.h" 70 #include "core/loader/FrameLoader.h"
72 #include "core/loader/FrameLoaderClient.h" 71 #include "core/loader/FrameLoaderClient.h"
73 #include "core/page/ChromeClient.h" 72 #include "core/page/ChromeClient.h"
74 #include "core/page/NetworkStateNotifier.h" 73 #include "core/page/NetworkStateNotifier.h"
75 #include "platform/ContentType.h" 74 #include "platform/ContentType.h"
76 #include "platform/Histogram.h" 75 #include "platform/Histogram.h"
77 #include "platform/LayoutTestSupport.h" 76 #include "platform/LayoutTestSupport.h"
(...skipping 4014 matching lines...) Expand 10 before | Expand all | Expand 10 after
4092 4091
4093 IntRect HTMLMediaElement::AutoplayHelperClientImpl::absoluteBoundingBoxRect() 4092 IntRect HTMLMediaElement::AutoplayHelperClientImpl::absoluteBoundingBoxRect()
4094 const { 4093 const {
4095 IntRect result; 4094 IntRect result;
4096 if (LayoutObject* object = m_element->layoutObject()) 4095 if (LayoutObject* object = m_element->layoutObject())
4097 result = object->absoluteBoundingBoxRect(); 4096 result = object->absoluteBoundingBoxRect();
4098 return result; 4097 return result;
4099 } 4098 }
4100 4099
4101 } // namespace blink 4100 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/VisibleSelection.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMeterElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698