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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 virtual void SetCapturingContents(bool cap) OVERRIDE; | 169 virtual void SetCapturingContents(bool cap) OVERRIDE; |
170 virtual bool IsCrashed() const OVERRIDE; | 170 virtual bool IsCrashed() const OVERRIDE; |
171 virtual void SetIsCrashed(base::TerminationStatus status, | 171 virtual void SetIsCrashed(base::TerminationStatus status, |
172 int error_code) OVERRIDE; | 172 int error_code) OVERRIDE; |
173 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; | 173 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; |
174 virtual bool IsBeingDestroyed() const OVERRIDE; | 174 virtual bool IsBeingDestroyed() const OVERRIDE; |
175 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; | 175 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; |
176 virtual void DidBecomeSelected() OVERRIDE; | 176 virtual void DidBecomeSelected() OVERRIDE; |
177 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE; | 177 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE; |
178 virtual void WasHidden() OVERRIDE; | 178 virtual void WasHidden() OVERRIDE; |
| 179 virtual void WasRestored() OVERRIDE; |
179 virtual void ShowContents() OVERRIDE; | 180 virtual void ShowContents() OVERRIDE; |
180 virtual void HideContents() OVERRIDE; | 181 virtual void HideContents() OVERRIDE; |
181 virtual bool NeedToFireBeforeUnload() OVERRIDE; | 182 virtual bool NeedToFireBeforeUnload() OVERRIDE; |
182 virtual void Stop() OVERRIDE; | 183 virtual void Stop() OVERRIDE; |
183 virtual content::WebContents* Clone() OVERRIDE; | 184 virtual content::WebContents* Clone() OVERRIDE; |
184 virtual void AddNewContents(content::WebContents* new_contents, | 185 virtual void AddNewContents(content::WebContents* new_contents, |
185 WindowOpenDisposition disposition, | 186 WindowOpenDisposition disposition, |
186 const gfx::Rect& initial_pos, | 187 const gfx::Rect& initial_pos, |
187 bool user_gesture) OVERRIDE; | 188 bool user_gesture) OVERRIDE; |
188 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; | 189 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 // Type of view this WebContents is displaying. | 715 // Type of view this WebContents is displaying. |
715 content::ViewType view_type_; | 716 content::ViewType view_type_; |
716 | 717 |
717 // Color chooser that was opened by this tab. | 718 // Color chooser that was opened by this tab. |
718 content::ColorChooser* color_chooser_; | 719 content::ColorChooser* color_chooser_; |
719 | 720 |
720 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 721 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
721 }; | 722 }; |
722 | 723 |
723 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 724 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |