| 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 virtual void RequestOpenURL(const GURL& url, | 279 virtual void RequestOpenURL(const GURL& url, |
| 280 const content::Referrer& referrer, | 280 const content::Referrer& referrer, |
| 281 WindowOpenDisposition disposition, | 281 WindowOpenDisposition disposition, |
| 282 int64 source_frame_id) OVERRIDE; | 282 int64 source_frame_id) OVERRIDE; |
| 283 virtual void RequestTransferURL( | 283 virtual void RequestTransferURL( |
| 284 const GURL& url, | 284 const GURL& url, |
| 285 const content::Referrer& referrer, | 285 const content::Referrer& referrer, |
| 286 WindowOpenDisposition disposition, | 286 WindowOpenDisposition disposition, |
| 287 int64 source_frame_id, | 287 int64 source_frame_id, |
| 288 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; | 288 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; |
| 289 virtual bool ShouldIgnoreNavigation(const GURL& url, |
| 290 const content::Referrer& referrer, |
| 291 WindowOpenDisposition disposition, |
| 292 int64 source_frame_id, |
| 293 bool is_content_initiated) OVERRIDE; |
| 289 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, | 294 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, |
| 290 const string16& message, | 295 const string16& message, |
| 291 const string16& default_prompt, | 296 const string16& default_prompt, |
| 292 const GURL& frame_url, | 297 const GURL& frame_url, |
| 293 ui::JavascriptMessageType type, | 298 ui::JavascriptMessageType type, |
| 294 IPC::Message* reply_msg, | 299 IPC::Message* reply_msg, |
| 295 bool* did_suppress_message) OVERRIDE; | 300 bool* did_suppress_message) OVERRIDE; |
| 296 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, | 301 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, |
| 297 const string16& message, | 302 const string16& message, |
| 298 bool is_reload, | 303 bool is_reload, |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 // Is there an opener associated with this? | 684 // Is there an opener associated with this? |
| 680 bool has_opener_; | 685 bool has_opener_; |
| 681 | 686 |
| 682 // Color chooser that was opened by this tab. | 687 // Color chooser that was opened by this tab. |
| 683 content::ColorChooser* color_chooser_; | 688 content::ColorChooser* color_chooser_; |
| 684 | 689 |
| 685 DISALLOW_COPY_AND_ASSIGN(TabContents); | 690 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 686 }; | 691 }; |
| 687 | 692 |
| 688 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 693 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |