| 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 int error_code) OVERRIDE; | 198 int error_code) OVERRIDE; |
| 199 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; | 199 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; |
| 200 virtual bool IsBeingDestroyed() const OVERRIDE; | 200 virtual bool IsBeingDestroyed() const OVERRIDE; |
| 201 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; | 201 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; |
| 202 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE; | 202 virtual base::TimeTicks GetLastSelectedTime() const OVERRIDE; |
| 203 virtual void WasShown() OVERRIDE; | 203 virtual void WasShown() OVERRIDE; |
| 204 virtual void WasHidden() OVERRIDE; | 204 virtual void WasHidden() OVERRIDE; |
| 205 virtual bool NeedToFireBeforeUnload() OVERRIDE; | 205 virtual bool NeedToFireBeforeUnload() OVERRIDE; |
| 206 virtual void Stop() OVERRIDE; | 206 virtual void Stop() OVERRIDE; |
| 207 virtual content::WebContents* Clone() OVERRIDE; | 207 virtual content::WebContents* Clone() OVERRIDE; |
| 208 virtual void AddNewContents(content::WebContents* new_contents, | |
| 209 WindowOpenDisposition disposition, | |
| 210 const gfx::Rect& initial_pos, | |
| 211 bool user_gesture) OVERRIDE; | |
| 212 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; | 208 virtual gfx::NativeView GetContentNativeView() const OVERRIDE; |
| 213 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 209 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 214 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; | 210 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; |
| 215 virtual void Focus() OVERRIDE; | 211 virtual void Focus() OVERRIDE; |
| 216 virtual void FocusThroughTabTraversal(bool reverse) OVERRIDE; | 212 virtual void FocusThroughTabTraversal(bool reverse) OVERRIDE; |
| 217 virtual bool ShowingInterstitialPage() const OVERRIDE; | 213 virtual bool ShowingInterstitialPage() const OVERRIDE; |
| 218 virtual content::InterstitialPage* GetInterstitialPage() const OVERRIDE; | 214 virtual content::InterstitialPage* GetInterstitialPage() const OVERRIDE; |
| 219 virtual bool IsSavable() OVERRIDE; | 215 virtual bool IsSavable() OVERRIDE; |
| 220 virtual void OnSavePage() OVERRIDE; | 216 virtual void OnSavePage() OVERRIDE; |
| 221 virtual bool SavePage(const FilePath& main_file, | 217 virtual bool SavePage(const FilePath& main_file, |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 content::NotificationRegistrar registrar_; | 814 content::NotificationRegistrar registrar_; |
| 819 | 815 |
| 820 // Used during IPC message dispatching so that the handlers can get a pointer | 816 // Used during IPC message dispatching so that the handlers can get a pointer |
| 821 // to the RVH through which the message was received. | 817 // to the RVH through which the message was received. |
| 822 content::RenderViewHost* message_source_; | 818 content::RenderViewHost* message_source_; |
| 823 | 819 |
| 824 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 820 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 825 }; | 821 }; |
| 826 | 822 |
| 827 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 823 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |