| 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 const base::string16& message, | 333 const base::string16& message, |
| 334 const base::string16& default_prompt, | 334 const base::string16& default_prompt, |
| 335 const GURL& frame_url, | 335 const GURL& frame_url, |
| 336 JavaScriptMessageType type, | 336 JavaScriptMessageType type, |
| 337 IPC::Message* reply_msg) OVERRIDE; | 337 IPC::Message* reply_msg) OVERRIDE; |
| 338 virtual void RunBeforeUnloadConfirm(RenderFrameHost* rfh, | 338 virtual void RunBeforeUnloadConfirm(RenderFrameHost* rfh, |
| 339 const base::string16& message, | 339 const base::string16& message, |
| 340 bool is_reload, | 340 bool is_reload, |
| 341 IPC::Message* reply_msg) OVERRIDE; | 341 IPC::Message* reply_msg) OVERRIDE; |
| 342 virtual WebContents* GetAsWebContents() OVERRIDE; | 342 virtual WebContents* GetAsWebContents() OVERRIDE; |
| 343 virtual bool IsNeverVisible() OVERRIDE; |
| 343 | 344 |
| 344 // RenderViewHostDelegate ---------------------------------------------------- | 345 // RenderViewHostDelegate ---------------------------------------------------- |
| 345 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 346 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; |
| 346 virtual bool OnMessageReceived(RenderViewHost* render_view_host, | 347 virtual bool OnMessageReceived(RenderViewHost* render_view_host, |
| 347 const IPC::Message& message) OVERRIDE; | 348 const IPC::Message& message) OVERRIDE; |
| 348 // RenderFrameHostDelegate has the same method, so list it there because this | 349 // RenderFrameHostDelegate has the same method, so list it there because this |
| 349 // interface is going away. | 350 // interface is going away. |
| 350 // virtual WebContents* GetAsWebContents() OVERRIDE; | 351 // virtual WebContents* GetAsWebContents() OVERRIDE; |
| 351 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 352 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
| 352 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; | 353 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; |
| (...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1087 | 1088 |
| 1088 // Whether the last JavaScript dialog shown was suppressed. Used for testing. | 1089 // Whether the last JavaScript dialog shown was suppressed. Used for testing. |
| 1089 bool last_dialog_suppressed_; | 1090 bool last_dialog_suppressed_; |
| 1090 | 1091 |
| 1091 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1092 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1092 }; | 1093 }; |
| 1093 | 1094 |
| 1094 } // namespace content | 1095 } // namespace content |
| 1095 | 1096 |
| 1096 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1097 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |