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

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

Issue 1018593004: Implement <video controls> dodging for text track layout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 | Annotate | Revision Log
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void enteredFullscreen(); 63 void enteredFullscreen();
64 void exitedFullscreen(); 64 void exitedFullscreen();
65 65
66 void startedCasting(); 66 void startedCasting();
67 void stoppedCasting(); 67 void stoppedCasting();
68 void refreshCastButtonVisibility(); 68 void refreshCastButtonVisibility();
69 void showOverlayCastButton(); 69 void showOverlayCastButton();
70 70
71 void mediaElementFocused(); 71 void mediaElementFocused();
72 72
73 IntRect absoluteRectForTextTracks();
74
73 DECLARE_VIRTUAL_TRACE(); 75 DECLARE_VIRTUAL_TRACE();
74 76
75 private: 77 private:
76 explicit MediaControls(HTMLMediaElement&); 78 explicit MediaControls(HTMLMediaElement&);
77 79
78 void initializeControls(); 80 void initializeControls();
79 81
80 void makeOpaque(); 82 void makeOpaque();
81 void makeTransparent(); 83 void makeTransparent();
82 84
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 unsigned m_hideTimerBehaviorFlags; 131 unsigned m_hideTimerBehaviorFlags;
130 bool m_isMouseOverControls : 1; 132 bool m_isMouseOverControls : 1;
131 bool m_isPausedForScrubbing : 1; 133 bool m_isPausedForScrubbing : 1;
132 }; 134 };
133 135
134 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); 136 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls());
135 137
136 } 138 }
137 139
138 #endif 140 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/shadow/MediaControls.cpp » ('j') | Source/core/layout/LayoutMedia.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698