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

Side by Side Diff: ash/wm/immersive_fullscreen_controller.h

Issue 198413003: Enable immersive fullscreen on Windows Ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix issues from previous review comment. Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | ash/wm/immersive_fullscreen_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_layout_manager_unittest.cc ('k') | ash/wm/immersive_fullscreen_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698