OLD | NEW |
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 Loading... |
468 break; | 468 break; |
469 case TextFieldPart: | 469 case TextFieldPart: |
470 m_valueID = CSSValueTextfield; | 470 m_valueID = CSSValueTextfield; |
471 break; | 471 break; |
472 case TextAreaPart: | 472 case TextAreaPart: |
473 m_valueID = CSSValueTextarea; | 473 m_valueID = CSSValueTextarea; |
474 break; | 474 break; |
475 case CapsLockIndicatorPart: | 475 case CapsLockIndicatorPart: |
476 m_valueID = CSSValueCapsLockIndicator; | 476 m_valueID = CSSValueCapsLockIndicator; |
477 break; | 477 break; |
| 478 case MediaRemotingDisableButtonPart: |
| 479 m_valueID = CSSValueMediaRemotingDisableButton; |
| 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 (m_valueID == CSSValueNone) | 486 if (m_valueID == CSSValueNone) |
484 return NoControlPart; | 487 return NoControlPart; |
485 return ControlPart(m_valueID - CSSValueCheckbox + 1); | 488 return ControlPart(m_valueID - CSSValueCheckbox + 1); |
486 } | 489 } |
487 | 490 |
(...skipping 3055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3543 default: | 3546 default: |
3544 break; | 3547 break; |
3545 } | 3548 } |
3546 ASSERT_NOT_REACHED(); | 3549 ASSERT_NOT_REACHED(); |
3547 return ContainsNone; | 3550 return ContainsNone; |
3548 } | 3551 } |
3549 | 3552 |
3550 } // namespace blink | 3553 } // namespace blink |
3551 | 3554 |
3552 #endif | 3555 #endif |
OLD | NEW |