| 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 <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 virtual bool IsTreeOnlyAccessibilityModeForTesting() const OVERRIDE; | 225 virtual bool IsTreeOnlyAccessibilityModeForTesting() const OVERRIDE; |
| 226 virtual bool IsFullAccessibilityModeForTesting() const OVERRIDE; | 226 virtual bool IsFullAccessibilityModeForTesting() const OVERRIDE; |
| 227 #if defined(OS_WIN) | 227 #if defined(OS_WIN) |
| 228 virtual void SetParentNativeViewAccessible( | 228 virtual void SetParentNativeViewAccessible( |
| 229 gfx::NativeViewAccessible accessible_parent) OVERRIDE; | 229 gfx::NativeViewAccessible accessible_parent) OVERRIDE; |
| 230 #endif | 230 #endif |
| 231 virtual const base::string16& GetTitle() const OVERRIDE; | 231 virtual const base::string16& GetTitle() const OVERRIDE; |
| 232 virtual int32 GetMaxPageID() OVERRIDE; | 232 virtual int32 GetMaxPageID() OVERRIDE; |
| 233 virtual int32 GetMaxPageIDForSiteInstance( | 233 virtual int32 GetMaxPageIDForSiteInstance( |
| 234 SiteInstance* site_instance) OVERRIDE; | 234 SiteInstance* site_instance) OVERRIDE; |
| 235 virtual SiteInstance* GetSiteInstance() const OVERRIDE; | 235 virtual SiteInstanceImpl* GetSiteInstance() const OVERRIDE; |
| 236 virtual SiteInstance* GetPendingSiteInstance() const OVERRIDE; | 236 virtual SiteInstanceImpl* GetPendingSiteInstance() const OVERRIDE; |
| 237 virtual bool IsLoading() const OVERRIDE; | 237 virtual bool IsLoading() const OVERRIDE; |
| 238 virtual bool IsLoadingToDifferentDocument() const OVERRIDE; | 238 virtual bool IsLoadingToDifferentDocument() const OVERRIDE; |
| 239 virtual bool IsWaitingForResponse() const OVERRIDE; | 239 virtual bool IsWaitingForResponse() const OVERRIDE; |
| 240 virtual const net::LoadStateWithParam& GetLoadState() const OVERRIDE; | 240 virtual const net::LoadStateWithParam& GetLoadState() const OVERRIDE; |
| 241 virtual const base::string16& GetLoadStateHost() const OVERRIDE; | 241 virtual const base::string16& GetLoadStateHost() const OVERRIDE; |
| 242 virtual uint64 GetUploadSize() const OVERRIDE; | 242 virtual uint64 GetUploadSize() const OVERRIDE; |
| 243 virtual uint64 GetUploadPosition() const OVERRIDE; | 243 virtual uint64 GetUploadPosition() const OVERRIDE; |
| 244 virtual std::set<GURL> GetSitesInTab() const OVERRIDE; | 244 virtual std::set<GURL> GetSitesInTab() const OVERRIDE; |
| 245 virtual const std::string& GetEncoding() const OVERRIDE; | 245 virtual const std::string& GetEncoding() const OVERRIDE; |
| 246 virtual bool DisplayedInsecureContent() const OVERRIDE; | 246 virtual bool DisplayedInsecureContent() const OVERRIDE; |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 const ViewMsg_PostMessage_Params& params) OVERRIDE; | 426 const ViewMsg_PostMessage_Params& params) OVERRIDE; |
| 427 virtual bool AddMessageToConsole(int32 level, | 427 virtual bool AddMessageToConsole(int32 level, |
| 428 const base::string16& message, | 428 const base::string16& message, |
| 429 int32 line_no, | 429 int32 line_no, |
| 430 const base::string16& source_id) OVERRIDE; | 430 const base::string16& source_id) OVERRIDE; |
| 431 virtual RendererPreferences GetRendererPrefs( | 431 virtual RendererPreferences GetRendererPrefs( |
| 432 BrowserContext* browser_context) const OVERRIDE; | 432 BrowserContext* browser_context) const OVERRIDE; |
| 433 virtual WebPreferences ComputeWebkitPrefs() OVERRIDE; | 433 virtual WebPreferences ComputeWebkitPrefs() OVERRIDE; |
| 434 virtual void OnUserGesture() OVERRIDE; | 434 virtual void OnUserGesture() OVERRIDE; |
| 435 virtual void OnIgnoredUIEvent() OVERRIDE; | 435 virtual void OnIgnoredUIEvent() OVERRIDE; |
| 436 virtual void RendererUnresponsive(RenderViewHost* render_view_host, | 436 virtual void RendererUnresponsive(RenderViewHost* render_view_host) OVERRIDE; |
| 437 bool is_during_beforeunload, | |
| 438 bool is_during_unload) OVERRIDE; | |
| 439 virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE; | 437 virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE; |
| 440 virtual void LoadStateChanged(const GURL& url, | 438 virtual void LoadStateChanged(const GURL& url, |
| 441 const net::LoadStateWithParam& load_state, | 439 const net::LoadStateWithParam& load_state, |
| 442 uint64 upload_position, | 440 uint64 upload_position, |
| 443 uint64 upload_size) OVERRIDE; | 441 uint64 upload_size) OVERRIDE; |
| 444 virtual void Activate() OVERRIDE; | 442 virtual void Activate() OVERRIDE; |
| 445 virtual void Deactivate() OVERRIDE; | 443 virtual void Deactivate() OVERRIDE; |
| 446 virtual void LostCapture() OVERRIDE; | 444 virtual void LostCapture() OVERRIDE; |
| 447 virtual void HandleMouseDown() OVERRIDE; | 445 virtual void HandleMouseDown() OVERRIDE; |
| 448 virtual void HandleMouseUp() OVERRIDE; | 446 virtual void HandleMouseUp() OVERRIDE; |
| (...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1245 scoped_ptr<WebContentsAudioMuter> audio_muter_; | 1243 scoped_ptr<WebContentsAudioMuter> audio_muter_; |
| 1246 | 1244 |
| 1247 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; | 1245 base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; |
| 1248 | 1246 |
| 1249 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1247 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1250 }; | 1248 }; |
| 1251 | 1249 |
| 1252 } // namespace content | 1250 } // namespace content |
| 1253 | 1251 |
| 1254 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1252 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |