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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 NOTIMPLEMENTED(); | 351 NOTIMPLEMENTED(); |
352 return false; | 352 return false; |
353 } | 353 } |
354 void AdjustOtherWindowBounds() const { NOTIMPLEMENTED(); } | 354 void AdjustOtherWindowBounds() const { NOTIMPLEMENTED(); } |
355 }; | 355 }; |
356 | 356 |
357 class WindowSizer { | 357 class WindowSizer { |
358 public: | 358 public: |
359 static void GetBrowserWindowBounds(const std::wstring& app_name, | 359 static void GetBrowserWindowBounds(const std::wstring& app_name, |
360 const gfx::Rect& specified_bounds, | 360 const gfx::Rect& specified_bounds, |
| 361 Browser* browser, |
361 gfx::Rect* window_bounds, | 362 gfx::Rect* window_bounds, |
362 bool* maximized); | 363 bool* maximized); |
363 }; | 364 }; |
364 | 365 |
365 //--------------------------------------------------------------------------- | 366 //--------------------------------------------------------------------------- |
366 // These stubs are for Profile | 367 // These stubs are for Profile |
367 | 368 |
368 class WebAppLauncher { | 369 class WebAppLauncher { |
369 public: | 370 public: |
370 static void Launch(Profile* profile, const GURL& url) { | 371 static void Launch(Profile* profile, const GURL& url) { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 virtual void SetVisible(bool flag) { NOTIMPLEMENTED(); } | 494 virtual void SetVisible(bool flag) { NOTIMPLEMENTED(); } |
494 void SizeToPreferredSize() { NOTIMPLEMENTED(); } | 495 void SizeToPreferredSize() { NOTIMPLEMENTED(); } |
495 HWNDHtmlView* GetParent() const { NOTIMPLEMENTED(); return NULL; } | 496 HWNDHtmlView* GetParent() const { NOTIMPLEMENTED(); return NULL; } |
496 bool IsVisible() const { NOTIMPLEMENTED(); return false; } | 497 bool IsVisible() const { NOTIMPLEMENTED(); return false; } |
497 void Layout() { NOTIMPLEMENTED(); } | 498 void Layout() { NOTIMPLEMENTED(); } |
498 void SchedulePaint() { NOTIMPLEMENTED(); } | 499 void SchedulePaint() { NOTIMPLEMENTED(); } |
499 SiteInstance* site_instance() { NOTIMPLEMENTED(); return NULL; } | 500 SiteInstance* site_instance() { NOTIMPLEMENTED(); return NULL; } |
500 }; | 501 }; |
501 | 502 |
502 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 503 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
OLD | NEW |