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

Side by Side Diff: third_party/WebKit/public/web/WebRemoteFrameClient.h

Issue 2962573002: Move SetReferrerForRequest method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « third_party/WebKit/public/web/WebLocalFrame.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 WebRemoteFrameClient_h 5 #ifndef WebRemoteFrameClient_h
6 #define WebRemoteFrameClient_h 6 #define WebRemoteFrameClient_h
7 7
8 #include "public/platform/WebFocusType.h" 8 #include "public/platform/WebFocusType.h"
9 #include "public/platform/WebSecurityOrigin.h" 9 #include "public/platform/WebSecurityOrigin.h"
10 #include "public/web/WebDOMMessageEvent.h" 10 #include "public/web/WebDOMMessageEvent.h"
11 #include "public/web/WebFrame.h" 11 #include "public/web/WebFrame.h"
12 12
13 namespace blink { 13 namespace blink {
14 enum class WebClientRedirectPolicy; 14 enum class WebClientRedirectPolicy;
15 enum class WebFrameLoadType; 15 enum class WebFrameLoadType;
16 class WebURLRequest;
16 struct WebRect; 17 struct WebRect;
17 18
18 class WebRemoteFrameClient { 19 class WebRemoteFrameClient {
19 public: 20 public:
20 // Specifies the reason for the detachment. 21 // Specifies the reason for the detachment.
21 enum class DetachType { kRemove, kSwap }; 22 enum class DetachType { kRemove, kSwap };
22 23
23 // Notify the embedder that it should remove this frame from the frame tree 24 // Notify the embedder that it should remove this frame from the frame tree
24 // and release any resources associated with it. 25 // and release any resources associated with it.
25 virtual void FrameDetached(DetachType) {} 26 virtual void FrameDetached(DetachType) {}
(...skipping 27 matching lines...) Expand all
53 // response to <tab>) and encounters a remote frame. 54 // response to <tab>) and encounters a remote frame.
54 virtual void AdvanceFocus(WebFocusType type, WebLocalFrame* source) {} 55 virtual void AdvanceFocus(WebFocusType type, WebLocalFrame* source) {}
55 56
56 // This frame was focused by another frame. 57 // This frame was focused by another frame.
57 virtual void FrameFocused() {} 58 virtual void FrameFocused() {}
58 }; 59 };
59 60
60 } // namespace blink 61 } // namespace blink
61 62
62 #endif // WebRemoteFrameClient_h 63 #endif // WebRemoteFrameClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebLocalFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698