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 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 int32 page_id, | 637 int32 page_id, |
638 const std::string& state) OVERRIDE; | 638 const std::string& state) OVERRIDE; |
639 virtual void UpdateTitle(RenderViewHost* render_view_host, | 639 virtual void UpdateTitle(RenderViewHost* render_view_host, |
640 int32 page_id, | 640 int32 page_id, |
641 const string16& title, | 641 const string16& title, |
642 base::i18n::TextDirection title_direction) OVERRIDE; | 642 base::i18n::TextDirection title_direction) OVERRIDE; |
643 virtual void UpdateEncoding(RenderViewHost* render_view_host, | 643 virtual void UpdateEncoding(RenderViewHost* render_view_host, |
644 const std::string& encoding) OVERRIDE; | 644 const std::string& encoding) OVERRIDE; |
645 virtual void UpdateTargetURL(int32 page_id, const GURL& url) OVERRIDE; | 645 virtual void UpdateTargetURL(int32 page_id, const GURL& url) OVERRIDE; |
646 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; | 646 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; |
| 647 virtual void SwappedOut(RenderViewHost* render_view_host) OVERRIDE; |
647 virtual void RequestMove(const gfx::Rect& new_bounds) OVERRIDE; | 648 virtual void RequestMove(const gfx::Rect& new_bounds) OVERRIDE; |
648 virtual void DidStartLoading() OVERRIDE; | 649 virtual void DidStartLoading() OVERRIDE; |
649 virtual void DidStopLoading() OVERRIDE; | 650 virtual void DidStopLoading() OVERRIDE; |
650 virtual void DidCancelLoading() OVERRIDE; | 651 virtual void DidCancelLoading() OVERRIDE; |
651 virtual void DidChangeLoadProgress(double progress) OVERRIDE; | 652 virtual void DidChangeLoadProgress(double progress) OVERRIDE; |
652 virtual void DocumentOnLoadCompletedInMainFrame( | 653 virtual void DocumentOnLoadCompletedInMainFrame( |
653 RenderViewHost* render_view_host, | 654 RenderViewHost* render_view_host, |
654 int32 page_id) OVERRIDE; | 655 int32 page_id) OVERRIDE; |
655 virtual void RequestOpenURL(const GURL& url, | 656 virtual void RequestOpenURL(const GURL& url, |
656 const GURL& referrer, | 657 const GURL& referrer, |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 // (full-page plugins for now only) permissions. | 868 // (full-page plugins for now only) permissions. |
868 int content_restrictions_; | 869 int content_restrictions_; |
869 | 870 |
870 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. | 871 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. |
871 content::ViewType view_type_; | 872 content::ViewType view_type_; |
872 | 873 |
873 DISALLOW_COPY_AND_ASSIGN(TabContents); | 874 DISALLOW_COPY_AND_ASSIGN(TabContents); |
874 }; | 875 }; |
875 | 876 |
876 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 877 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |