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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 } | 227 } |
228 void AppendMenuItemWithLabel(int item_id, const std::wstring& label) { | 228 void AppendMenuItemWithLabel(int item_id, const std::wstring& label) { |
229 NOTIMPLEMENTED(); | 229 NOTIMPLEMENTED(); |
230 } | 230 } |
231 void AppendSeparator() { NOTIMPLEMENTED(); } | 231 void AppendSeparator() { NOTIMPLEMENTED(); } |
232 }; | 232 }; |
233 | 233 |
234 class MenuDelegate { | 234 class MenuDelegate { |
235 }; | 235 }; |
236 | 236 |
| 237 #if !defined(OS_LINUX) |
237 class Window { | 238 class Window { |
238 public: | 239 public: |
239 void Show() { NOTIMPLEMENTED(); } | 240 void Show() { NOTIMPLEMENTED(); } |
240 virtual void Close() { NOTIMPLEMENTED(); } | 241 virtual void Close() { NOTIMPLEMENTED(); } |
241 }; | 242 }; |
| 243 #endif |
242 | 244 |
243 } // namespace views | 245 } // namespace views |
244 | 246 |
245 class InputWindowDelegate { | 247 class InputWindowDelegate { |
246 }; | 248 }; |
247 | 249 |
248 class Menu { | 250 class Menu { |
249 public: | 251 public: |
250 enum AnchorPoint { | 252 enum AnchorPoint { |
251 TOPLEFT, | 253 TOPLEFT, |
(...skipping 18 matching lines...) Expand all Loading... |
270 NOTIMPLEMENTED(); | 272 NOTIMPLEMENTED(); |
271 } | 273 } |
272 Menu* AppendSubMenu(int item_id, const std::wstring& label) { | 274 Menu* AppendSubMenu(int item_id, const std::wstring& label) { |
273 NOTIMPLEMENTED(); | 275 NOTIMPLEMENTED(); |
274 return NULL; | 276 return NULL; |
275 } | 277 } |
276 void AppendSeparator() { NOTIMPLEMENTED(); } | 278 void AppendSeparator() { NOTIMPLEMENTED(); } |
277 void AppendDelegateMenuItem(int item_id) { NOTIMPLEMENTED(); } | 279 void AppendDelegateMenuItem(int item_id) { NOTIMPLEMENTED(); } |
278 }; | 280 }; |
279 | 281 |
280 views::Window* CreateInputWindow(gfx::NativeWindow parent_hwnd, | |
281 InputWindowDelegate* delegate); | |
282 | |
283 class BookmarkManagerView { | 282 class BookmarkManagerView { |
284 public: | 283 public: |
285 static BookmarkManagerView* current() { | 284 static BookmarkManagerView* current() { |
286 NOTIMPLEMENTED(); | 285 NOTIMPLEMENTED(); |
287 return NULL; | 286 return NULL; |
288 } | 287 } |
289 static void Show(Profile* profile) { NOTIMPLEMENTED(); } | 288 static void Show(Profile* profile) { NOTIMPLEMENTED(); } |
290 void SelectInTree(BookmarkNode* node) { NOTIMPLEMENTED(); } | 289 void SelectInTree(BookmarkNode* node) { NOTIMPLEMENTED(); } |
291 Profile* profile() const { | 290 Profile* profile() const { |
292 NOTIMPLEMENTED(); | 291 NOTIMPLEMENTED(); |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 NOTIMPLEMENTED(); | 501 NOTIMPLEMENTED(); |
503 } | 502 } |
504 virtual ~HWNDHtmlView() {} | 503 virtual ~HWNDHtmlView() {} |
505 | 504 |
506 RenderViewHost* render_view_host() { NOTIMPLEMENTED(); return NULL; } | 505 RenderViewHost* render_view_host() { NOTIMPLEMENTED(); return NULL; } |
507 SiteInstance* site_instance() { NOTIMPLEMENTED(); return NULL; } | 506 SiteInstance* site_instance() { NOTIMPLEMENTED(); return NULL; } |
508 }; | 507 }; |
509 | 508 |
510 | 509 |
511 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 510 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
OLD | NEW |