| 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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 void set_type(TabContentsType type) { type_ = type; } | 413 void set_type(TabContentsType type) { type_ = type; } |
| 414 virtual void Focus() { NOTIMPLEMENTED(); } | 414 virtual void Focus() { NOTIMPLEMENTED(); } |
| 415 virtual void Stop() { NOTIMPLEMENTED(); } | 415 virtual void Stop() { NOTIMPLEMENTED(); } |
| 416 Profile* profile() const; | 416 Profile* profile() const; |
| 417 virtual void CloseContents(); | 417 virtual void CloseContents(); |
| 418 virtual void SetupController(Profile* profile); | 418 virtual void SetupController(Profile* profile); |
| 419 bool WasHidden() { | 419 bool WasHidden() { |
| 420 NOTIMPLEMENTED(); | 420 NOTIMPLEMENTED(); |
| 421 return false; | 421 return false; |
| 422 } | 422 } |
| 423 virtual void SetInitialFocus() { NOTIMPLEMENTED(); } |
| 423 virtual void RestoreFocus() { NOTIMPLEMENTED(); } | 424 virtual void RestoreFocus() { NOTIMPLEMENTED(); } |
| 424 static TabContentsType TypeForURL(GURL* url); | 425 static TabContentsType TypeForURL(GURL* url); |
| 425 static TabContents* CreateWithType(TabContentsType type, | 426 static TabContents* CreateWithType(TabContentsType type, |
| 426 Profile* profile, | 427 Profile* profile, |
| 427 SiteInstance* instance); | 428 SiteInstance* instance); |
| 428 virtual void Observe(NotificationType type, | 429 virtual void Observe(NotificationType type, |
| 429 const NotificationSource& source, | 430 const NotificationSource& source, |
| 430 const NotificationDetails& details) { NOTIMPLEMENTED(); } | 431 const NotificationDetails& details) { NOTIMPLEMENTED(); } |
| 431 virtual void DidBecomeSelected() { NOTIMPLEMENTED(); } | 432 virtual void DidBecomeSelected() { NOTIMPLEMENTED(); } |
| 432 virtual void SetDownloadShelfVisible(bool) { NOTIMPLEMENTED(); } | 433 virtual void SetDownloadShelfVisible(bool) { NOTIMPLEMENTED(); } |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 } | 724 } |
| 724 }; | 725 }; |
| 725 | 726 |
| 726 class OSExchangeData { | 727 class OSExchangeData { |
| 727 public: | 728 public: |
| 728 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); } | 729 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); } |
| 729 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); } | 730 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); } |
| 730 }; | 731 }; |
| 731 | 732 |
| 732 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 733 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| OLD | NEW |