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 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 void NotifyDisconnected(); | 619 void NotifyDisconnected(); |
620 | 620 |
621 // RenderViewHostDelegate ---------------------------------------------------- | 621 // RenderViewHostDelegate ---------------------------------------------------- |
622 | 622 |
623 // RenderViewHostDelegate implementation. | 623 // RenderViewHostDelegate implementation. |
624 virtual RenderViewHostDelegate::View* GetViewDelegate(); | 624 virtual RenderViewHostDelegate::View* GetViewDelegate(); |
625 virtual RenderViewHostDelegate::RendererManagement* | 625 virtual RenderViewHostDelegate::RendererManagement* |
626 GetRendererManagementDelegate(); | 626 GetRendererManagementDelegate(); |
627 virtual TabContents* GetAsTabContents(); | 627 virtual TabContents* GetAsTabContents(); |
628 virtual ViewType::Type GetRenderViewType() const; | 628 virtual ViewType::Type GetRenderViewType() const; |
629 virtual int GetBrowserWindowID() const; | |
630 virtual void RenderViewCreated(RenderViewHost* render_view_host); | 629 virtual void RenderViewCreated(RenderViewHost* render_view_host); |
631 virtual void RenderViewReady(RenderViewHost* render_view_host); | 630 virtual void RenderViewReady(RenderViewHost* render_view_host); |
632 virtual void RenderViewGone(RenderViewHost* render_view_host, | 631 virtual void RenderViewGone(RenderViewHost* render_view_host, |
633 base::TerminationStatus status, | 632 base::TerminationStatus status, |
634 int error_code); | 633 int error_code); |
635 virtual void RenderViewDeleted(RenderViewHost* render_view_host); | 634 virtual void RenderViewDeleted(RenderViewHost* render_view_host); |
636 virtual void DidNavigate(RenderViewHost* render_view_host, | 635 virtual void DidNavigate(RenderViewHost* render_view_host, |
637 const ViewHostMsg_FrameNavigate_Params& params); | 636 const ViewHostMsg_FrameNavigate_Params& params); |
638 virtual void UpdateState(RenderViewHost* render_view_host, | 637 virtual void UpdateState(RenderViewHost* render_view_host, |
639 int32 page_id, | 638 int32 page_id, |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 ObserverList<TabContentsObserver> observers_; | 849 ObserverList<TabContentsObserver> observers_; |
851 | 850 |
852 // Content restrictions, used to disable print/copy etc based on content's | 851 // Content restrictions, used to disable print/copy etc based on content's |
853 // (full-page plugins for now only) permissions. | 852 // (full-page plugins for now only) permissions. |
854 int content_restrictions_; | 853 int content_restrictions_; |
855 | 854 |
856 DISALLOW_COPY_AND_ASSIGN(TabContents); | 855 DISALLOW_COPY_AND_ASSIGN(TabContents); |
857 }; | 856 }; |
858 | 857 |
859 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 858 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |