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

Side by Side Diff: public/web/WebDocument.h

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: 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType); 113 BLINK_EXPORT WebDOMEvent createEvent(const WebString& eventType);
114 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const; 114 BLINK_EXPORT WebReferrerPolicy referrerPolicy() const;
115 BLINK_EXPORT WebElement createElement(const WebString& tagName); 115 BLINK_EXPORT WebElement createElement(const WebString& tagName);
116 // Shorthand of frame()->scrollOffset(). 116 // Shorthand of frame()->scrollOffset().
117 BLINK_EXPORT WebSize scrollOffset() const; 117 BLINK_EXPORT WebSize scrollOffset() const;
118 // Shorthand of frame()->minimumScrollOffset(). 118 // Shorthand of frame()->minimumScrollOffset().
119 BLINK_EXPORT WebSize minimumScrollOffset() const; 119 BLINK_EXPORT WebSize minimumScrollOffset() const;
120 // Shorthand of frame()->maximumScrollOffset(). 120 // Shorthand of frame()->maximumScrollOffset().
121 BLINK_EXPORT WebSize maximumScrollOffset() const; 121 BLINK_EXPORT WebSize maximumScrollOffset() const;
122 BLINK_EXPORT void setIsTransitionDocument(); 122 BLINK_EXPORT void setIsTransitionDocument();
123 BLINK_EXPORT void resetIsTransitionDocument();
123 BLINK_EXPORT void beginExitTransition(const WebString& cssSelector); 124 BLINK_EXPORT void beginExitTransition(const WebString& cssSelector);
124 BLINK_EXPORT void beginExitTransition(const WebString& cssSelector, bool exi tToNativeApp); 125 BLINK_EXPORT void beginExitTransition(const WebString& cssSelector, bool exi tToNativeApp);
126 BLINK_EXPORT void revertExitTransition();
125 BLINK_EXPORT void hideTransitionElements(const WebString& cssSelector); 127 BLINK_EXPORT void hideTransitionElements(const WebString& cssSelector);
126 BLINK_EXPORT void showTransitionElements(const WebString& cssSelector); 128 BLINK_EXPORT void showTransitionElements(const WebString& cssSelector);
127 129
128 // Accessibility support. These methods should only be called on the 130 // Accessibility support. These methods should only be called on the
129 // top-level document, because one accessibility cache spans all of 131 // top-level document, because one accessibility cache spans all of
130 // the documents on the page. 132 // the documents on the page.
131 133
132 // Gets the accessibility object for this document. 134 // Gets the accessibility object for this document.
133 BLINK_EXPORT WebAXObject accessibilityObject() const; 135 BLINK_EXPORT WebAXObject accessibilityObject() const;
134 136
(...skipping 16 matching lines...) Expand all
151 #if BLINK_IMPLEMENTATION 153 #if BLINK_IMPLEMENTATION
152 WebDocument(const PassRefPtrWillBeRawPtr<Document>&); 154 WebDocument(const PassRefPtrWillBeRawPtr<Document>&);
153 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); 155 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&);
154 operator PassRefPtrWillBeRawPtr<Document>() const; 156 operator PassRefPtrWillBeRawPtr<Document>() const;
155 #endif 157 #endif
156 }; 158 };
157 159
158 } // namespace blink 160 } // namespace blink
159 161
160 #endif 162 #endif
OLDNEW
« Source/core/dom/TreeScopeStyleSheetCollection.h ('K') | « Source/web/tests/WebDocumentTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698