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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_ 5 #ifndef CHROME_BROWSER_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_
6 #define CHROME_BROWSER_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_ 6 #define CHROME_BROWSER_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 24 matching lines...) Expand all
35 35
36 // TableModel methods: 36 // TableModel methods:
37 virtual int RowCount() OVERRIDE; 37 virtual int RowCount() OVERRIDE;
38 virtual string16 GetText(int row, int column_id) OVERRIDE; 38 virtual string16 GetText(int row, int column_id) OVERRIDE;
39 virtual void SetObserver(ui::TableModelObserver* observer) OVERRIDE; 39 virtual void SetObserver(ui::TableModelObserver* observer) OVERRIDE;
40 virtual bool HasGroups() OVERRIDE; 40 virtual bool HasGroups() OVERRIDE;
41 virtual Groups GetGroups() OVERRIDE; 41 virtual Groups GetGroups() OVERRIDE;
42 virtual int GetGroupID(int row) OVERRIDE; 42 virtual int GetGroupID(int row) OVERRIDE;
43 43
44 // NotificationObserver methods: 44 // NotificationObserver methods:
45 virtual void Observe(NotificationType type, 45 virtual void Observe(int type,
46 const NotificationSource& source, 46 const NotificationSource& source,
47 const NotificationDetails& details); 47 const NotificationDetails& details);
48 48
49 protected: 49 protected:
50 // Subclasses can override this method for testing. 50 // Subclasses can override this method for testing.
51 virtual void GetPlugins( 51 virtual void GetPlugins(
52 std::vector<webkit::npapi::PluginGroup>* plugin_groups); 52 std::vector<webkit::npapi::PluginGroup>* plugin_groups);
53 53
54 private: 54 private:
55 friend class PluginExceptionsTableModelTest; 55 friend class PluginExceptionsTableModelTest;
(...skipping 20 matching lines...) Expand all
76 bool updates_disabled_; 76 bool updates_disabled_;
77 77
78 // Weak, can be NULL. Our owner should manage its lifetime, see 78 // Weak, can be NULL. Our owner should manage its lifetime, see
79 // TableModel::SetObserver(). 79 // TableModel::SetObserver().
80 ui::TableModelObserver* observer_; 80 ui::TableModelObserver* observer_;
81 81
82 DISALLOW_COPY_AND_ASSIGN(PluginExceptionsTableModel); 82 DISALLOW_COPY_AND_ASSIGN(PluginExceptionsTableModel);
83 }; 83 };
84 84
85 #endif // CHROME_BROWSER_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_ 85 #endif // CHROME_BROWSER_PLUGIN_EXCEPTIONS_TABLE_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugin_data_remover_helper.cc ('k') | chrome/browser/plugin_exceptions_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698