| 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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 virtual void DidChangeLoadProgress(double progress) OVERRIDE; | 506 virtual void DidChangeLoadProgress(double progress) OVERRIDE; |
| 507 virtual void DocumentAvailableInMainFrame( | 507 virtual void DocumentAvailableInMainFrame( |
| 508 RenderViewHost* render_view_host) OVERRIDE; | 508 RenderViewHost* render_view_host) OVERRIDE; |
| 509 virtual void DocumentOnLoadCompletedInMainFrame( | 509 virtual void DocumentOnLoadCompletedInMainFrame( |
| 510 RenderViewHost* render_view_host, | 510 RenderViewHost* render_view_host, |
| 511 int32 page_id) OVERRIDE; | 511 int32 page_id) OVERRIDE; |
| 512 virtual void RequestOpenURL(const GURL& url, | 512 virtual void RequestOpenURL(const GURL& url, |
| 513 const GURL& referrer, | 513 const GURL& referrer, |
| 514 WindowOpenDisposition disposition, | 514 WindowOpenDisposition disposition, |
| 515 int64 source_frame_id) OVERRIDE; | 515 int64 source_frame_id) OVERRIDE; |
| 516 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, | 516 virtual void RunJavaScriptMessage( |
| 517 const string16& message, | 517 const RenderViewHost* rvh, |
| 518 const string16& default_prompt, | 518 const string16& message, |
| 519 const GURL& frame_url, | 519 const string16& default_prompt, |
| 520 const int flags, | 520 const GURL& frame_url, |
| 521 IPC::Message* reply_msg, | 521 ui::JavascriptMessageType javascript_message_type, |
| 522 bool* did_suppress_message) OVERRIDE; | 522 IPC::Message* reply_msg, |
| 523 bool* did_suppress_message) OVERRIDE; |
| 523 virtual void RunBeforeUnloadConfirm(const RenderViewHost* rvh, | 524 virtual void RunBeforeUnloadConfirm(const RenderViewHost* rvh, |
| 524 const string16& message, | 525 const string16& message, |
| 525 IPC::Message* reply_msg) OVERRIDE; | 526 IPC::Message* reply_msg) OVERRIDE; |
| 526 virtual content::RendererPreferences GetRendererPrefs( | 527 virtual content::RendererPreferences GetRendererPrefs( |
| 527 content::BrowserContext* browser_context) const OVERRIDE; | 528 content::BrowserContext* browser_context) const OVERRIDE; |
| 528 virtual WebPreferences GetWebkitPrefs() OVERRIDE; | 529 virtual WebPreferences GetWebkitPrefs() OVERRIDE; |
| 529 virtual void OnUserGesture() OVERRIDE; | 530 virtual void OnUserGesture() OVERRIDE; |
| 530 virtual void OnIgnoredUIEvent() OVERRIDE; | 531 virtual void OnIgnoredUIEvent() OVERRIDE; |
| 531 virtual void RendererUnresponsive(RenderViewHost* render_view_host, | 532 virtual void RendererUnresponsive(RenderViewHost* render_view_host, |
| 532 bool is_during_unload) OVERRIDE; | 533 bool is_during_unload) OVERRIDE; |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 // (full-page plugins for now only) permissions. | 879 // (full-page plugins for now only) permissions. |
| 879 int content_restrictions_; | 880 int content_restrictions_; |
| 880 | 881 |
| 881 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. | 882 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. |
| 882 content::ViewType view_type_; | 883 content::ViewType view_type_; |
| 883 | 884 |
| 884 DISALLOW_COPY_AND_ASSIGN(TabContents); | 885 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 885 }; | 886 }; |
| 886 | 887 |
| 887 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 888 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |