OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 28 matching lines...) Expand all Loading... |
39 namespace content { | 39 namespace content { |
40 class FrameTreeNode; | 40 class FrameTreeNode; |
41 class InterstitialPage; | 41 class InterstitialPage; |
42 class PageState; | 42 class PageState; |
43 class RenderFrameHost; | 43 class RenderFrameHost; |
44 class WebContents; | 44 class WebContents; |
45 struct AXEventNotificationDetails; | 45 struct AXEventNotificationDetails; |
46 struct AXLocationChangeNotificationDetails; | 46 struct AXLocationChangeNotificationDetails; |
47 struct ContextMenuParams; | 47 struct ContextMenuParams; |
48 struct FileChooserParams; | 48 struct FileChooserParams; |
49 struct TransitionLayerData; | |
50 | 49 |
51 // An interface implemented by an object interested in knowing about the state | 50 // An interface implemented by an object interested in knowing about the state |
52 // of the RenderFrameHost. | 51 // of the RenderFrameHost. |
53 class CONTENT_EXPORT RenderFrameHostDelegate { | 52 class CONTENT_EXPORT RenderFrameHostDelegate { |
54 public: | 53 public: |
55 // This is used to give the delegate a chance to filter IPC messages. | 54 // This is used to give the delegate a chance to filter IPC messages. |
56 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, | 55 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, |
57 const IPC::Message& message); | 56 const IPC::Message& message); |
58 | 57 |
59 // Allows the delegate to filter incoming associated inteface requests. | 58 // Allows the delegate to filter incoming associated inteface requests. |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( | 207 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( |
209 const GURL& url); | 208 const GURL& url); |
210 | 209 |
211 protected: | 210 protected: |
212 virtual ~RenderFrameHostDelegate() {} | 211 virtual ~RenderFrameHostDelegate() {} |
213 }; | 212 }; |
214 | 213 |
215 } // namespace content | 214 } // namespace content |
216 | 215 |
217 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 216 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
OLD | NEW |