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

Side by Side Diff: Source/core/dom/Document.h

Issue 654953002: Navigation transitions (web to native app): Get names and rects of transition elements (Step 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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) 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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 bool isMobileDocument() const { return m_isMobileDocument; } 382 bool isMobileDocument() const { return m_isMobileDocument; }
383 383
384 bool isTransitionDocument() const { return m_isTransitionDocument; } 384 bool isTransitionDocument() const { return m_isTransitionDocument; }
385 void setIsTransitionDocument() { m_isTransitionDocument = true; } 385 void setIsTransitionDocument() { m_isTransitionDocument = true; }
386 void hideTransitionElements(const AtomicString& cssSelector); 386 void hideTransitionElements(const AtomicString& cssSelector);
387 387
388 struct TransitionElementData { 388 struct TransitionElementData {
389 String scope; 389 String scope;
390 String selector; 390 String selector;
391 String markup; 391 String markup;
392 Vector<String> names;
393 Vector<IntRect> rects;
392 }; 394 };
393 void getTransitionElementData(Vector<TransitionElementData>&); 395 void getTransitionElementData(Vector<TransitionElementData>&);
394 396
395 StyleResolver* styleResolver() const; 397 StyleResolver* styleResolver() const;
396 StyleResolver& ensureStyleResolver() const; 398 StyleResolver& ensureStyleResolver() const;
397 399
398 bool isViewSource() const { return m_isViewSource; } 400 bool isViewSource() const { return m_isViewSource; }
399 void setIsViewSource(bool); 401 void setIsViewSource(bool);
400 402
401 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; } 403 bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNames paces; }
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1411 Node* eventTargetNodeForDocument(Document*); 1413 Node* eventTargetNodeForDocument(Document*);
1412 1414
1413 } // namespace blink 1415 } // namespace blink
1414 1416
1415 #ifndef NDEBUG 1417 #ifndef NDEBUG
1416 // Outside the WebCore namespace for ease of invocation from gdb. 1418 // Outside the WebCore namespace for ease of invocation from gdb.
1417 void showLiveDocumentInstances(); 1419 void showLiveDocumentInstances();
1418 #endif 1420 #endif
1419 1421
1420 #endif // Document_h 1422 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698