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

Side by Side Diff: ui/views/win/hwnd_message_handler_delegate.h

Issue 1935883002: win: Fix black pixel artifact at right and bottom Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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 | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 5 #ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 6 #define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
7 7
8 #include "ui/views/views_export.h" 8 #include "ui/views/views_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 virtual void HandleNativeBlur(HWND focused_window) = 0; 182 virtual void HandleNativeBlur(HWND focused_window) = 0;
183 183
184 // Called when a mouse event is received. Returns true if the event was 184 // Called when a mouse event is received. Returns true if the event was
185 // handled by the delegate. 185 // handled by the delegate.
186 virtual bool HandleMouseEvent(const ui::MouseEvent& event) = 0; 186 virtual bool HandleMouseEvent(const ui::MouseEvent& event) = 0;
187 187
188 // Called when an untranslated key event is received (i.e. pre-IME 188 // Called when an untranslated key event is received (i.e. pre-IME
189 // translation). 189 // translation).
190 virtual void HandleKeyEvent(ui::KeyEvent* event) = 0; 190 virtual void HandleKeyEvent(ui::KeyEvent* event) = 0;
191 191
192 // Called when the window is being resized.
193 virtual void HandleSizing(UINT edge, RECT* rect) = 0;
194
192 // Called when a touch event is received. 195 // Called when a touch event is received.
193 virtual void HandleTouchEvent(const ui::TouchEvent& event) = 0; 196 virtual void HandleTouchEvent(const ui::TouchEvent& event) = 0;
194 197
195 // Called when an IME message needs to be processed by the delegate. Returns 198 // Called when an IME message needs to be processed by the delegate. Returns
196 // true if the event was handled and no default processing should be 199 // true if the event was handled and no default processing should be
197 // performed. 200 // performed.
198 virtual bool HandleIMEMessage(UINT message, 201 virtual bool HandleIMEMessage(UINT message,
199 WPARAM w_param, 202 WPARAM w_param,
200 LPARAM l_param, 203 LPARAM l_param,
201 LRESULT* result) = 0; 204 LRESULT* result) = 0;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 // Called when the window size has finished changing. 245 // Called when the window size has finished changing.
243 virtual void HandleWindowSizeChanged() = 0; 246 virtual void HandleWindowSizeChanged() = 0;
244 247
245 protected: 248 protected:
246 virtual ~HWNDMessageHandlerDelegate() {} 249 virtual ~HWNDMessageHandlerDelegate() {}
247 }; 250 };
248 251
249 } // namespace views 252 } // namespace views
250 253
251 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_ 254 #endif // UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698