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

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

Issue 1566083002: Makes sure the keyboard typing isn't blocked when InputMethod::OnFocus() is not correctly called. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compiled. Created 4 years, 11 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 "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 LRESULT* l_result) override; 185 LRESULT* l_result) override;
186 void HandleMenuLoop(bool in_menu_loop) override; 186 void HandleMenuLoop(bool in_menu_loop) override;
187 bool PreHandleMSG(UINT message, 187 bool PreHandleMSG(UINT message,
188 WPARAM w_param, 188 WPARAM w_param,
189 LPARAM l_param, 189 LPARAM l_param,
190 LRESULT* result) override; 190 LRESULT* result) override;
191 void PostHandleMSG(UINT message, WPARAM w_param, LPARAM l_param) override; 191 void PostHandleMSG(UINT message, WPARAM w_param, LPARAM l_param) override;
192 bool HandleScrollEvent(const ui::ScrollEvent& event) override; 192 bool HandleScrollEvent(const ui::ScrollEvent& event) override;
193 void HandleWindowSizeChanging() override; 193 void HandleWindowSizeChanging() override;
194 void HandleWindowSizeChanged() override; 194 void HandleWindowSizeChanged() override;
195 void AddLog(const std::string& log_string) override;
195 196
196 Widget* GetWidget(); 197 Widget* GetWidget();
197 const Widget* GetWidget() const; 198 const Widget* GetWidget() const;
198 HWND GetHWND() const; 199 HWND GetHWND() const;
199 200
200 private: 201 private:
201 void SetWindowTransparency(); 202 void SetWindowTransparency();
202 203
203 // Returns true if a modal window is active in the current root window chain. 204 // Returns true if a modal window is active in the current root window chain.
204 bool IsModalWindowActive() const; 205 bool IsModalWindowActive() const;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 static bool is_cursor_visible_; 255 static bool is_cursor_visible_;
255 256
256 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; 257 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
257 258
258 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 259 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
259 }; 260 };
260 261
261 } // namespace views 262 } // namespace views
262 263
263 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 264 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698