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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 public: | 366 public: |
367 enum Type { | 367 enum Type { |
368 SELECT_FOLDER, | 368 SELECT_FOLDER, |
369 SELECT_SAVEAS_FILE, | 369 SELECT_SAVEAS_FILE, |
370 SELECT_OPEN_FILE, | 370 SELECT_OPEN_FILE, |
371 SELECT_OPEN_MULTI_FILE | 371 SELECT_OPEN_MULTI_FILE |
372 }; | 372 }; |
373 class Listener { | 373 class Listener { |
374 public: | 374 public: |
375 }; | 375 }; |
| 376 struct FileTypeInfo { |
| 377 std::vector<std::vector<FilePath::StringType> > extensions; |
| 378 std::vector<string16> extension_description_overrides; |
| 379 bool include_all_files; |
| 380 }; |
376 void ListenerDestroyed() { NOTIMPLEMENTED(); } | 381 void ListenerDestroyed() { NOTIMPLEMENTED(); } |
377 void SelectFile(Type, const string16&, const FilePath&, | 382 void SelectFile(Type, const string16&, const FilePath&, |
378 const std::wstring&, int, const FilePath::StringType&, | 383 const FileTypeInfo*, int, const FilePath::StringType&, |
379 gfx::NativeWindow, void*) { NOTIMPLEMENTED(); } | 384 gfx::NativeWindow, void*) { NOTIMPLEMENTED(); } |
380 static SelectFileDialog* Create(WebContents*) { | 385 static SelectFileDialog* Create(WebContents*) { |
381 NOTIMPLEMENTED(); | 386 NOTIMPLEMENTED(); |
382 return new SelectFileDialog; | 387 return new SelectFileDialog; |
383 } | 388 } |
384 }; | 389 }; |
385 #endif | 390 #endif |
386 | 391 |
387 class DockInfo { | 392 class DockInfo { |
388 public: | 393 public: |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 void InitHidden() { NOTIMPLEMENTED(); } | 553 void InitHidden() { NOTIMPLEMENTED(); } |
549 void set_preferred_size(const gfx::Size& size) { NOTIMPLEMENTED(); } | 554 void set_preferred_size(const gfx::Size& size) { NOTIMPLEMENTED(); } |
550 virtual void SetVisible(bool flag) { NOTIMPLEMENTED(); } | 555 virtual void SetVisible(bool flag) { NOTIMPLEMENTED(); } |
551 void SizeToPreferredSize() { NOTIMPLEMENTED(); } | 556 void SizeToPreferredSize() { NOTIMPLEMENTED(); } |
552 HWNDHtmlView* GetParent() const { NOTIMPLEMENTED(); return NULL; } | 557 HWNDHtmlView* GetParent() const { NOTIMPLEMENTED(); return NULL; } |
553 void Layout() { NOTIMPLEMENTED(); } | 558 void Layout() { NOTIMPLEMENTED(); } |
554 void SchedulePaint() { NOTIMPLEMENTED(); } | 559 void SchedulePaint() { NOTIMPLEMENTED(); } |
555 }; | 560 }; |
556 | 561 |
557 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 562 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
OLD | NEW |