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

Side by Side Diff: Source/core/html/shadow/MediaControls.h

Issue 611593003: Clean up forward declarations in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 14 matching lines...) Expand all
25 */ 25 */
26 26
27 #ifndef MediaControls_h 27 #ifndef MediaControls_h
28 #define MediaControls_h 28 #define MediaControls_h
29 29
30 #include "core/html/HTMLDivElement.h" 30 #include "core/html/HTMLDivElement.h"
31 #include "core/html/shadow/MediaControlElements.h" 31 #include "core/html/shadow/MediaControlElements.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class Document;
36 class Event; 35 class Event;
37 36
38 class MediaControls FINAL : public HTMLDivElement { 37 class MediaControls FINAL : public HTMLDivElement {
39 public: 38 public:
40 static PassRefPtrWillBeRawPtr<MediaControls> create(HTMLMediaElement&); 39 static PassRefPtrWillBeRawPtr<MediaControls> create(HTMLMediaElement&);
41 40
42 HTMLMediaElement& mediaElement() const { return *m_mediaElement; } 41 HTMLMediaElement& mediaElement() const { return *m_mediaElement; }
43 42
44 void reset(); 43 void reset();
45 44
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 bool m_isMouseOverControls : 1; 136 bool m_isMouseOverControls : 1;
138 bool m_isPausedForScrubbing : 1; 137 bool m_isPausedForScrubbing : 1;
139 bool m_wasLastEventTouch : 1; 138 bool m_wasLastEventTouch : 1;
140 }; 139 };
141 140
142 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); 141 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls());
143 142
144 } 143 }
145 144
146 #endif 145 #endif
OLDNEW
« no previous file with comments | « Source/core/html/shadow/DateTimeEditElement.h ('k') | Source/core/html/shadow/MeterShadowElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698