OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; | 321 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; |
322 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) OVERRIDE; | 322 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) OVERRIDE; |
323 virtual void DidStartLoading(RenderFrameHost* render_frame_host, | 323 virtual void DidStartLoading(RenderFrameHost* render_frame_host, |
324 bool to_different_document) OVERRIDE; | 324 bool to_different_document) OVERRIDE; |
325 virtual void DidStopLoading(RenderFrameHost* render_frame_host) OVERRIDE; | 325 virtual void DidStopLoading(RenderFrameHost* render_frame_host) OVERRIDE; |
326 virtual void SwappedOut(RenderFrameHost* render_frame_host) OVERRIDE; | 326 virtual void SwappedOut(RenderFrameHost* render_frame_host) OVERRIDE; |
327 virtual void WorkerCrashed(RenderFrameHost* render_frame_host) OVERRIDE; | 327 virtual void WorkerCrashed(RenderFrameHost* render_frame_host) OVERRIDE; |
328 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, | 328 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, |
329 const ContextMenuParams& params) OVERRIDE; | 329 const ContextMenuParams& params) OVERRIDE; |
330 virtual WebContents* GetAsWebContents() OVERRIDE; | 330 virtual WebContents* GetAsWebContents() OVERRIDE; |
| 331 virtual bool IsNeverVisible() OVERRIDE; |
331 | 332 |
332 // RenderViewHostDelegate ---------------------------------------------------- | 333 // RenderViewHostDelegate ---------------------------------------------------- |
333 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 334 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; |
334 virtual bool OnMessageReceived(RenderViewHost* render_view_host, | 335 virtual bool OnMessageReceived(RenderViewHost* render_view_host, |
335 const IPC::Message& message) OVERRIDE; | 336 const IPC::Message& message) OVERRIDE; |
336 // RenderFrameHostDelegate has the same method, so list it there because this | 337 // RenderFrameHostDelegate has the same method, so list it there because this |
337 // interface is going away. | 338 // interface is going away. |
338 // virtual WebContents* GetAsWebContents() OVERRIDE; | 339 // virtual WebContents* GetAsWebContents() OVERRIDE; |
339 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 340 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
340 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; | 341 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1068 // Whether this WebContents is responsible for displaying a subframe in a | 1069 // Whether this WebContents is responsible for displaying a subframe in a |
1069 // different process from its parent page. | 1070 // different process from its parent page. |
1070 bool is_subframe_; | 1071 bool is_subframe_; |
1071 | 1072 |
1072 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1073 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
1073 }; | 1074 }; |
1074 | 1075 |
1075 } // namespace content | 1076 } // namespace content |
1076 | 1077 |
1077 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1078 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |