| 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 class HtmlDialogContents { | 342 class HtmlDialogContents { |
| 343 public: | 343 public: |
| 344 struct HtmlDialogParams { | 344 struct HtmlDialogParams { |
| 345 GURL url; | 345 GURL url; |
| 346 int width; | 346 int width; |
| 347 int height; | 347 int height; |
| 348 std::string json_input; | 348 std::string json_input; |
| 349 }; | 349 }; |
| 350 }; | 350 }; |
| 351 | 351 |
| 352 #if defined(OS_MACOSX) | |
| 353 class LoginHandler { | |
| 354 public: | |
| 355 void SetAuth(const std::wstring& username, | |
| 356 const std::wstring& password) { | |
| 357 NOTIMPLEMENTED(); | |
| 358 } | |
| 359 void CancelAuth() { NOTIMPLEMENTED(); } | |
| 360 void OnRequestCancelled() { NOTIMPLEMENTED(); } | |
| 361 }; | |
| 362 #endif | |
| 363 | |
| 364 namespace net { | |
| 365 class AuthChallengeInfo; | |
| 366 } | |
| 367 | |
| 368 #if defined(OS_MACOSX) | |
| 369 LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info, | |
| 370 URLRequest* request, | |
| 371 MessageLoop* ui_loop); | |
| 372 #endif | |
| 373 | |
| 374 class RepostFormWarningDialog { | 352 class RepostFormWarningDialog { |
| 375 public: | 353 public: |
| 376 static void RunRepostFormWarningDialog(NavigationController*) { } | 354 static void RunRepostFormWarningDialog(NavigationController*) { } |
| 377 virtual ~RepostFormWarningDialog() { } | 355 virtual ~RepostFormWarningDialog() { } |
| 378 }; | 356 }; |
| 379 | 357 |
| 380 class FontsLanguagesWindowView { | 358 class FontsLanguagesWindowView { |
| 381 public: | 359 public: |
| 382 explicit FontsLanguagesWindowView(Profile* profile) { NOTIMPLEMENTED(); } | 360 explicit FontsLanguagesWindowView(Profile* profile) { NOTIMPLEMENTED(); } |
| 383 void SelectLanguagesTab() { NOTIMPLEMENTED(); } | 361 void SelectLanguagesTab() { NOTIMPLEMENTED(); } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 412 void SchedulePaint() { NOTIMPLEMENTED(); } | 390 void SchedulePaint() { NOTIMPLEMENTED(); } |
| 413 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } | 391 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } |
| 414 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } | 392 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } |
| 415 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } | 393 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } |
| 416 void Detach() { NOTIMPLEMENTED(); } | 394 void Detach() { NOTIMPLEMENTED(); } |
| 417 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } | 395 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } |
| 418 }; | 396 }; |
| 419 } // namespace views | 397 } // namespace views |
| 420 | 398 |
| 421 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 399 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| OLD | NEW |