| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 152 |
| 153 } // namespace sandbox | 153 } // namespace sandbox |
| 154 | 154 |
| 155 struct ViewHostMsg_DidPrintPage_Params; | 155 struct ViewHostMsg_DidPrintPage_Params; |
| 156 | 156 |
| 157 namespace views { | 157 namespace views { |
| 158 | 158 |
| 159 class AcceleratorHandler { | 159 class AcceleratorHandler { |
| 160 }; | 160 }; |
| 161 | 161 |
| 162 class TableModelObserver { | |
| 163 public: | |
| 164 virtual void OnModelChanged() = 0; | |
| 165 virtual void OnItemsChanged(int, int) = 0; | |
| 166 virtual void OnItemsAdded(int, int) = 0; | |
| 167 virtual void OnItemsRemoved(int, int) = 0; | |
| 168 }; | |
| 169 | |
| 170 class TableModel { | |
| 171 public: | |
| 172 int CompareValues(int row1, int row2, int column_id) { | |
| 173 NOTIMPLEMENTED(); | |
| 174 return 0; | |
| 175 } | |
| 176 virtual int RowCount() = 0; | |
| 177 }; | |
| 178 | |
| 179 #if !defined(TOOLKIT_VIEWS) | 162 #if !defined(TOOLKIT_VIEWS) |
| 180 class MenuItemView { | 163 class MenuItemView { |
| 181 public: | 164 public: |
| 182 enum Type { | 165 enum Type { |
| 183 NORMAL, | 166 NORMAL, |
| 184 SUBMENU, | 167 SUBMENU, |
| 185 CHECKBOX, | 168 CHECKBOX, |
| 186 RADIO, | 169 RADIO, |
| 187 SEPARATOR | 170 SEPARATOR |
| 188 }; | 171 }; |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 void SchedulePaint() { NOTIMPLEMENTED(); } | 450 void SchedulePaint() { NOTIMPLEMENTED(); } |
| 468 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } | 451 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } |
| 469 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } | 452 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } |
| 470 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } | 453 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } |
| 471 void Detach() { NOTIMPLEMENTED(); } | 454 void Detach() { NOTIMPLEMENTED(); } |
| 472 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } | 455 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } |
| 473 }; | 456 }; |
| 474 } // namespace views | 457 } // namespace views |
| 475 | 458 |
| 476 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 459 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| OLD | NEW |