| 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 #if defined(OS_ANDROID) | 314 #if defined(OS_ANDROID) |
| 315 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() | 315 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() |
| 316 OVERRIDE; | 316 OVERRIDE; |
| 317 #elif defined(OS_MACOSX) | 317 #elif defined(OS_MACOSX) |
| 318 virtual void SetAllowOverlappingViews(bool overlapping) OVERRIDE; | 318 virtual void SetAllowOverlappingViews(bool overlapping) OVERRIDE; |
| 319 virtual bool GetAllowOverlappingViews() OVERRIDE; | 319 virtual bool GetAllowOverlappingViews() OVERRIDE; |
| 320 virtual void SetOverlayView(WebContents* overlay, | 320 virtual void SetOverlayView(WebContents* overlay, |
| 321 const gfx::Point& offset) OVERRIDE; | 321 const gfx::Point& offset) OVERRIDE; |
| 322 virtual void RemoveOverlayView() OVERRIDE; | 322 virtual void RemoveOverlayView() OVERRIDE; |
| 323 #endif | 323 #endif |
| 324 virtual void InspectWorker(DevToolsAgentHost* agent_host) OVERRIDE; |
| 324 | 325 |
| 325 // Implementation of PageNavigator. | 326 // Implementation of PageNavigator. |
| 326 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; | 327 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; |
| 327 | 328 |
| 328 // Implementation of IPC::Sender. | 329 // Implementation of IPC::Sender. |
| 329 virtual bool Send(IPC::Message* message) OVERRIDE; | 330 virtual bool Send(IPC::Message* message) OVERRIDE; |
| 330 | 331 |
| 331 // RenderFrameHostDelegate --------------------------------------------------- | 332 // RenderFrameHostDelegate --------------------------------------------------- |
| 332 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, | 333 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, |
| 333 const IPC::Message& message) OVERRIDE; | 334 const IPC::Message& message) OVERRIDE; |
| (...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1108 | 1109 |
| 1109 // Whether the last JavaScript dialog shown was suppressed. Used for testing. | 1110 // Whether the last JavaScript dialog shown was suppressed. Used for testing. |
| 1110 bool last_dialog_suppressed_; | 1111 bool last_dialog_suppressed_; |
| 1111 | 1112 |
| 1112 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1113 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1113 }; | 1114 }; |
| 1114 | 1115 |
| 1115 } // namespace content | 1116 } // namespace content |
| 1116 | 1117 |
| 1117 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1118 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |