| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 int64 source_frame_id, | 327 int64 source_frame_id, |
| 328 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; | 328 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; |
| 329 virtual void RouteCloseEvent(content::RenderViewHost* rvh) OVERRIDE; | 329 virtual void RouteCloseEvent(content::RenderViewHost* rvh) OVERRIDE; |
| 330 virtual void RouteMessageEvent( | 330 virtual void RouteMessageEvent( |
| 331 content::RenderViewHost* rvh, | 331 content::RenderViewHost* rvh, |
| 332 const ViewMsg_PostMessage_Params& params) OVERRIDE; | 332 const ViewMsg_PostMessage_Params& params) OVERRIDE; |
| 333 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, | 333 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, |
| 334 const string16& message, | 334 const string16& message, |
| 335 const string16& default_prompt, | 335 const string16& default_prompt, |
| 336 const GURL& frame_url, | 336 const GURL& frame_url, |
| 337 ui::JavascriptMessageType type, | 337 content::JavaScriptMessageType type, |
| 338 IPC::Message* reply_msg, | 338 IPC::Message* reply_msg, |
| 339 bool* did_suppress_message) OVERRIDE; | 339 bool* did_suppress_message) OVERRIDE; |
| 340 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, | 340 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, |
| 341 const string16& message, | 341 const string16& message, |
| 342 bool is_reload, | 342 bool is_reload, |
| 343 IPC::Message* reply_msg) OVERRIDE; | 343 IPC::Message* reply_msg) OVERRIDE; |
| 344 virtual content::RendererPreferences GetRendererPrefs( | 344 virtual content::RendererPreferences GetRendererPrefs( |
| 345 content::BrowserContext* browser_context) const OVERRIDE; | 345 content::BrowserContext* browser_context) const OVERRIDE; |
| 346 virtual webkit_glue::WebPreferences GetWebkitPrefs() OVERRIDE; | 346 virtual webkit_glue::WebPreferences GetWebkitPrefs() OVERRIDE; |
| 347 virtual void OnUserGesture() OVERRIDE; | 347 virtual void OnUserGesture() OVERRIDE; |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 content::ColorChooser* color_chooser_; | 789 content::ColorChooser* color_chooser_; |
| 790 | 790 |
| 791 // This must be at the end, or else we might get notifications and use other | 791 // This must be at the end, or else we might get notifications and use other |
| 792 // member variables that are gone. | 792 // member variables that are gone. |
| 793 content::NotificationRegistrar registrar_; | 793 content::NotificationRegistrar registrar_; |
| 794 | 794 |
| 795 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 795 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 796 }; | 796 }; |
| 797 | 797 |
| 798 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 798 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |