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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h

Issue 1236923003: Makes DesktopWindowTreeHostXxx to dispatch key event to InputMethod. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
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_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "ui/aura/window_tree_host.h" 8 #include "ui/aura/window_tree_host.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 void HandleEndWMSizeMove() override; 163 void HandleEndWMSizeMove() override;
164 void HandleMove() override; 164 void HandleMove() override;
165 void HandleWorkAreaChanged() override; 165 void HandleWorkAreaChanged() override;
166 void HandleVisibilityChanging(bool visible) override; 166 void HandleVisibilityChanging(bool visible) override;
167 void HandleVisibilityChanged(bool visible) override; 167 void HandleVisibilityChanged(bool visible) override;
168 void HandleClientSizeChanged(const gfx::Size& new_size) override; 168 void HandleClientSizeChanged(const gfx::Size& new_size) override;
169 void HandleFrameChanged() override; 169 void HandleFrameChanged() override;
170 void HandleNativeFocus(HWND last_focused_window) override; 170 void HandleNativeFocus(HWND last_focused_window) override;
171 void HandleNativeBlur(HWND focused_window) override; 171 void HandleNativeBlur(HWND focused_window) override;
172 bool HandleMouseEvent(const ui::MouseEvent& event) override; 172 bool HandleMouseEvent(const ui::MouseEvent& event) override;
173 bool HandleKeyEvent(const ui::KeyEvent& event) override; 173 void HandleKeyEvent(ui::KeyEvent* event) override;
174 bool HandleUntranslatedKeyEvent(const ui::KeyEvent& event) override;
175 void HandleTouchEvent(const ui::TouchEvent& event) override; 174 void HandleTouchEvent(const ui::TouchEvent& event) override;
176 bool HandleIMEMessage(UINT message, 175 bool HandleIMEMessage(UINT message,
177 WPARAM w_param, 176 WPARAM w_param,
178 LPARAM l_param, 177 LPARAM l_param,
179 LRESULT* result) override; 178 LRESULT* result) override;
180 void HandleInputLanguageChange(DWORD character_set, 179 void HandleInputLanguageChange(DWORD character_set,
181 HKL input_language_id) override; 180 HKL input_language_id) override;
182 void HandlePaintAccelerated(const gfx::Rect& invalid_rect) override; 181 void HandlePaintAccelerated(const gfx::Rect& invalid_rect) override;
183 bool HandleTooltipNotify(int w_param, 182 bool HandleTooltipNotify(int w_param,
184 NMHDR* l_param, 183 NMHDR* l_param,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 static bool is_cursor_visible_; 252 static bool is_cursor_visible_;
254 253
255 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 254 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
256 255
257 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 256 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
258 }; 257 };
259 258
260 } // namespace views 259 } // namespace views
261 260
262 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 261 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698