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

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

Issue 2445193005: Route setHasReceivedUserGesture() state for RemoteFrames (Closed)
Patch Set: Created 4 years, 1 month 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 25 matching lines...) Expand all
36 const KURL&, 36 const KURL&,
37 bool replaceCurrentItem, 37 bool replaceCurrentItem,
38 UserGestureStatus) override; 38 UserGestureStatus) override;
39 void navigate(const FrameLoadRequest& passedRequest) override; 39 void navigate(const FrameLoadRequest& passedRequest) override;
40 void reload(FrameLoadType, ClientRedirectPolicy) override; 40 void reload(FrameLoadType, ClientRedirectPolicy) override;
41 void detach(FrameDetachType) override; 41 void detach(FrameDetachType) override;
42 RemoteSecurityContext* securityContext() const override; 42 RemoteSecurityContext* securityContext() const override;
43 void printNavigationErrorMessage(const Frame&, const char* reason) override {} 43 void printNavigationErrorMessage(const Frame&, const char* reason) override {}
44 bool prepareForCommit() override; 44 bool prepareForCommit() override;
45 bool shouldClose() override; 45 bool shouldClose() override;
46 void setDocumentHasReceivedUserGesture() override;
46 47
47 // FIXME: Remove this method once we have input routing in the browser 48 // FIXME: Remove this method once we have input routing in the browser
48 // process. See http://crbug.com/339659. 49 // process. See http://crbug.com/339659.
49 void forwardInputEvent(Event*); 50 void forwardInputEvent(Event*);
50 51
51 void frameRectsChanged(const IntRect& frameRect); 52 void frameRectsChanged(const IntRect& frameRect);
52 53
53 void visibilityChanged(bool visible); 54 void visibilityChanged(bool visible);
54 55
55 void setRemotePlatformLayer(WebLayer*); 56 void setRemotePlatformLayer(WebLayer*);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 92
92 DEFINE_TYPE_CASTS(RemoteFrame, 93 DEFINE_TYPE_CASTS(RemoteFrame,
93 Frame, 94 Frame,
94 remoteFrame, 95 remoteFrame,
95 remoteFrame->isRemoteFrame(), 96 remoteFrame->isRemoteFrame(),
96 remoteFrame.isRemoteFrame()); 97 remoteFrame.isRemoteFrame());
97 98
98 } // namespace blink 99 } // namespace blink
99 100
100 #endif // RemoteFrame_h 101 #endif // RemoteFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698