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

Side by Side Diff: Source/core/html/HTMLLinkElement.cpp

Issue 653223002: Navigation transitions (web to native app): Revert exit transition (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review fix Created 6 years 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
« no previous file with comments | « Source/core/html/HTMLLinkElement.h ('k') | Source/core/loader/DocumentLoader.cpp » ('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 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com)
7 * Copyright (C) 2011 Google Inc. All rights reserved. 7 * Copyright (C) 2011 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 return link->importedDocument(); 244 return link->importedDocument();
245 return nullptr; 245 return nullptr;
246 } 246 }
247 247
248 void HTMLLinkElement::process() 248 void HTMLLinkElement::process()
249 { 249 {
250 if (LinkResource* link = linkResourceToProcess()) 250 if (LinkResource* link = linkResourceToProcess())
251 link->process(); 251 link->process();
252 } 252 }
253 253
254 void HTMLLinkElement::enableIfExitTransitionStyle() 254 void HTMLLinkElement::setEnabledIfExitTransitionStyle(bool enabled)
255 { 255 {
256 if (m_relAttribute.isTransitionExitingStylesheet()) { 256 if (m_relAttribute.isTransitionExitingStylesheet()) {
257 if (LinkStyle* link = linkStyle()) 257 if (LinkStyle* link = linkStyle())
258 link->setDisabledState(false); 258 link->setDisabledState(!enabled);
259 } 259 }
260 } 260 }
261 261
262 Node::InsertionNotificationRequest HTMLLinkElement::insertedInto(ContainerNode* insertionPoint) 262 Node::InsertionNotificationRequest HTMLLinkElement::insertedInto(ContainerNode* insertionPoint)
263 { 263 {
264 if (insertionPoint->inDocument()) { 264 if (insertionPoint->inDocument()) {
265 V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivi tyLoggerIfIsolatedWorld(); 265 V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivi tyLoggerIfIsolatedWorld();
266 if (activityLogger) { 266 if (activityLogger) {
267 Vector<String> argv; 267 Vector<String> argv;
268 argv.append("link"); 268 argv.append("link");
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 removePendingSheet(); 750 removePendingSheet();
751 } 751 }
752 752
753 void LinkStyle::trace(Visitor* visitor) 753 void LinkStyle::trace(Visitor* visitor)
754 { 754 {
755 visitor->trace(m_sheet); 755 visitor->trace(m_sheet);
756 LinkResource::trace(visitor); 756 LinkResource::trace(visitor);
757 } 757 }
758 758
759 } // namespace blink 759 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/HTMLLinkElement.h ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698