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

Unified Diff: views/controls/table/table_view_observer.h

Issue 8655001: views: Move table and tree directories to ui/views/controls/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: exclude native_widget_win_unittest too Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/table/table_view2.cc ('k') | views/controls/table/table_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/table/table_view_observer.h
diff --git a/views/controls/table/table_view_observer.h b/views/controls/table/table_view_observer.h
deleted file mode 100644
index 344411823d408690d76a73227739d423439a6a89..0000000000000000000000000000000000000000
--- a/views/controls/table/table_view_observer.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef VIEWS_CONTROLS_TABLE_TABLE_VIEW_OBSERVER_H_
-#define VIEWS_CONTROLS_TABLE_TABLE_VIEW_OBSERVER_H_
-#pragma once
-
-#include "ui/base/keycodes/keyboard_codes.h"
-
-namespace views {
-
-class TableView;
-class TableView2;
-
-// TableViewObserver is notified about the TableView selection.
-class TableViewObserver {
- public:
- virtual ~TableViewObserver() {}
-
- // Invoked when the selection changes.
- virtual void OnSelectionChanged() = 0;
-
- // Optional method invoked when the user double clicks on the table.
- virtual void OnDoubleClick() {}
-
- // Optional method invoked when the user middle clicks on the table.
- virtual void OnMiddleClick() {}
-
- // Optional method invoked when the user hits a key with the table in focus.
- virtual void OnKeyDown(ui::KeyboardCode virtual_keycode) {}
-
- // Invoked when the user presses the delete key.
- virtual void OnTableViewDelete(TableView* table_view) {}
-
- // Invoked when the user presses the delete key.
- virtual void OnTableView2Delete(TableView2* table_view) {}
-};
-
-} // namespace views
-
-#endif // VIEWS_CONTROLS_TABLE_TABLE_VIEW_OBSERVER_H_
« no previous file with comments | « views/controls/table/table_view2.cc ('k') | views/controls/table/table_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698