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

Side by Side Diff: webkit/api/public/WebMediaPlayer.h

Issue 149604: Begin implementation of the context menu for Video and Audio tags. (Closed)
Patch Set: Fix small style issues. Created 11 years, 5 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
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/api/src/WebMediaPlayerClientImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 }; 60 };
61 61
62 virtual ~WebMediaPlayer() {} 62 virtual ~WebMediaPlayer() {}
63 63
64 virtual void load(const WebURL&) = 0; 64 virtual void load(const WebURL&) = 0;
65 virtual void cancelLoad() = 0; 65 virtual void cancelLoad() = 0;
66 66
67 // Playback controls. 67 // Playback controls.
68 virtual void play() = 0; 68 virtual void play() = 0;
69 virtual void pause() = 0; 69 virtual void pause() = 0;
70 virtual bool supportsFullscreen() const = 0;
71 virtual bool supportsSave() const = 0;
70 virtual void seek(float seconds) = 0; 72 virtual void seek(float seconds) = 0;
71 virtual void setEndTime(float seconds) = 0; 73 virtual void setEndTime(float seconds) = 0;
72 virtual void setRate(float) = 0; 74 virtual void setRate(float) = 0;
73 virtual void setVolume(float) = 0; 75 virtual void setVolume(float) = 0;
74 virtual void setVisible(bool) = 0; 76 virtual void setVisible(bool) = 0;
75 virtual bool setAutoBuffer(bool) = 0; 77 virtual bool setAutoBuffer(bool) = 0;
76 virtual bool totalBytesKnown() = 0; 78 virtual bool totalBytesKnown() = 0;
77 virtual float maxTimeBuffered() const = 0; 79 virtual float maxTimeBuffered() const = 0;
78 virtual float maxTimeSeekable() const = 0; 80 virtual float maxTimeSeekable() const = 0;
79 81
(...skipping 20 matching lines...) Expand all
100 virtual NetworkState networkState() const = 0; 102 virtual NetworkState networkState() const = 0;
101 virtual ReadyState readyState() const = 0; 103 virtual ReadyState readyState() const = 0;
102 104
103 virtual unsigned long long bytesLoaded() const = 0; 105 virtual unsigned long long bytesLoaded() const = 0;
104 virtual unsigned long long totalBytes() const = 0; 106 virtual unsigned long long totalBytes() const = 0;
105 }; 107 };
106 108
107 } // namespace WebKit 109 } // namespace WebKit
108 110
109 #endif 111 #endif
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/api/src/WebMediaPlayerClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698