Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: chrome/common/temp_scaffolding_stubs.h

Issue 21315: Add TableModel to the scaffold, so we don't depend on views. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/bookmarks/bookmark_table_model.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 class IconManager { 484 class IconManager {
485 }; 485 };
486 486
487 struct ViewHostMsg_DidPrintPage_Params; 487 struct ViewHostMsg_DidPrintPage_Params;
488 488
489 namespace views { 489 namespace views {
490 490
491 class AcceleratorHandler { 491 class AcceleratorHandler {
492 }; 492 };
493 493
494 class TableModelObserver {
495 public:
496 virtual void OnModelChanged() = 0;
497 virtual void OnItemsChanged(int, int) = 0;
498 virtual void OnItemsAdded(int, int) = 0;
499 virtual void OnItemsRemoved(int, int) = 0;
500 };
501
502 class TableModel {
503 public:
504 int CompareValues(int row1, int row2, int column_id) {
505 NOTIMPLEMENTED();
506 return 0;
507 }
508 virtual int RowCount() = 0;
509 };
510
494 } // namespace views 511 } // namespace views
495 512
496 //--------------------------------------------------------------------------- 513 //---------------------------------------------------------------------------
497 // These stubs are for Browser 514 // These stubs are for Browser
498 515
499 class StatusBubble { 516 class StatusBubble {
500 public: 517 public:
501 void SetStatus(const std::wstring&) { NOTIMPLEMENTED(); } 518 void SetStatus(const std::wstring&) { NOTIMPLEMENTED(); }
502 void Hide() { NOTIMPLEMENTED(); } 519 void Hide() { NOTIMPLEMENTED(); }
503 }; 520 };
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 } 1060 }
1044 }; 1061 };
1045 1062
1046 class RepostFormWarningDialog { 1063 class RepostFormWarningDialog {
1047 public: 1064 public:
1048 static void RunRepostFormWarningDialog(NavigationController*) { } 1065 static void RunRepostFormWarningDialog(NavigationController*) { }
1049 virtual ~RepostFormWarningDialog() { } 1066 virtual ~RepostFormWarningDialog() { }
1050 }; 1067 };
1051 1068
1052 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ 1069 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_table_model.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698