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

Side by Side Diff: chrome/browser/remove_rows_table_model.h

Issue 3080031: Delete obviously unneeded forward declarations in chrome/browser/*.h. (Closed)
Patch Set: bah Created 10 years, 4 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
« no previous file with comments | « chrome/browser/memory_purger.h ('k') | chrome/browser/repost_form_warning_controller.h » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_BROWSER_REMOVE_ROWS_TABLE_MODEL_H_ 5 #ifndef CHROME_BROWSER_REMOVE_ROWS_TABLE_MODEL_H_
6 #define CHROME_BROWSER_REMOVE_ROWS_TABLE_MODEL_H_ 6 #define CHROME_BROWSER_REMOVE_ROWS_TABLE_MODEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <vector>
11 10
12 #include "app/table_model.h" 11 #include "app/table_model.h"
13 12
14 // A table model that also supports removing rows. Used for example for the 13 // A table model that also supports removing rows. Used for example for the
15 // content settings exception dialog for geolocation. 14 // content settings exception dialog for geolocation.
16 class RemoveRowsTableModel : public TableModel { 15 class RemoveRowsTableModel : public TableModel {
17 public: 16 public:
18 typedef std::set<size_t> Rows; 17 typedef std::set<size_t> Rows;
19 18
20 // Returns whether or not the rows can be removed. 19 // Returns whether or not the rows can be removed.
21 virtual bool CanRemoveRows(const Rows& rows) const = 0; 20 virtual bool CanRemoveRows(const Rows& rows) const = 0;
22 21
23 // Remove the rows from the table. 22 // Remove the rows from the table.
24 virtual void RemoveRows(const Rows& rows) = 0; 23 virtual void RemoveRows(const Rows& rows) = 0;
25 24
26 // Removes all the rows. 25 // Removes all the rows.
27 virtual void RemoveAll() = 0; 26 virtual void RemoveAll() = 0;
28 }; 27 };
29 28
30 #endif // CHROME_BROWSER_REMOVE_ROWS_TABLE_MODEL_H_ 29 #endif // CHROME_BROWSER_REMOVE_ROWS_TABLE_MODEL_H_
31 30
OLDNEW
« no previous file with comments | « chrome/browser/memory_purger.h ('k') | chrome/browser/repost_form_warning_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698