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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 virtual SkBitmap GetFavIcon() const; | 409 virtual SkBitmap GetFavIcon() const; |
410 const GURL& GetURL() const; | 410 const GURL& GetURL() const; |
411 virtual const std::wstring& GetTitle() const; | 411 virtual const std::wstring& GetTitle() const; |
412 TabContentsType type() const { return type_; } | 412 TabContentsType type() const { return type_; } |
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 virtual void WasHidden() { |
420 NOTIMPLEMENTED(); | 420 NOTIMPLEMENTED(); |
421 return false; | |
422 } | 421 } |
423 virtual void RestoreFocus() { NOTIMPLEMENTED(); } | 422 virtual void RestoreFocus() { NOTIMPLEMENTED(); } |
424 static TabContentsType TypeForURL(GURL* url); | 423 static TabContentsType TypeForURL(GURL* url); |
425 static TabContents* CreateWithType(TabContentsType type, | 424 static TabContents* CreateWithType(TabContentsType type, |
426 Profile* profile, | 425 Profile* profile, |
427 SiteInstance* instance); | 426 SiteInstance* instance); |
428 virtual void Observe(NotificationType type, | 427 virtual void Observe(NotificationType type, |
429 const NotificationSource& source, | 428 const NotificationSource& source, |
430 const NotificationDetails& details) { NOTIMPLEMENTED(); } | 429 const NotificationDetails& details) { NOTIMPLEMENTED(); } |
431 virtual void DidBecomeSelected() { NOTIMPLEMENTED(); } | 430 virtual void DidBecomeSelected() { NOTIMPLEMENTED(); } |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 } | 754 } |
756 }; | 755 }; |
757 | 756 |
758 class OSExchangeData { | 757 class OSExchangeData { |
759 public: | 758 public: |
760 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); } | 759 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); } |
761 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); } | 760 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); } |
762 }; | 761 }; |
763 | 762 |
764 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 763 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
OLD | NEW |