Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: chrome/common/temp_scaffolding_stubs.h

Issue 132047: GTK: HTTP Auth dialogs under linux. (Closed)
Patch Set: Fix for evanm Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 class HtmlDialogContents { 340 class HtmlDialogContents {
341 public: 341 public:
342 struct HtmlDialogParams { 342 struct HtmlDialogParams {
343 GURL url; 343 GURL url;
344 int width; 344 int width;
345 int height; 345 int height;
346 std::string json_input; 346 std::string json_input;
347 }; 347 };
348 }; 348 };
349 349
350 #if defined(OS_MACOSX)
350 class LoginHandler { 351 class LoginHandler {
351 public: 352 public:
352 void SetAuth(const std::wstring& username, 353 void SetAuth(const std::wstring& username,
353 const std::wstring& password) { 354 const std::wstring& password) {
354 NOTIMPLEMENTED(); 355 NOTIMPLEMENTED();
355 } 356 }
356 void CancelAuth() { NOTIMPLEMENTED(); } 357 void CancelAuth() { NOTIMPLEMENTED(); }
357 void OnRequestCancelled() { NOTIMPLEMENTED(); } 358 void OnRequestCancelled() { NOTIMPLEMENTED(); }
358 }; 359 };
360 #endif
359 361
360 namespace net { 362 namespace net {
361 class AuthChallengeInfo; 363 class AuthChallengeInfo;
362 } 364 }
363 365
366 #if defined(OS_MACOSX)
364 LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info, 367 LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info,
365 URLRequest* request, 368 URLRequest* request,
366 MessageLoop* ui_loop); 369 MessageLoop* ui_loop);
370 #endif
367 371
368 class RepostFormWarningDialog { 372 class RepostFormWarningDialog {
369 public: 373 public:
370 static void RunRepostFormWarningDialog(NavigationController*) { } 374 static void RunRepostFormWarningDialog(NavigationController*) { }
371 virtual ~RepostFormWarningDialog() { } 375 virtual ~RepostFormWarningDialog() { }
372 }; 376 };
373 377
374 class FontsLanguagesWindowView { 378 class FontsLanguagesWindowView {
375 public: 379 public:
376 explicit FontsLanguagesWindowView(Profile* profile) { NOTIMPLEMENTED(); } 380 explicit FontsLanguagesWindowView(Profile* profile) { NOTIMPLEMENTED(); }
(...skipping 29 matching lines...) Expand all
406 void SchedulePaint() { NOTIMPLEMENTED(); } 410 void SchedulePaint() { NOTIMPLEMENTED(); }
407 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } 411 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; }
408 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } 412 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); }
409 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } 413 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; }
410 void Detach() { NOTIMPLEMENTED(); } 414 void Detach() { NOTIMPLEMENTED(); }
411 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } 415 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; }
412 }; 416 };
413 } // namespace views 417 } // namespace views
414 418
415 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ 419 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698