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

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

Issue 316053007: Navigation transitions: Added notifyTransitionsShown and setupTransitionsView to WebLocalFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review fixes Created 6 years, 6 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebLocalFrame_h 5 #ifndef WebLocalFrame_h
6 #define WebLocalFrame_h 6 #define WebLocalFrame_h
7 7
8 #include "WebFrame.h" 8 #include "WebFrame.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 13 matching lines...) Expand all
24 BLINK_EXPORT static WebLocalFrame* frameForCurrentContext(); 24 BLINK_EXPORT static WebLocalFrame* frameForCurrentContext();
25 25
26 // Returns the frame corresponding to the given context. This can return 0 26 // Returns the frame corresponding to the given context. This can return 0
27 // if the context is detached from the frame, or if the context doesn't 27 // if the context is detached from the frame, or if the context doesn't
28 // correspond to a frame (e.g., workers). 28 // correspond to a frame (e.g., workers).
29 BLINK_EXPORT static WebLocalFrame* frameForContext(v8::Handle<v8::Context>); 29 BLINK_EXPORT static WebLocalFrame* frameForContext(v8::Handle<v8::Context>);
30 30
31 // Returns the frame inside a given frame or iframe element. Returns 0 if 31 // Returns the frame inside a given frame or iframe element. Returns 0 if
32 // the given element is not a frame, iframe or if the frame is empty. 32 // the given element is not a frame, iframe or if the frame is empty.
33 BLINK_EXPORT static WebLocalFrame* fromFrameOwnerElement(const WebElement&); 33 BLINK_EXPORT static WebLocalFrame* fromFrameOwnerElement(const WebElement&);
34
35 virtual void notifyTransitionShown(int elementsToHide) = 0;
abarth-chromium 2014/06/21 05:38:36 didShowTransition ? Is the WebLocalFrame being no
36 virtual void setupTransitionView(const WebData& markup) = 0;
abarth-chromium 2014/06/21 05:38:36 What does it meant to setup a transition view? Is
oystein (OOO til 10th of July) 2014/07/22 21:17:21 Done.
34 }; 37 };
35 38
36 } // namespace blink 39 } // namespace blink
37 40
38 #endif // WebLocalFrame_h 41 #endif // WebLocalFrame_h
OLDNEW
« Source/web/WebLocalFrameImpl.cpp ('K') | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698