| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 ASH_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ | 5 #ifndef ASH_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ |
| 6 #define ASH_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ | 6 #define ASH_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 namespace ash { | 39 namespace ash { |
| 40 | 40 |
| 41 class ASH_EXPORT ImmersiveFullscreenController | 41 class ASH_EXPORT ImmersiveFullscreenController |
| 42 : public gfx::AnimationDelegate, | 42 : public gfx::AnimationDelegate, |
| 43 public ui::EventHandler, | 43 public ui::EventHandler, |
| 44 public ::wm::TransientWindowObserver, | 44 public ::wm::TransientWindowObserver, |
| 45 public views::FocusChangeListener, | 45 public views::FocusChangeListener, |
| 46 public views::WidgetObserver, | 46 public views::WidgetObserver, |
| 47 public ImmersiveRevealedLock::Delegate { | 47 public ImmersiveRevealedLock::Delegate { |
| 48 public: | 48 public: |
| 49 static const int kMouseRevealBoundsHeight; |
| 50 |
| 49 // The enum is used for an enumerated histogram. New items should be only | 51 // The enum is used for an enumerated histogram. New items should be only |
| 50 // added to the end. | 52 // added to the end. |
| 51 enum WindowType { | 53 enum WindowType { |
| 52 WINDOW_TYPE_OTHER, | 54 WINDOW_TYPE_OTHER, |
| 53 WINDOW_TYPE_BROWSER, | 55 WINDOW_TYPE_BROWSER, |
| 54 WINDOW_TYPE_HOSTED_APP, | 56 WINDOW_TYPE_HOSTED_APP, |
| 55 WINDOW_TYPE_PACKAGED_APP, | 57 WINDOW_TYPE_PACKAGED_APP, |
| 56 WINDOW_TYPE_COUNT | 58 WINDOW_TYPE_COUNT |
| 57 }; | 59 }; |
| 58 | 60 |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 scoped_ptr<BubbleManager> bubble_manager_; | 292 scoped_ptr<BubbleManager> bubble_manager_; |
| 291 | 293 |
| 292 base::WeakPtrFactory<ImmersiveFullscreenController> weak_ptr_factory_; | 294 base::WeakPtrFactory<ImmersiveFullscreenController> weak_ptr_factory_; |
| 293 | 295 |
| 294 DISALLOW_COPY_AND_ASSIGN(ImmersiveFullscreenController); | 296 DISALLOW_COPY_AND_ASSIGN(ImmersiveFullscreenController); |
| 295 }; | 297 }; |
| 296 | 298 |
| 297 } // namespace ash | 299 } // namespace ash |
| 298 | 300 |
| 299 #endif // ASH_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ | 301 #endif // ASH_WM_IMMERSIVE_FULLSCREEN_CONTROLLER_H_ |
| OLD | NEW |