Chromium Code Reviews| Index: Source/Platform/chromium/public/WebPreconnectMotivation.h |
| diff --git a/Source/WebKit/chromium/public/WebMediaSource.h b/Source/Platform/chromium/public/WebPreconnectMotivation.h |
| similarity index 85% |
| copy from Source/WebKit/chromium/public/WebMediaSource.h |
| copy to Source/Platform/chromium/public/WebPreconnectMotivation.h |
| index ae7864b3090d45d155dce3a55872d6f6a27830c4..0c4fd537ae7c82ea8ccdd7c4c496640035d5a3da 100644 |
| --- a/Source/WebKit/chromium/public/WebMediaSource.h |
| +++ b/Source/Platform/chromium/public/WebPreconnectMotivation.h |
| @@ -28,20 +28,16 @@ |
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| -#ifndef WebMediaSource_h |
| -#define WebMediaSource_h |
| - |
| -#include "../../../Platform/chromium/public/WebURL.h" |
| -#include "WebTimeRange.h" |
| +#ifndef WebPreconnectMotivation_h |
| +#define WebPreconnectMotivation_h |
| namespace WebKit { |
| -class WebMediaSourceClient; |
| - |
| -class WebMediaSource { |
| -public: |
| - virtual ~WebMediaSource() { }; |
| - virtual void open(WebMediaSourceClient*) = 0; |
| +enum WebPreconnectMotivation { |
| + WebPreconnectMotivationLinkMouseDown, |
| + WebPreconnectMotivationLinkMouseOver, |
| + WebPreconnectMotivationLinkTapUnconfirmed, |
| + WebPreconnectMotivationLinkTapDown, |
|
abarth-chromium
2013/05/10 16:57:25
Technically this is a layering violation. The Pla
kouhei (in TOK)
2013/05/13 01:31:48
I admit this is some layering violation. However,
|
| }; |
| } // namespace WebKit |