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

Unified 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: add tests 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 side-by-side diff with in-line comments
Download patch
« Source/web/WebDocument.cpp ('K') | « Source/web/WebDocument.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebDocument.h
diff --git a/public/web/WebDocument.h b/public/web/WebDocument.h
index 89f55498ddb210ccf59d28fb1252468183ec245e..2bf98b45a98eda7359f0c3d24398e24bd57a6b4a 100644
--- a/public/web/WebDocument.h
+++ b/public/web/WebDocument.h
@@ -121,6 +121,10 @@ public:
BLINK_EXPORT WebSize maximumScrollOffset() const;
BLINK_EXPORT void setIsTransitionDocument();
BLINK_EXPORT void beginExitTransition(const WebString& cssSelector);
+ BLINK_EXPORT void beginExitTransition(const WebString& cssSelector, const bool exitToActivity);
esprehn 2014/10/15 18:01:26 const bool doesn't make any sense, also lets just
Zhen Wang 2014/10/15 19:50:58 Why not const bool? Are we encouraged to use defa
esprehn 2014/10/15 20:19:07 Default values are fine in blink, and const bool a
Zhen Wang 2014/10/15 23:04:41 The const here has nothing to do with the caller.
+ BLINK_EXPORT void revertExitTransition();
+ BLINK_EXPORT void onTransitionElementOpacity(
esprehn 2014/10/15 18:01:26 This seems like a super weird thing to expose. I d
Zhen Wang 2014/10/15 19:50:58 The renderer side will call this function to hide/
esprehn 2014/10/15 20:19:07 It's not an okay API to expose.
Zhen Wang 2014/10/15 23:04:41 What API shall I use so that the renderer can call
+ const WebString& cssSelector, const double opacity);
esprehn 2014/10/15 18:01:26 no const double
Zhen Wang 2014/10/15 19:50:58 Why not?
esprehn 2014/10/15 20:19:07 You're passing by value, it doesn't make sense. Wh
Zhen Wang 2014/10/15 23:04:41 ditto
// Accessibility support. These methods should only be called on the
// top-level document, because one accessibility cache spans all of
« 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