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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 class HtmlDialogContentsDelegate { | 622 class HtmlDialogContentsDelegate { |
623 public: | 623 public: |
624 }; | 624 }; |
625 | 625 |
626 class ModalHtmlDialogDelegate : public HtmlDialogContentsDelegate { | 626 class ModalHtmlDialogDelegate : public HtmlDialogContentsDelegate { |
627 public: | 627 public: |
628 ModalHtmlDialogDelegate(const GURL&, int, int, const std::string&, | 628 ModalHtmlDialogDelegate(const GURL&, int, int, const std::string&, |
629 IPC::Message*, WebContents*) { } | 629 IPC::Message*, WebContents*) { } |
630 }; | 630 }; |
631 | 631 |
| 632 class HtmlDialogContents { |
| 633 public: |
| 634 struct HtmlDialogParams { |
| 635 GURL url; |
| 636 int width; |
| 637 int height; |
| 638 std::string json_input; |
| 639 }; |
| 640 }; |
| 641 |
632 class CharacterEncoding { | 642 class CharacterEncoding { |
633 public: | 643 public: |
634 static std::wstring GetCanonicalEncodingNameByAliasName( | 644 static std::wstring GetCanonicalEncodingNameByAliasName( |
635 const std::wstring&) { | 645 const std::wstring&) { |
636 NOTIMPLEMENTED(); | 646 NOTIMPLEMENTED(); |
637 return L""; | 647 return L""; |
638 } | 648 } |
639 }; | 649 }; |
640 | 650 |
641 #if defined(OS_MACOSX) | 651 #if defined(OS_MACOSX) |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 } | 733 } |
724 }; | 734 }; |
725 | 735 |
726 class OSExchangeData { | 736 class OSExchangeData { |
727 public: | 737 public: |
728 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); } | 738 void SetString(const std::wstring& data) { NOTIMPLEMENTED(); } |
729 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); } | 739 void SetURL(const GURL& url, const std::wstring& title) { NOTIMPLEMENTED(); } |
730 }; | 740 }; |
731 | 741 |
732 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 742 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
OLD | NEW |