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

Side by Side Diff: ash/wm/wm_types.cc

Issue 27458002: Allow setting different hit test bounds overrides for mouse and touch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
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 #include "ash/wm/wm_types.h" 5 #include "ash/wm/wm_types.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 27 matching lines...) Expand all
38 return ui::SHOW_STATE_FULLSCREEN; 38 return ui::SHOW_STATE_FULLSCREEN;
39 case SHOW_TYPE_DETACHED: 39 case SHOW_TYPE_DETACHED:
40 return ui::SHOW_STATE_DETACHED; 40 return ui::SHOW_STATE_DETACHED;
41 case SHOW_TYPE_END: 41 case SHOW_TYPE_END:
42 NOTREACHED(); 42 NOTREACHED();
43 } 43 }
44 NOTREACHED(); 44 NOTREACHED();
45 return ui::SHOW_STATE_DEFAULT; 45 return ui::SHOW_STATE_DEFAULT;
46 } 46 }
47 47
48 bool IsImmersiveFullscreenType(FullscreenType type) {
49 return type == FULLSCREEN_TYPE_IMMERSIVE_MINIMAL_CHROME ||
50 type == FULLSCREEN_TYPE_IMMERSIVE_NO_CHROME;
51 }
52
48 } // namespace wm 53 } // namespace wm
49 } // namespace ash 54 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698