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

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

Issue 715653004: Navigation transitions (web to native app): Hide/Show transition elements (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add helper function Created 6 years, 1 month 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
« Source/web/WebDocument.cpp ('K') | « Source/web/WebDocument.cpp ('k') | no next file » | 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) 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 beginExitTransition(const WebString& cssSelector); 123 BLINK_EXPORT void beginExitTransition(const WebString& cssSelector);
124 BLINK_EXPORT void hideTransitionElements(const WebString& cssSelector);
125 BLINK_EXPORT void showTransitionElements(const WebString& cssSelector);
124 126
125 // Accessibility support. These methods should only be called on the 127 // Accessibility support. These methods should only be called on the
126 // top-level document, because one accessibility cache spans all of 128 // top-level document, because one accessibility cache spans all of
127 // the documents on the page. 129 // the documents on the page.
128 130
129 // Gets the accessibility object for this document. 131 // Gets the accessibility object for this document.
130 BLINK_EXPORT WebAXObject accessibilityObject() const; 132 BLINK_EXPORT WebAXObject accessibilityObject() const;
131 133
132 // Gets the accessibility object for an object on this page by ID. 134 // Gets the accessibility object for an object on this page by ID.
133 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const; 135 BLINK_EXPORT WebAXObject accessibilityObjectFromID(int axID) const;
(...skipping 14 matching lines...) Expand all
148 #if BLINK_IMPLEMENTATION 150 #if BLINK_IMPLEMENTATION
149 WebDocument(const PassRefPtrWillBeRawPtr<Document>&); 151 WebDocument(const PassRefPtrWillBeRawPtr<Document>&);
150 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&); 152 WebDocument& operator=(const PassRefPtrWillBeRawPtr<Document>&);
151 operator PassRefPtrWillBeRawPtr<Document>() const; 153 operator PassRefPtrWillBeRawPtr<Document>() const;
152 #endif 154 #endif
153 }; 155 };
154 156
155 } // namespace blink 157 } // namespace blink
156 158
157 #endif 159 #endif
OLDNEW
« Source/web/WebDocument.cpp ('K') | « Source/web/WebDocument.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698