| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 virtual void RequestTransferURL( | 516 virtual void RequestTransferURL( |
| 517 const GURL& url, | 517 const GURL& url, |
| 518 const content::Referrer& referrer, | 518 const content::Referrer& referrer, |
| 519 WindowOpenDisposition disposition, | 519 WindowOpenDisposition disposition, |
| 520 int64 source_frame_id, | 520 int64 source_frame_id, |
| 521 const GlobalRequestID& transferred_global_request_id) OVERRIDE; | 521 const GlobalRequestID& transferred_global_request_id) OVERRIDE; |
| 522 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, | 522 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, |
| 523 const string16& message, | 523 const string16& message, |
| 524 const string16& default_prompt, | 524 const string16& default_prompt, |
| 525 const GURL& frame_url, | 525 const GURL& frame_url, |
| 526 const int flags, | 526 ui::JavascriptMessageType type, |
| 527 IPC::Message* reply_msg, | 527 IPC::Message* reply_msg, |
| 528 bool* did_suppress_message) OVERRIDE; | 528 bool* did_suppress_message) OVERRIDE; |
| 529 virtual void RunBeforeUnloadConfirm(const RenderViewHost* rvh, | 529 virtual void RunBeforeUnloadConfirm(const RenderViewHost* rvh, |
| 530 const string16& message, | 530 const string16& message, |
| 531 IPC::Message* reply_msg) OVERRIDE; | 531 IPC::Message* reply_msg) OVERRIDE; |
| 532 virtual content::RendererPreferences GetRendererPrefs( | 532 virtual content::RendererPreferences GetRendererPrefs( |
| 533 content::BrowserContext* browser_context) const OVERRIDE; | 533 content::BrowserContext* browser_context) const OVERRIDE; |
| 534 virtual WebPreferences GetWebkitPrefs() OVERRIDE; | 534 virtual WebPreferences GetWebkitPrefs() OVERRIDE; |
| 535 virtual void OnUserGesture() OVERRIDE; | 535 virtual void OnUserGesture() OVERRIDE; |
| 536 virtual void OnIgnoredUIEvent() OVERRIDE; | 536 virtual void OnIgnoredUIEvent() OVERRIDE; |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 // (full-page plugins for now only) permissions. | 883 // (full-page plugins for now only) permissions. |
| 884 int content_restrictions_; | 884 int content_restrictions_; |
| 885 | 885 |
| 886 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. | 886 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. |
| 887 content::ViewType view_type_; | 887 content::ViewType view_type_; |
| 888 | 888 |
| 889 DISALLOW_COPY_AND_ASSIGN(TabContents); | 889 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 890 }; | 890 }; |
| 891 | 891 |
| 892 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 892 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |