| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |