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

Side by Side Diff: Source/web/AssertMatchingEnums.cpp

Issue 1055503002: Eliminate MediaPlayer & MediaPlayerClient abstractions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added separate interface for EncryptedMedia Created 5 years, 7 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" 64 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
65 #include "modules/quota/DeprecatedStorageQuota.h" 65 #include "modules/quota/DeprecatedStorageQuota.h"
66 #include "modules/speech/SpeechRecognitionError.h" 66 #include "modules/speech/SpeechRecognitionError.h"
67 #include "platform/Cursor.h" 67 #include "platform/Cursor.h"
68 #include "platform/FileMetadata.h" 68 #include "platform/FileMetadata.h"
69 #include "platform/FileSystemType.h" 69 #include "platform/FileSystemType.h"
70 #include "platform/PlatformMouseEvent.h" 70 #include "platform/PlatformMouseEvent.h"
71 #include "platform/fonts/FontDescription.h" 71 #include "platform/fonts/FontDescription.h"
72 #include "platform/fonts/FontSmoothingMode.h" 72 #include "platform/fonts/FontSmoothingMode.h"
73 #include "platform/graphics/filters/FilterOperation.h" 73 #include "platform/graphics/filters/FilterOperation.h"
74 #include "platform/graphics/media/MediaPlayer.h"
75 #include "platform/mediastream/MediaStreamSource.h" 74 #include "platform/mediastream/MediaStreamSource.h"
76 #include "platform/network/ContentSecurityPolicyParsers.h" 75 #include "platform/network/ContentSecurityPolicyParsers.h"
77 #include "platform/network/ResourceLoadPriority.h" 76 #include "platform/network/ResourceLoadPriority.h"
78 #include "platform/network/ResourceResponse.h" 77 #include "platform/network/ResourceResponse.h"
79 #include "platform/scroll/ScrollTypes.h" 78 #include "platform/scroll/ScrollTypes.h"
80 #include "platform/text/TextChecking.h" 79 #include "platform/text/TextChecking.h"
81 #include "platform/text/TextDecoration.h" 80 #include "platform/text/TextDecoration.h"
82 #include "platform/weborigin/ReferrerPolicy.h" 81 #include "platform/weborigin/ReferrerPolicy.h"
83 #include "platform/weborigin/SchemeRegistry.h" 82 #include "platform/weborigin/SchemeRegistry.h"
84 #include "public/platform/WebApplicationCacheHost.h" 83 #include "public/platform/WebApplicationCacheHost.h"
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 STATIC_ASSERT_MATCHING_ENUM(WebNode::DocumentNode, Node::DOCUMENT_NODE); 444 STATIC_ASSERT_MATCHING_ENUM(WebNode::DocumentNode, Node::DOCUMENT_NODE);
446 STATIC_ASSERT_MATCHING_ENUM(WebNode::DocumentTypeNode, Node::DOCUMENT_TYPE_NODE) ; 445 STATIC_ASSERT_MATCHING_ENUM(WebNode::DocumentTypeNode, Node::DOCUMENT_TYPE_NODE) ;
447 STATIC_ASSERT_MATCHING_ENUM(WebNode::DocumentFragmentNode, Node::DOCUMENT_FRAGME NT_NODE); 446 STATIC_ASSERT_MATCHING_ENUM(WebNode::DocumentFragmentNode, Node::DOCUMENT_FRAGME NT_NODE);
448 447
449 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveNothing, HTMLMediaElem ent::HAVE_NOTHING); 448 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveNothing, HTMLMediaElem ent::HAVE_NOTHING);
450 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveMetadata, HTMLMediaEle ment::HAVE_METADATA); 449 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveMetadata, HTMLMediaEle ment::HAVE_METADATA);
451 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveCurrentData, HTMLMedia Element::HAVE_CURRENT_DATA); 450 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveCurrentData, HTMLMedia Element::HAVE_CURRENT_DATA);
452 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveFutureData, HTMLMediaE lement::HAVE_FUTURE_DATA); 451 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveFutureData, HTMLMediaE lement::HAVE_FUTURE_DATA);
453 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveEnoughData, HTMLMediaE lement::HAVE_ENOUGH_DATA); 452 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveEnoughData, HTMLMediaE lement::HAVE_ENOUGH_DATA);
454 453
455 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadNone, MediaPlayer::None);
456 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadMetaData, MediaPlayer::MetaDa ta);
457 STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadAuto, MediaPlayer::Auto);
458
459 STATIC_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonNone, NoButton); 454 STATIC_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonNone, NoButton);
460 STATIC_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonLeft, LeftButton); 455 STATIC_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonLeft, LeftButton);
461 STATIC_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton); 456 STATIC_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton);
462 STATIC_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonRight, RightButton); 457 STATIC_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonRight, RightButton);
463 458
464 STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar); 459 STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar);
465 STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::Vertical, VerticalScrollbar); 460 STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::Vertical, VerticalScrollbar);
466 461
467 STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByLine, ScrollByLine); 462 STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByLine, ScrollByLine);
468 STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPage, ScrollByPage); 463 STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPage, ScrollByPage);
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::TopNavigation, SandboxTopNavigation ); 687 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::TopNavigation, SandboxTopNavigation );
693 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups); 688 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::Popups, SandboxPopups);
694 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features); 689 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::AutomaticFeatures, SandboxAutomatic Features);
695 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock); 690 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::PointerLock, SandboxPointerLock);
696 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in); 691 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::DocumentDomain, SandboxDocumentDoma in);
697 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock); 692 STATIC_ASSERT_MATCHING_ENUM(WebSandboxFlags::OrientationLock, SandboxOrientation Lock);
698 693
699 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie nt::BeforeUnloadHandler); 694 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::BeforeUnloadHandler, WebFrameClie nt::BeforeUnloadHandler);
700 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler); 695 STATIC_ASSERT_MATCHING_ENUM(FrameLoaderClient::UnloadHandler, WebFrameClient::Un loadHandler);
701 } // namespace blink 696 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698