| 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_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_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 bool ShouldIgnoreNavigation(const GURL& url, |
| 296 const content::Referrer& referrer, |
| 297 WindowOpenDisposition disposition, |
| 298 int64 source_frame_id, |
| 299 bool is_content_initiated) OVERRIDE; |
| 295 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, | 300 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, |
| 296 const string16& message, | 301 const string16& message, |
| 297 const string16& default_prompt, | 302 const string16& default_prompt, |
| 298 const GURL& frame_url, | 303 const GURL& frame_url, |
| 299 ui::JavascriptMessageType type, | 304 ui::JavascriptMessageType type, |
| 300 IPC::Message* reply_msg, | 305 IPC::Message* reply_msg, |
| 301 bool* did_suppress_message) OVERRIDE; | 306 bool* did_suppress_message) OVERRIDE; |
| 302 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, | 307 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, |
| 303 const string16& message, | 308 const string16& message, |
| 304 bool is_reload, | 309 bool is_reload, |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 689 | 694 |
| 690 // Color chooser that was opened by this tab. | 695 // Color chooser that was opened by this tab. |
| 691 content::ColorChooser* color_chooser_; | 696 content::ColorChooser* color_chooser_; |
| 692 | 697 |
| 693 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 698 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 694 }; | 699 }; |
| 695 | 700 |
| 696 typedef class WebContentsImpl TabContents; | 701 typedef class WebContentsImpl TabContents; |
| 697 | 702 |
| 698 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 703 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |