| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 5 #ifndef CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| 6 #define CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 6 #define CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| 7 | 7 |
| 8 // This file provides declarations and stub definitions for classes we encouter | 8 // This file provides declarations and stub definitions for classes we encouter |
| 9 // during the porting effort. It is not meant to be permanent, and classes will | 9 // during the porting effort. It is not meant to be permanent, and classes will |
| 10 // be removed from here as they are fleshed out more completely. | 10 // be removed from here as they are fleshed out more completely. |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 void AddNewContents(TabContents* new_contents, | 451 void AddNewContents(TabContents* new_contents, |
| 452 WindowOpenDisposition disposition, | 452 WindowOpenDisposition disposition, |
| 453 const gfx::Rect& initial_pos, | 453 const gfx::Rect& initial_pos, |
| 454 bool user_gesture) { NOTIMPLEMENTED(); } | 454 bool user_gesture) { NOTIMPLEMENTED(); } |
| 455 virtual void Activate() { NOTIMPLEMENTED(); } | 455 virtual void Activate() { NOTIMPLEMENTED(); } |
| 456 virtual bool SupportsURL(GURL*); | 456 virtual bool SupportsURL(GURL*); |
| 457 virtual SiteInstance* GetSiteInstance() const { return NULL; } | 457 virtual SiteInstance* GetSiteInstance() const { return NULL; } |
| 458 int32 GetMaxPageID(); | 458 int32 GetMaxPageID(); |
| 459 void UpdateMaxPageID(int32); | 459 void UpdateMaxPageID(int32); |
| 460 virtual bool NavigateToPendingEntry(bool) { NOTIMPLEMENTED(); return true; } | 460 virtual bool NavigateToPendingEntry(bool) { NOTIMPLEMENTED(); return true; } |
| 461 virtual DOMUIHost* AsDOMUIHost() { NOTIMPLEMENTED(); return NULL; } | 461 virtual DOMUIHost* AsDOMUIHost() { return NULL; } |
| 462 virtual std::wstring GetStatusText() const { return std::wstring(); } | 462 virtual std::wstring GetStatusText() const { return std::wstring(); } |
| 463 static void RegisterUserPrefs(PrefService* prefs) { | 463 static void RegisterUserPrefs(PrefService* prefs) { |
| 464 prefs->RegisterBooleanPref(prefs::kBlockPopups, false); | 464 prefs->RegisterBooleanPref(prefs::kBlockPopups, false); |
| 465 } | 465 } |
| 466 static void MigrateShelfView(TabContents* from, TabContents* to) { | 466 static void MigrateShelfView(TabContents* from, TabContents* to) { |
| 467 NOTIMPLEMENTED(); | 467 NOTIMPLEMENTED(); |
| 468 } | 468 } |
| 469 virtual void CreateView() {} | 469 virtual void CreateView() {} |
| 470 virtual gfx::NativeView GetNativeView() const { return NULL; } | 470 virtual gfx::NativeView GetNativeView() const { return NULL; } |
| 471 static TabContentsFactory* RegisterFactory(TabContentsType type, | 471 static TabContentsFactory* RegisterFactory(TabContentsType type, |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 class OSExchangeData { | 735 class OSExchangeData { |
| 736 public: | 736 public: |
| 737 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); } | 737 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); } |
| 738 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); } | 738 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); } |
| 739 }; | 739 }; |
| 740 | 740 |
| 741 class BaseDragSource { | 741 class BaseDragSource { |
| 742 }; | 742 }; |
| 743 | 743 |
| 744 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 744 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| OLD | NEW |