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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h

Issue 2767823002: Media Remoting: Add interstitial elements to media element shadow dom. (Closed)
Patch Set: Rebased. Created 3 years, 8 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) 2007 Alexey Proskuryakov <ap@nypop.com>. 2 * Copyright (C) 2007 Alexey Proskuryakov <ap@nypop.com>.
3 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 4 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
5 * (http://www.torchmobile.com/) 5 * (http://www.torchmobile.com/)
6 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com> 6 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com>
7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 break; 468 break;
469 case kTextFieldPart: 469 case kTextFieldPart:
470 value_id_ = CSSValueTextfield; 470 value_id_ = CSSValueTextfield;
471 break; 471 break;
472 case kTextAreaPart: 472 case kTextAreaPart:
473 value_id_ = CSSValueTextarea; 473 value_id_ = CSSValueTextarea;
474 break; 474 break;
475 case kCapsLockIndicatorPart: 475 case kCapsLockIndicatorPart:
476 value_id_ = CSSValueCapsLockIndicator; 476 value_id_ = CSSValueCapsLockIndicator;
477 break; 477 break;
478 case kMediaRemotingCastIconPart:
479 value_id_ = CSSValueInternalMediaRemotingCastIcon;
480 break;
478 } 481 }
479 } 482 }
480 483
481 template <> 484 template <>
482 inline ControlPart CSSIdentifierValue::ConvertTo() const { 485 inline ControlPart CSSIdentifierValue::ConvertTo() const {
483 if (value_id_ == CSSValueNone) 486 if (value_id_ == CSSValueNone)
484 return kNoControlPart; 487 return kNoControlPart;
485 return ControlPart(value_id_ - CSSValueCheckbox + 1); 488 return ControlPart(value_id_ - CSSValueCheckbox + 1);
486 } 489 }
487 490
(...skipping 2921 matching lines...) Expand 10 before | Expand all | Expand 10 after
3409 default: 3412 default:
3410 break; 3413 break;
3411 } 3414 }
3412 NOTREACHED(); 3415 NOTREACHED();
3413 return kContainsNone; 3416 return kContainsNone;
3414 } 3417 }
3415 3418
3416 } // namespace blink 3419 } // namespace blink
3417 3420
3418 #endif 3421 #endif
OLDNEW
« no previous file with comments | « media/blink/webmediaplayer_impl.cc ('k') | third_party/WebKit/Source/core/css/CSSValueKeywords.json5 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698