| 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 <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 virtual bool IsBeingDestroyed() const OVERRIDE; | 162 virtual bool IsBeingDestroyed() const OVERRIDE; |
| 163 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; | 163 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; |
| 164 virtual void DidBecomeSelected() OVERRIDE; | 164 virtual void DidBecomeSelected() OVERRIDE; |
| 165 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE; | 165 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE; |
| 166 virtual void WasHidden() OVERRIDE; | 166 virtual void WasHidden() OVERRIDE; |
| 167 virtual void ShowContents() OVERRIDE; | 167 virtual void ShowContents() OVERRIDE; |
| 168 virtual void HideContents() OVERRIDE; | 168 virtual void HideContents() OVERRIDE; |
| 169 virtual bool NeedToFireBeforeUnload() OVERRIDE; | 169 virtual bool NeedToFireBeforeUnload() OVERRIDE; |
| 170 virtual void Stop() OVERRIDE; | 170 virtual void Stop() OVERRIDE; |
| 171 virtual content::WebContents* Clone() OVERRIDE; | 171 virtual content::WebContents* Clone() OVERRIDE; |
| 172 virtual void ShowPageInfo(const GURL& url, | |
| 173 const content::SSLStatus& ssl, | |
| 174 bool show_history) OVERRIDE; | |
| 175 virtual void AddNewContents(content::WebContents* new_contents, | 172 virtual void AddNewContents(content::WebContents* new_contents, |
| 176 WindowOpenDisposition disposition, | 173 WindowOpenDisposition disposition, |
| 177 const gfx::Rect& initial_pos, | 174 const gfx::Rect& initial_pos, |
| 178 bool user_gesture) OVERRIDE; | 175 bool user_gesture) OVERRIDE; |
| 179 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; | 176 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; |
| 180 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 177 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 181 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; | 178 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; |
| 182 virtual void Focus() OVERRIDE; | 179 virtual void Focus() OVERRIDE; |
| 183 virtual void FocusThroughTabTraversal(bool reverse) OVERRIDE; | 180 virtual void FocusThroughTabTraversal(bool reverse) OVERRIDE; |
| 184 virtual bool ShowingInterstitialPage() const OVERRIDE; | 181 virtual bool ShowingInterstitialPage() const OVERRIDE; |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 // (full-page plugins for now only) permissions. | 644 // (full-page plugins for now only) permissions. |
| 648 int content_restrictions_; | 645 int content_restrictions_; |
| 649 | 646 |
| 650 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. | 647 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. |
| 651 content::ViewType view_type_; | 648 content::ViewType view_type_; |
| 652 | 649 |
| 653 DISALLOW_COPY_AND_ASSIGN(TabContents); | 650 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 654 }; | 651 }; |
| 655 | 652 |
| 656 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 653 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |