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

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

Issue 2781613003: Added a class acting as a fake caret for accessibility. (Closed)
Patch Set: Added code that handles views. Created 3 years, 7 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 void MoveCursorToScreenLocationInPixels( 125 void MoveCursorToScreenLocationInPixels(
126 const gfx::Point& location_in_pixels) override; 126 const gfx::Point& location_in_pixels) override;
127 127
128 // Overridden from aura::client::AnimationHost 128 // Overridden from aura::client::AnimationHost
129 void SetHostTransitionOffsets( 129 void SetHostTransitionOffsets(
130 const gfx::Vector2d& top_left_delta, 130 const gfx::Vector2d& top_left_delta,
131 const gfx::Vector2d& bottom_right_delta) override; 131 const gfx::Vector2d& bottom_right_delta) override;
132 void OnWindowHidingAnimationCompleted() override; 132 void OnWindowHidingAnimationCompleted() override;
133 133
134 // Overridden from HWNDMessageHandlerDelegate: 134 // Overridden from HWNDMessageHandlerDelegate:
135 void AddInputMethodObserver() const override;
136 void RemoveInputMethodObserver() const override;
135 bool HasNonClientView() const override; 137 bool HasNonClientView() const override;
136 FrameMode GetFrameMode() const override; 138 FrameMode GetFrameMode() const override;
137 bool HasFrame() const override; 139 bool HasFrame() const override;
138 void SchedulePaint() override; 140 void SchedulePaint() override;
139 void SetAlwaysRenderAsActive(bool always_render_as_active) override; 141 void SetAlwaysRenderAsActive(bool always_render_as_active) override;
140 bool IsAlwaysRenderAsActive() override; 142 bool IsAlwaysRenderAsActive() override;
141 bool CanResize() const override; 143 bool CanResize() const override;
142 bool CanMaximize() const override; 144 bool CanMaximize() const override;
143 bool CanMinimize() const override; 145 bool CanMinimize() const override;
144 bool CanActivate() const override; 146 bool CanActivate() const override;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // Indicates if current window will receive mouse events when should not 273 // Indicates if current window will receive mouse events when should not
272 // become activated. 274 // become activated.
273 bool wants_mouse_events_when_inactive_ = false; 275 bool wants_mouse_events_when_inactive_ = false;
274 276
275 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 277 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
276 }; 278 };
277 279
278 } // namespace views 280 } // namespace views
279 281
280 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 282 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698