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

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

Issue 2883033003: Propagate inert state to OOPIFs when a modal dialog is active (Closed)
Patch Set: nit addressed Created 3 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 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 20 matching lines...) Expand all
31 bool replace_current_item, 31 bool replace_current_item,
32 UserGestureStatus) override; 32 UserGestureStatus) override;
33 void Navigate(const FrameLoadRequest& passed_request) override; 33 void Navigate(const FrameLoadRequest& passed_request) override;
34 void Reload(FrameLoadType, ClientRedirectPolicy) override; 34 void Reload(FrameLoadType, ClientRedirectPolicy) override;
35 void Detach(FrameDetachType) override; 35 void Detach(FrameDetachType) override;
36 RemoteSecurityContext* GetSecurityContext() const override; 36 RemoteSecurityContext* GetSecurityContext() const override;
37 void PrintNavigationErrorMessage(const Frame&, const char* reason) override {} 37 void PrintNavigationErrorMessage(const Frame&, const char* reason) override {}
38 void PrintNavigationWarning(const String&) override {} 38 void PrintNavigationWarning(const String&) override {}
39 bool PrepareForCommit() override; 39 bool PrepareForCommit() override;
40 bool ShouldClose() override; 40 bool ShouldClose() override;
41 void SetIsInert(bool) override;
41 42
42 void SetWebLayer(WebLayer*); 43 void SetWebLayer(WebLayer*);
43 WebLayer* GetWebLayer() const { return web_layer_; } 44 WebLayer* GetWebLayer() const { return web_layer_; }
44 45
45 void AdvanceFocus(WebFocusType, LocalFrame* source); 46 void AdvanceFocus(WebFocusType, LocalFrame* source);
46 47
47 void SetView(RemoteFrameView*); 48 void SetView(RemoteFrameView*);
48 void CreateView(); 49 void CreateView();
49 50
50 RemoteFrameView* View() const override; 51 RemoteFrameView* View() const override;
(...skipping 21 matching lines...) Expand all
72 73
73 DEFINE_TYPE_CASTS(RemoteFrame, 74 DEFINE_TYPE_CASTS(RemoteFrame,
74 Frame, 75 Frame,
75 remoteFrame, 76 remoteFrame,
76 remoteFrame->IsRemoteFrame(), 77 remoteFrame->IsRemoteFrame(),
77 remoteFrame.IsRemoteFrame()); 78 remoteFrame.IsRemoteFrame());
78 79
79 } // namespace blink 80 } // namespace blink
80 81
81 #endif // RemoteFrame_h 82 #endif // RemoteFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698