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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_edit_view_win.h

Issue 467015: Reverts my r4300.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_edit_view_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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 MSG_WM_MBUTTONDOWN(OnNonLButtonDown) 170 MSG_WM_MBUTTONDOWN(OnNonLButtonDown)
171 MSG_WM_MBUTTONUP(OnNonLButtonUp) 171 MSG_WM_MBUTTONUP(OnNonLButtonUp)
172 MSG_WM_MOUSEACTIVATE(OnMouseActivate) 172 MSG_WM_MOUSEACTIVATE(OnMouseActivate)
173 MSG_WM_MOUSEMOVE(OnMouseMove) 173 MSG_WM_MOUSEMOVE(OnMouseMove)
174 MSG_WM_MOUSEWHEEL(OnMouseWheel) 174 MSG_WM_MOUSEWHEEL(OnMouseWheel)
175 MSG_WM_PAINT(OnPaint) 175 MSG_WM_PAINT(OnPaint)
176 MSG_WM_PASTE(OnPaste) 176 MSG_WM_PASTE(OnPaste)
177 MSG_WM_RBUTTONDOWN(OnNonLButtonDown) 177 MSG_WM_RBUTTONDOWN(OnNonLButtonDown)
178 MSG_WM_RBUTTONUP(OnNonLButtonUp) 178 MSG_WM_RBUTTONUP(OnNonLButtonUp)
179 MSG_WM_SETFOCUS(OnSetFocus) 179 MSG_WM_SETFOCUS(OnSetFocus)
180 MSG_WM_SETTEXT(OnSetText)
180 MSG_WM_SYSCHAR(OnSysChar) // WM_SYSxxx == WM_xxx with ALT down 181 MSG_WM_SYSCHAR(OnSysChar) // WM_SYSxxx == WM_xxx with ALT down
181 MSG_WM_SYSKEYDOWN(OnKeyDown) 182 MSG_WM_SYSKEYDOWN(OnKeyDown)
182 MSG_WM_SYSKEYUP(OnKeyUp) 183 MSG_WM_SYSKEYUP(OnKeyUp)
183 MSG_WM_WINDOWPOSCHANGING(OnWindowPosChanging) 184 MSG_WM_WINDOWPOSCHANGING(OnWindowPosChanging)
184 DEFAULT_REFLECTION_HANDLER() // avoids black margin area 185 DEFAULT_REFLECTION_HANDLER() // avoids black margin area
185 END_MSG_MAP() 186 END_MSG_MAP()
186 187
187 // menus::SimpleMenuModel::Delegate 188 // menus::SimpleMenuModel::Delegate
188 virtual bool IsCommandIdChecked(int command_id) const; 189 virtual bool IsCommandIdChecked(int command_id) const;
189 virtual bool IsCommandIdEnabled(int command_id) const; 190 virtual bool IsCommandIdEnabled(int command_id) const;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 void OnLButtonDown(UINT keys, const CPoint& point); 254 void OnLButtonDown(UINT keys, const CPoint& point);
254 void OnLButtonUp(UINT keys, const CPoint& point); 255 void OnLButtonUp(UINT keys, const CPoint& point);
255 LRESULT OnMouseActivate(HWND window, UINT hit_test, UINT mouse_message); 256 LRESULT OnMouseActivate(HWND window, UINT hit_test, UINT mouse_message);
256 void OnMouseMove(UINT keys, const CPoint& point); 257 void OnMouseMove(UINT keys, const CPoint& point);
257 BOOL OnMouseWheel(UINT flags, short delta, CPoint point); 258 BOOL OnMouseWheel(UINT flags, short delta, CPoint point);
258 void OnNonLButtonDown(UINT keys, const CPoint& point); 259 void OnNonLButtonDown(UINT keys, const CPoint& point);
259 void OnNonLButtonUp(UINT keys, const CPoint& point); 260 void OnNonLButtonUp(UINT keys, const CPoint& point);
260 void OnPaint(HDC bogus_hdc); 261 void OnPaint(HDC bogus_hdc);
261 void OnPaste(); 262 void OnPaste();
262 void OnSetFocus(HWND focus_wnd); 263 void OnSetFocus(HWND focus_wnd);
264 LRESULT OnSetText(const wchar_t* text);
263 void OnSysChar(TCHAR ch, UINT repeat_count, UINT flags); 265 void OnSysChar(TCHAR ch, UINT repeat_count, UINT flags);
264 void OnWindowPosChanging(WINDOWPOS* window_pos); 266 void OnWindowPosChanging(WINDOWPOS* window_pos);
265 267
266 // Helper function for OnChar() and OnKeyDown() that handles keystrokes that 268 // Helper function for OnChar() and OnKeyDown() that handles keystrokes that
267 // could change the text in the edit. 269 // could change the text in the edit.
268 void HandleKeystroke(UINT message, TCHAR key, UINT repeat_count, UINT flags); 270 void HandleKeystroke(UINT message, TCHAR key, UINT repeat_count, UINT flags);
269 271
270 // Helper functions for OnKeyDown() that handle accelerators applicable when 272 // Helper functions for OnKeyDown() that handle accelerators applicable when
271 // we're not read-only and all the time, respectively. These return true if 273 // we're not read-only and all the time, respectively. These return true if
272 // they handled the key. 274 // they handled the key.
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; 489 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_;
488 490
489 // We explicitly retain a handle to this library so it never gets unloaded out 491 // We explicitly retain a handle to this library so it never gets unloaded out
490 // from underneath us. 492 // from underneath us.
491 HMODULE riched20dll_handle_; 493 HMODULE riched20dll_handle_;
492 494
493 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); 495 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin);
494 }; 496 };
495 497
496 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ 498 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_edit_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698