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

Side by Side Diff: components/exo/shell_surface.h

Issue 2640123004: Initial support for native accessibility in ARC (Closed)
Patch Set: address feedback Created 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_EXO_SHELL_SURFACE_H_ 5 #ifndef COMPONENTS_EXO_SHELL_SURFACE_H_
6 #define COMPONENTS_EXO_SHELL_SURFACE_H_ 6 #define COMPONENTS_EXO_SHELL_SURFACE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 const views::Widget* GetWidget() const override; 203 const views::Widget* GetWidget() const override;
204 views::View* GetContentsView() override; 204 views::View* GetContentsView() override;
205 views::NonClientFrameView* CreateNonClientFrameView( 205 views::NonClientFrameView* CreateNonClientFrameView(
206 views::Widget* widget) override; 206 views::Widget* widget) override;
207 bool WidgetHasHitTestMask() const override; 207 bool WidgetHasHitTestMask() const override;
208 void GetWidgetHitTestMask(gfx::Path* mask) const override; 208 void GetWidgetHitTestMask(gfx::Path* mask) const override;
209 209
210 // Overridden from views::View: 210 // Overridden from views::View:
211 gfx::Size GetPreferredSize() const override; 211 gfx::Size GetPreferredSize() const override;
212 gfx::Size GetMinimumSize() const override; 212 gfx::Size GetMinimumSize() const override;
213 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
213 214
214 // Overridden from ash::wm::WindowStateObserver: 215 // Overridden from ash::wm::WindowStateObserver:
215 void OnPreWindowStateTypeChange(ash::wm::WindowState* window_state, 216 void OnPreWindowStateTypeChange(ash::wm::WindowState* window_state,
216 ash::wm::WindowStateType old_type) override; 217 ash::wm::WindowStateType old_type) override;
217 void OnPostWindowStateTypeChange(ash::wm::WindowState* window_state, 218 void OnPostWindowStateTypeChange(ash::wm::WindowState* window_state,
218 ash::wm::WindowStateType old_type) override; 219 ash::wm::WindowStateType old_type) override;
219 220
220 // Overridden from aura::WindowObserver: 221 // Overridden from aura::WindowObserver:
221 void OnWindowBoundsChanged(aura::Window* window, 222 void OnWindowBoundsChanged(aura::Window* window,
222 const gfx::Rect& old_bounds, 223 const gfx::Rect& old_bounds,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 std::unique_ptr<ScopedAnimationsDisabled> scoped_animations_disabled_; 321 std::unique_ptr<ScopedAnimationsDisabled> scoped_animations_disabled_;
321 int top_inset_height_ = 0; 322 int top_inset_height_ = 0;
322 int pending_top_inset_height_ = 0; 323 int pending_top_inset_height_ = 0;
323 324
324 DISALLOW_COPY_AND_ASSIGN(ShellSurface); 325 DISALLOW_COPY_AND_ASSIGN(ShellSurface);
325 }; 326 };
326 327
327 } // namespace exo 328 } // namespace exo
328 329
329 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_ 330 #endif // COMPONENTS_EXO_SHELL_SURFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698