diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-24 22:58:08 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-24 22:58:08 +0000 |
commit | 62ca321dd5cd95b7e4fc9de922c2ca0703971361 (patch) | |
tree | ce782f196bd0933352bffae1130fd365a626ce25 /chrome/views/native_control.h | |
parent | 9d6326fae66278988d0eb3f9d5b44e7d9f31870e (diff) | |
download | chromium_src-62ca321dd5cd95b7e4fc9de922c2ca0703971361.zip chromium_src-62ca321dd5cd95b7e4fc9de922c2ca0703971361.tar.gz chromium_src-62ca321dd5cd95b7e4fc9de922c2ca0703971361.tar.bz2 |
Handful of changes to NativeControl, TreeView and TableView I'm going
to need for the bookmark manager. Specifically:
. NativeController now delegates OnContextMenu to the
ContextMenuController.
. TableView allows a NULL model.
. TableView::SetColumns was buggy.
. Added a method that TableView invokes after painting.
. Added methods to TreeView for getting various state information.
BUG=674
TEST=make sure the various places in the UI we uses trees and table
work fine: cookies table, passwords table, task manager, bookmark
editor, search engines.
Review URL: http://codereview.chromium.org/8145
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/native_control.h')
-rw-r--r-- | chrome/views/native_control.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/native_control.h b/chrome/views/native_control.h index 68529b9..d96da23 100644 --- a/chrome/views/native_control.h +++ b/chrome/views/native_control.h @@ -54,7 +54,7 @@ class NativeControl : public View { virtual LRESULT OnCommand(UINT code, int id, HWND source) { return 0; } // Invoked when the appropriate gesture for a context menu is issued. - virtual void OnContextMenu(const CPoint& location) {} + virtual void OnContextMenu(const CPoint& location); // Overridden so to set the native focus to the native control. virtual void Focus(); |