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

Side by Side Diff: third_party/WebKit/Source/core/frame/RemoteFrame.h

Issue 1414663011: Notifying the Out of Process Renderer about Visibility Change of a Remote Frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed the Call to WebRemoteFrameImpl::close() and WebViewHelper::reset() in the Destructor of the … Created 4 years, 11 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 RemoteFrame_h 5 #ifndef RemoteFrame_h
6 #define RemoteFrame_h 6 #define RemoteFrame_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/dom/RemoteSecurityContext.h" 9 #include "core/dom/RemoteSecurityContext.h"
10 #include "core/frame/Frame.h" 10 #include "core/frame/Frame.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 void disconnectOwnerElement() override; 42 void disconnectOwnerElement() override;
43 bool prepareForCommit() override; 43 bool prepareForCommit() override;
44 bool shouldClose() override; 44 bool shouldClose() override;
45 45
46 // FIXME: Remove this method once we have input routing in the browser 46 // FIXME: Remove this method once we have input routing in the browser
47 // process. See http://crbug.com/339659. 47 // process. See http://crbug.com/339659.
48 void forwardInputEvent(Event*); 48 void forwardInputEvent(Event*);
49 49
50 void frameRectsChanged(const IntRect& frameRect); 50 void frameRectsChanged(const IntRect& frameRect);
51 51
52 void visibilityChanged(bool visible);
53
52 void setRemotePlatformLayer(WebLayer*); 54 void setRemotePlatformLayer(WebLayer*);
53 WebLayer* remotePlatformLayer() const { return m_remotePlatformLayer; } 55 WebLayer* remotePlatformLayer() const { return m_remotePlatformLayer; }
54 56
55 void advanceFocus(WebFocusType, LocalFrame* source); 57 void advanceFocus(WebFocusType, LocalFrame* source);
56 58
57 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>); 59 void setView(PassRefPtrWillBeRawPtr<RemoteFrameView>);
58 void createView(); 60 void createView();
59 61
60 RemoteFrameView* view() const; 62 RemoteFrameView* view() const;
61 63
(...skipping 15 matching lines...) Expand all
77 inline RemoteFrameView* RemoteFrame::view() const 79 inline RemoteFrameView* RemoteFrame::view() const
78 { 80 {
79 return m_view.get(); 81 return m_view.get();
80 } 82 }
81 83
82 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame()); 84 DEFINE_TYPE_CASTS(RemoteFrame, Frame, remoteFrame, remoteFrame->isRemoteFrame(), remoteFrame.isRemoteFrame());
83 85
84 } // namespace blink 86 } // namespace blink
85 87
86 #endif // RemoteFrame_h 88 #endif // RemoteFrame_h
OLDNEW
« no previous file with comments | « content/renderer/render_frame_proxy.cc ('k') | third_party/WebKit/Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698