| 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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 enum InfoBarButton { | 584 enum InfoBarButton { |
| 585 BUTTON_NONE = 0, | 585 BUTTON_NONE = 0, |
| 586 BUTTON_OK, | 586 BUTTON_OK, |
| 587 BUTTON_CANCEL | 587 BUTTON_CANCEL |
| 588 }; | 588 }; |
| 589 }; | 589 }; |
| 590 | 590 |
| 591 class RenderWidgetHostView { | 591 class RenderWidgetHostView { |
| 592 public: | 592 public: |
| 593 virtual void DidBecomeSelected() { NOTIMPLEMENTED(); } | 593 virtual void DidBecomeSelected() { NOTIMPLEMENTED(); } |
| 594 virtual bool WasHidden() { | 594 virtual void WasHidden() { NOTIMPLEMENTED(); } |
| 595 NOTIMPLEMENTED(); | |
| 596 return false; | |
| 597 } | |
| 598 virtual gfx::NativeView GetPluginNativeView() { | 595 virtual gfx::NativeView GetPluginNativeView() { |
| 599 NOTIMPLEMENTED(); | 596 NOTIMPLEMENTED(); |
| 600 return NULL; | 597 return NULL; |
| 601 } | 598 } |
| 602 virtual void UpdateCursorIfOverSelf() { NOTIMPLEMENTED(); } | 599 virtual void UpdateCursorIfOverSelf() { NOTIMPLEMENTED(); } |
| 603 virtual void SetTooltipText(const std::wstring& tooltip_text) | 600 virtual void SetTooltipText(const std::wstring& tooltip_text) |
| 604 { NOTIMPLEMENTED(); } | 601 { NOTIMPLEMENTED(); } |
| 605 virtual void SetSize(gfx::Size) { NOTIMPLEMENTED(); } | 602 virtual void SetSize(gfx::Size) { NOTIMPLEMENTED(); } |
| 606 }; | 603 }; |
| 607 | 604 |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 return L""; | 1004 return L""; |
| 1008 } | 1005 } |
| 1009 }; | 1006 }; |
| 1010 | 1007 |
| 1011 class SimpleAlertInfoBarDelegate : public InfoBarDelegate { | 1008 class SimpleAlertInfoBarDelegate : public InfoBarDelegate { |
| 1012 public: | 1009 public: |
| 1013 SimpleAlertInfoBarDelegate(WebContents*, const std::wstring&, void*) {} | 1010 SimpleAlertInfoBarDelegate(WebContents*, const std::wstring&, void*) {} |
| 1014 }; | 1011 }; |
| 1015 | 1012 |
| 1016 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 1013 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| OLD | NEW |