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

Side by Side Diff: views/controls/table/native_table_win.h

Issue 3165064: Move the keyboard files from base/ to app/. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: latest merge Created 10 years, 3 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 | « views/controls/table/group_table_view.cc ('k') | views/controls/table/native_table_win.cc » ('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 VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_ 5 #ifndef VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_
6 #define VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_ 6 #define VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // changed. 67 // changed.
68 virtual void OnSelectedStateChanged(); 68 virtual void OnSelectedStateChanged();
69 69
70 // Notification from the ListView that the used double clicked the table. 70 // Notification from the ListView that the used double clicked the table.
71 virtual void OnDoubleClick(); 71 virtual void OnDoubleClick();
72 72
73 // Notification from the ListView that the user middle clicked the table. 73 // Notification from the ListView that the user middle clicked the table.
74 virtual void OnMiddleClick(); 74 virtual void OnMiddleClick();
75 75
76 // Overridden from NativeControl. Notifies the observer. 76 // Overridden from NativeControl. Notifies the observer.
77 virtual bool OnKeyDown(base::KeyboardCode virtual_keycode); 77 virtual bool OnKeyDown(app::KeyboardCode virtual_keycode);
78 78
79 // Custom drawing of our icons. 79 // Custom drawing of our icons.
80 LRESULT OnCustomDraw(NMLVCUSTOMDRAW* draw_info); 80 LRESULT OnCustomDraw(NMLVCUSTOMDRAW* draw_info);
81 81
82 void UpdateListViewCache(int start, int length, bool add); 82 void UpdateListViewCache(int start, int length, bool add);
83 83
84 void UpdateContentOffset(); 84 void UpdateContentOffset();
85 85
86 // Window procedure of the list view class. We subclass the list view to 86 // Window procedure of the list view class. We subclass the list view to
87 // ignore WM_ERASEBKGND, which gives smoother painting during resizing. 87 // ignore WM_ERASEBKGND, which gives smoother painting during resizing.
(...skipping 30 matching lines...) Expand all
118 118
119 // Size (width and height) of images. 119 // Size (width and height) of images.
120 static const int kImageSize; 120 static const int kImageSize;
121 121
122 DISALLOW_COPY_AND_ASSIGN(NativeTableWin); 122 DISALLOW_COPY_AND_ASSIGN(NativeTableWin);
123 }; 123 };
124 124
125 } // namespace views 125 } // namespace views
126 126
127 #endif // VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_ 127 #endif // VIEWS_CONTROLS_TABLE_NATIVE_TABLE_WIN_H_
OLDNEW
« no previous file with comments | « views/controls/table/group_table_view.cc ('k') | views/controls/table/native_table_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698