Chromium Code Reviews| 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 306 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() | 306 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() |
| 307 OVERRIDE; | 307 OVERRIDE; |
| 308 #elif defined(OS_MACOSX) | 308 #elif defined(OS_MACOSX) |
| 309 virtual void SetAllowOverlappingViews(bool overlapping) OVERRIDE; | 309 virtual void SetAllowOverlappingViews(bool overlapping) OVERRIDE; |
| 310 virtual bool GetAllowOverlappingViews() OVERRIDE; | 310 virtual bool GetAllowOverlappingViews() OVERRIDE; |
| 311 virtual void SetOverlayView(WebContents* overlay, | 311 virtual void SetOverlayView(WebContents* overlay, |
| 312 const gfx::Point& offset) OVERRIDE; | 312 const gfx::Point& offset) OVERRIDE; |
| 313 virtual void RemoveOverlayView() OVERRIDE; | 313 virtual void RemoveOverlayView() OVERRIDE; |
| 314 #endif | 314 #endif |
| 315 | 315 |
| 316 // Notifies the main frame that it can continue navigation (if it was deferred | |
| 317 // immediately at first response). | |
| 318 virtual void ResumeResponseDeferredAtStart() OVERRIDE; | |
| 319 | |
|
nasko
2014/05/28 22:59:00
nit: extra blank line
shatch
2014/05/29 21:41:22
Done.
| |
| 320 | |
| 316 // Implementation of PageNavigator. | 321 // Implementation of PageNavigator. |
| 317 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; | 322 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; |
| 318 | 323 |
| 319 // Implementation of IPC::Sender. | 324 // Implementation of IPC::Sender. |
| 320 virtual bool Send(IPC::Message* message) OVERRIDE; | 325 virtual bool Send(IPC::Message* message) OVERRIDE; |
| 321 | 326 |
| 322 // RenderFrameHostDelegate --------------------------------------------------- | 327 // RenderFrameHostDelegate --------------------------------------------------- |
| 323 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, | 328 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, |
| 324 const IPC::Message& message) OVERRIDE; | 329 const IPC::Message& message) OVERRIDE; |
| 325 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; | 330 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; |
| 326 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; | 331 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; |
| 327 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) OVERRIDE; | 332 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) OVERRIDE; |
| 328 virtual void DidStartLoading(RenderFrameHost* render_frame_host, | 333 virtual void DidStartLoading(RenderFrameHost* render_frame_host, |
| 329 bool to_different_document) OVERRIDE; | 334 bool to_different_document) OVERRIDE; |
| 330 virtual void SwappedOut(RenderFrameHost* render_frame_host) OVERRIDE; | 335 virtual void SwappedOut(RenderFrameHost* render_frame_host) OVERRIDE; |
| 336 virtual void DidDeferAfterResponseStarted() OVERRIDE; | |
| 331 virtual void WorkerCrashed(RenderFrameHost* render_frame_host) OVERRIDE; | 337 virtual void WorkerCrashed(RenderFrameHost* render_frame_host) OVERRIDE; |
| 332 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, | 338 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, |
| 333 const ContextMenuParams& params) OVERRIDE; | 339 const ContextMenuParams& params) OVERRIDE; |
| 334 virtual void RunJavaScriptMessage(RenderFrameHost* render_frame_host, | 340 virtual void RunJavaScriptMessage(RenderFrameHost* render_frame_host, |
| 335 const base::string16& message, | 341 const base::string16& message, |
| 336 const base::string16& default_prompt, | 342 const base::string16& default_prompt, |
| 337 const GURL& frame_url, | 343 const GURL& frame_url, |
| 338 JavaScriptMessageType type, | 344 JavaScriptMessageType type, |
| 339 IPC::Message* reply_msg) OVERRIDE; | 345 IPC::Message* reply_msg) OVERRIDE; |
| 340 virtual void RunBeforeUnloadConfirm(RenderFrameHost* render_frame_host, | 346 virtual void RunBeforeUnloadConfirm(RenderFrameHost* render_frame_host, |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1129 bool last_dialog_suppressed_; | 1135 bool last_dialog_suppressed_; |
| 1130 | 1136 |
| 1131 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 1137 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; |
| 1132 | 1138 |
| 1133 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1139 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1134 }; | 1140 }; |
| 1135 | 1141 |
| 1136 } // namespace content | 1142 } // namespace content |
| 1137 | 1143 |
| 1138 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1144 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |