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

Side by Side Diff: Source/core/css/StyleSheetContents.cpp

Issue 16646002: Move the CSS Device Adaptation @viewport rule support behind a runtime flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/StyleRule.cpp ('k') | Source/core/css/resolver/StyleResolver.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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2006, 2007, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2006, 2007, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 return true; 450 return true;
451 break; 451 break;
452 case StyleRuleBase::Import: 452 case StyleRuleBase::Import:
453 ASSERT_NOT_REACHED(); 453 ASSERT_NOT_REACHED();
454 case StyleRuleBase::Page: 454 case StyleRuleBase::Page:
455 case StyleRuleBase::Keyframes: 455 case StyleRuleBase::Keyframes:
456 case StyleRuleBase::Unknown: 456 case StyleRuleBase::Unknown:
457 case StyleRuleBase::Charset: 457 case StyleRuleBase::Charset:
458 case StyleRuleBase::Keyframe: 458 case StyleRuleBase::Keyframe:
459 case StyleRuleBase::Supports: 459 case StyleRuleBase::Supports:
460 #if ENABLE(CSS_DEVICE_ADAPTATION)
461 case StyleRuleBase::Viewport: 460 case StyleRuleBase::Viewport:
462 #endif
463 case StyleRuleBase::Filter: 461 case StyleRuleBase::Filter:
464 break; 462 break;
465 } 463 }
466 } 464 }
467 return false; 465 return false;
468 } 466 }
469 467
470 bool StyleSheetContents::hasFailedOrCanceledSubresources() const 468 bool StyleSheetContents::hasFailedOrCanceledSubresources() const
471 { 469 {
472 ASSERT(isCacheable()); 470 ASSERT(isCacheable());
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 info.addMember(m_originalURL, "originalURL"); 516 info.addMember(m_originalURL, "originalURL");
519 info.addMember(m_encodingFromCharsetRule, "encodingFromCharsetRule"); 517 info.addMember(m_encodingFromCharsetRule, "encodingFromCharsetRule");
520 info.addMember(m_importRules, "importRules"); 518 info.addMember(m_importRules, "importRules");
521 info.addMember(m_childRules, "childRules"); 519 info.addMember(m_childRules, "childRules");
522 info.addMember(m_namespaces, "namespaces"); 520 info.addMember(m_namespaces, "namespaces");
523 info.addMember(m_parserContext, "parserContext"); 521 info.addMember(m_parserContext, "parserContext");
524 info.addMember(m_clients, "clients"); 522 info.addMember(m_clients, "clients");
525 } 523 }
526 524
527 } 525 }
OLDNEW
« no previous file with comments | « Source/core/css/StyleRule.cpp ('k') | Source/core/css/resolver/StyleResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698