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

Side by Side Diff: third_party/WebKit/Source/core/frame/RemoteFrameView.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 RemoteFrameView_h 5 #ifndef RemoteFrameView_h
6 #define RemoteFrameView_h 6 #define RemoteFrameView_h
7 7
8 #include "platform/Widget.h" 8 #include "platform/Widget.h"
9 #include "platform/geometry/IntRect.h" 9 #include "platform/geometry/IntRect.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 18 matching lines...) Expand all
29 29
30 void dispose() override; 30 void dispose() override;
31 31
32 // Override to notify remote frame that its viewport size has changed. 32 // Override to notify remote frame that its viewport size has changed.
33 void frameRectsChanged() override; 33 void frameRectsChanged() override;
34 34
35 void invalidateRect(const IntRect&) override; 35 void invalidateRect(const IntRect&) override;
36 36
37 void setFrameRect(const IntRect&) override; 37 void setFrameRect(const IntRect&) override;
38 38
39 void hide() override;
40 void show() override;
41 void setParentVisible(bool) override;
42
39 DECLARE_VIRTUAL_TRACE(); 43 DECLARE_VIRTUAL_TRACE();
40 44
41 private: 45 private:
42 explicit RemoteFrameView(RemoteFrame*); 46 explicit RemoteFrameView(RemoteFrame*);
43 47
44 // The properties and handling of the cycle between RemoteFrame 48 // The properties and handling of the cycle between RemoteFrame
45 // and its RemoteFrameView corresponds to that between LocalFrame 49 // and its RemoteFrameView corresponds to that between LocalFrame
46 // and FrameView. Please see the FrameView::m_frame comment for 50 // and FrameView. Please see the FrameView::m_frame comment for
47 // details. 51 // details.
48 RefPtrWillBeMember<RemoteFrame> m_remoteFrame; 52 RefPtrWillBeMember<RemoteFrame> m_remoteFrame;
49 }; 53 };
50 54
51 DEFINE_TYPE_CASTS(RemoteFrameView, Widget, widget, widget->isRemoteFrameView(), widget.isRemoteFrameView()); 55 DEFINE_TYPE_CASTS(RemoteFrameView, Widget, widget, widget->isRemoteFrameView(), widget.isRemoteFrameView());
52 56
53 } // namespace blink 57 } // namespace blink
54 58
55 #endif // RemoteFrameView_h 59 #endif // RemoteFrameView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrameClient.h ('k') | third_party/WebKit/Source/core/frame/RemoteFrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698