| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 virtual void RequestOpenURL(const GURL& url, | 285 virtual void RequestOpenURL(const GURL& url, |
| 286 const content::Referrer& referrer, | 286 const content::Referrer& referrer, |
| 287 WindowOpenDisposition disposition, | 287 WindowOpenDisposition disposition, |
| 288 int64 source_frame_id) OVERRIDE; | 288 int64 source_frame_id) OVERRIDE; |
| 289 virtual void RequestTransferURL( | 289 virtual void RequestTransferURL( |
| 290 const GURL& url, | 290 const GURL& url, |
| 291 const content::Referrer& referrer, | 291 const content::Referrer& referrer, |
| 292 WindowOpenDisposition disposition, | 292 WindowOpenDisposition disposition, |
| 293 int64 source_frame_id, | 293 int64 source_frame_id, |
| 294 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; | 294 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; |
| 295 virtual void RouteCloseEvent(content::RenderViewHost* rvh) OVERRIDE; |
| 295 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, | 296 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, |
| 296 const string16& message, | 297 const string16& message, |
| 297 const string16& default_prompt, | 298 const string16& default_prompt, |
| 298 const GURL& frame_url, | 299 const GURL& frame_url, |
| 299 ui::JavascriptMessageType type, | 300 ui::JavascriptMessageType type, |
| 300 IPC::Message* reply_msg, | 301 IPC::Message* reply_msg, |
| 301 bool* did_suppress_message) OVERRIDE; | 302 bool* did_suppress_message) OVERRIDE; |
| 302 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, | 303 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, |
| 303 const string16& message, | 304 const string16& message, |
| 304 bool is_reload, | 305 bool is_reload, |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 // Our view type. Default is VIEW_TYPE_WEB_CONTENTS. | 699 // Our view type. Default is VIEW_TYPE_WEB_CONTENTS. |
| 699 content::ViewType view_type_; | 700 content::ViewType view_type_; |
| 700 | 701 |
| 701 // Color chooser that was opened by this tab. | 702 // Color chooser that was opened by this tab. |
| 702 content::ColorChooser* color_chooser_; | 703 content::ColorChooser* color_chooser_; |
| 703 | 704 |
| 704 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 705 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 705 }; | 706 }; |
| 706 | 707 |
| 707 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 708 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |