| 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 15 matching lines...) Expand all Loading... |
| 26 #include "content/common/content_export.h" | 26 #include "content/common/content_export.h" |
| 27 #include "content/public/browser/color_chooser.h" | 27 #include "content/public/browser/color_chooser.h" |
| 28 #include "content/public/browser/notification_observer.h" | 28 #include "content/public/browser/notification_observer.h" |
| 29 #include "content/public/browser/notification_registrar.h" | 29 #include "content/public/browser/notification_registrar.h" |
| 30 #include "content/public/browser/web_contents.h" | 30 #include "content/public/browser/web_contents.h" |
| 31 #include "content/public/common/page_transition_types.h" | 31 #include "content/public/common/page_transition_types.h" |
| 32 #include "content/public/common/renderer_preferences.h" | 32 #include "content/public/common/renderer_preferences.h" |
| 33 #include "content/public/common/resource_type.h" | 33 #include "content/public/common/resource_type.h" |
| 34 #include "content/public/common/three_d_api_types.h" | 34 #include "content/public/common/three_d_api_types.h" |
| 35 #include "net/base/load_states.h" | 35 #include "net/base/load_states.h" |
| 36 #include "net/http/http_response_headers.h" |
| 36 #include "third_party/WebKit/public/web/WebDragOperation.h" | 37 #include "third_party/WebKit/public/web/WebDragOperation.h" |
| 37 #include "ui/gfx/rect_f.h" | 38 #include "ui/gfx/rect_f.h" |
| 38 #include "ui/gfx/size.h" | 39 #include "ui/gfx/size.h" |
| 39 | 40 |
| 40 struct BrowserPluginHostMsg_ResizeGuest_Params; | 41 struct BrowserPluginHostMsg_ResizeGuest_Params; |
| 41 struct ViewHostMsg_DateTimeDialogValue_Params; | 42 struct ViewHostMsg_DateTimeDialogValue_Params; |
| 42 struct ViewMsg_PostMessage_Params; | 43 struct ViewMsg_PostMessage_Params; |
| 43 | 44 |
| 44 namespace content { | 45 namespace content { |
| 45 class BrowserPluginEmbedder; | 46 class BrowserPluginEmbedder; |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 | 322 |
| 322 // RenderFrameHostDelegate --------------------------------------------------- | 323 // RenderFrameHostDelegate --------------------------------------------------- |
| 323 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, | 324 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, |
| 324 const IPC::Message& message) OVERRIDE; | 325 const IPC::Message& message) OVERRIDE; |
| 325 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; | 326 virtual const GURL& GetMainFrameLastCommittedURL() const OVERRIDE; |
| 326 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; | 327 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE; |
| 327 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) OVERRIDE; | 328 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) OVERRIDE; |
| 328 virtual void DidStartLoading(RenderFrameHost* render_frame_host, | 329 virtual void DidStartLoading(RenderFrameHost* render_frame_host, |
| 329 bool to_different_document) OVERRIDE; | 330 bool to_different_document) OVERRIDE; |
| 330 virtual void SwappedOut(RenderFrameHost* render_frame_host) OVERRIDE; | 331 virtual void SwappedOut(RenderFrameHost* render_frame_host) OVERRIDE; |
| 331 virtual void DidDeferAfterResponseStarted() OVERRIDE; | 332 virtual void DidDeferAfterResponseStarted( |
| 333 const scoped_refptr<net::HttpResponseHeaders>& headers, |
| 334 const GURL& url) OVERRIDE; |
| 332 virtual bool WillHandleDeferAfterResponseStarted() OVERRIDE; | 335 virtual bool WillHandleDeferAfterResponseStarted() OVERRIDE; |
| 333 virtual void WorkerCrashed(RenderFrameHost* render_frame_host) OVERRIDE; | 336 virtual void WorkerCrashed(RenderFrameHost* render_frame_host) OVERRIDE; |
| 334 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, | 337 virtual void ShowContextMenu(RenderFrameHost* render_frame_host, |
| 335 const ContextMenuParams& params) OVERRIDE; | 338 const ContextMenuParams& params) OVERRIDE; |
| 336 virtual void RunJavaScriptMessage(RenderFrameHost* render_frame_host, | 339 virtual void RunJavaScriptMessage(RenderFrameHost* render_frame_host, |
| 337 const base::string16& message, | 340 const base::string16& message, |
| 338 const base::string16& default_prompt, | 341 const base::string16& default_prompt, |
| 339 const GURL& frame_url, | 342 const GURL& frame_url, |
| 340 JavaScriptMessageType type, | 343 JavaScriptMessageType type, |
| 341 IPC::Message* reply_msg) OVERRIDE; | 344 IPC::Message* reply_msg) OVERRIDE; |
| (...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1153 | 1156 |
| 1154 scoped_ptr<ScreenOrientationDispatcherHost> | 1157 scoped_ptr<ScreenOrientationDispatcherHost> |
| 1155 screen_orientation_dispatcher_host_; | 1158 screen_orientation_dispatcher_host_; |
| 1156 | 1159 |
| 1157 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1160 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1158 }; | 1161 }; |
| 1159 | 1162 |
| 1160 } // namespace content | 1163 } // namespace content |
| 1161 | 1164 |
| 1162 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1165 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |