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

Side by Side Diff: third_party/WebKit/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.h

Issue 39293: WebKit merge 41447:41498 [third_party/WebKit] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove CRLF Created 11 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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 MediaPlayer::NetworkState networkState() const { return m_networkState; } 99 MediaPlayer::NetworkState networkState() const { return m_networkState; }
100 MediaPlayer::ReadyState readyState() const { return m_readyState; } 100 MediaPlayer::ReadyState readyState() const { return m_readyState; }
101 101
102 float maxTimeBuffered() const; 102 float maxTimeBuffered() const;
103 float maxTimeSeekable() const; 103 float maxTimeSeekable() const;
104 unsigned bytesLoaded() const; 104 unsigned bytesLoaded() const;
105 bool totalBytesKnown() const; 105 bool totalBytesKnown() const;
106 unsigned totalBytes() const; 106 unsigned totalBytes() const;
107 107
108 void setVisible(bool); 108 void setVisible(bool);
109 void setRect(const IntRect& r); 109 void setSize(const IntSize&);
110 110
111 void paint(GraphicsContext*, const IntRect&); 111 void paint(GraphicsContext*, const IntRect&);
112 112
113 void createQTMovie(const String& url); 113 void createQTMovie(const String& url);
114 void setUpVideoRendering(); 114 void setUpVideoRendering();
115 void tearDownVideoRendering(); 115 void tearDownVideoRendering();
116 void createQTMovieView(); 116 void createQTMovieView();
117 void detachQTMovieView(); 117 void detachQTMovieView();
118 void createQTVideoRenderer(); 118 void createQTVideoRenderer();
119 void destroyQTVideoRenderer(); 119 void destroyQTVideoRenderer();
(...skipping 17 matching lines...) Expand all
137 RetainPtr<WebCoreMovieObserver> m_objcObserver; 137 RetainPtr<WebCoreMovieObserver> m_objcObserver;
138 float m_seekTo; 138 float m_seekTo;
139 float m_endTime; 139 float m_endTime;
140 Timer<MediaPlayerPrivate> m_seekTimer; 140 Timer<MediaPlayerPrivate> m_seekTimer;
141 Timer<MediaPlayerPrivate> m_endPointTimer; 141 Timer<MediaPlayerPrivate> m_endPointTimer;
142 MediaPlayer::NetworkState m_networkState; 142 MediaPlayer::NetworkState m_networkState;
143 MediaPlayer::ReadyState m_readyState; 143 MediaPlayer::ReadyState m_readyState;
144 bool m_startedPlaying; 144 bool m_startedPlaying;
145 bool m_isStreaming; 145 bool m_isStreaming;
146 bool m_visible; 146 bool m_visible;
147 IntRect m_rect;
147 #if DRAW_FRAME_RATE 148 #if DRAW_FRAME_RATE
148 int m_frameCountWhilePlaying; 149 int m_frameCountWhilePlaying;
149 double m_timeStartedPlaying; 150 double m_timeStartedPlaying;
150 double m_timeStoppedPlaying; 151 double m_timeStoppedPlaying;
151 #endif 152 #endif
152 }; 153 };
153 154
154 } 155 }
155 156
156 #endif 157 #endif
157 #endif 158 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698