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 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 virtual const std::string& GetEncoding() const OVERRIDE; | 185 virtual const std::string& GetEncoding() const OVERRIDE; |
186 virtual bool DisplayedInsecureContent() const OVERRIDE; | 186 virtual bool DisplayedInsecureContent() const OVERRIDE; |
187 virtual void SetCapturingContents(bool cap) OVERRIDE; | 187 virtual void SetCapturingContents(bool cap) OVERRIDE; |
188 virtual bool IsCrashed() const OVERRIDE; | 188 virtual bool IsCrashed() const OVERRIDE; |
189 virtual void SetIsCrashed(base::TerminationStatus status, | 189 virtual void SetIsCrashed(base::TerminationStatus status, |
190 int error_code) OVERRIDE; | 190 int error_code) OVERRIDE; |
191 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; | 191 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; |
192 virtual bool IsBeingDestroyed() const OVERRIDE; | 192 virtual bool IsBeingDestroyed() const OVERRIDE; |
193 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; | 193 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; |
194 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE; | 194 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE; |
195 virtual void WasRestored() OVERRIDE; | 195 virtual void WasShown() OVERRIDE; |
196 virtual void WasHidden() OVERRIDE; | 196 virtual void WasHidden() OVERRIDE; |
197 virtual bool NeedToFireBeforeUnload() OVERRIDE; | 197 virtual bool NeedToFireBeforeUnload() OVERRIDE; |
198 virtual void Stop() OVERRIDE; | 198 virtual void Stop() OVERRIDE; |
199 virtual content::WebContents* Clone() OVERRIDE; | 199 virtual content::WebContents* Clone() OVERRIDE; |
200 virtual void AddNewContents(content::WebContents* new_contents, | 200 virtual void AddNewContents(content::WebContents* new_contents, |
201 WindowOpenDisposition disposition, | 201 WindowOpenDisposition disposition, |
202 const gfx::Rect& initial_pos, | 202 const gfx::Rect& initial_pos, |
203 bool user_gesture) OVERRIDE; | 203 bool user_gesture) OVERRIDE; |
204 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; | 204 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; |
205 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 205 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 content::NotificationRegistrar registrar_; | 797 content::NotificationRegistrar registrar_; |
798 | 798 |
799 // Used during IPC message dispatching so that the handlers can get a pointer | 799 // Used during IPC message dispatching so that the handlers can get a pointer |
800 // to the RVH through which the message was received. | 800 // to the RVH through which the message was received. |
801 content::RenderViewHost* message_source_; | 801 content::RenderViewHost* message_source_; |
802 | 802 |
803 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 803 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
804 }; | 804 }; |
805 | 805 |
806 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 806 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |