| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 // Creates a WebUI object for a frame navigating to |url|. If no WebUI | 176 // Creates a WebUI object for a frame navigating to |url|. If no WebUI |
| 177 // applies, returns null. | 177 // applies, returns null. |
| 178 virtual scoped_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(const GURL& url); | 178 virtual scoped_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(const GURL& url); |
| 179 | 179 |
| 180 #if defined(OS_WIN) | 180 #if defined(OS_WIN) |
| 181 // Returns the frame's parent's NativeViewAccessible. | 181 // Returns the frame's parent's NativeViewAccessible. |
| 182 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); | 182 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
| 183 #endif | 183 #endif |
| 184 | 184 |
| 185 protected: | 185 protected: |
| 186 RenderFrameHostDelegate() = default; |
| 186 virtual ~RenderFrameHostDelegate() {} | 187 virtual ~RenderFrameHostDelegate() {} |
| 187 }; | 188 }; |
| 188 | 189 |
| 189 } // namespace content | 190 } // namespace content |
| 190 | 191 |
| 191 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 192 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
| OLD | NEW |