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

Side by Side Diff: ui/aura/client/aura_constants.h

Issue 1565013002: Don't send touch events to windows like menus when the touch occurs outside the menu bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove include Created 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_AURA_CLIENT_AURA_CONSTANTS_H_ 5 #ifndef UI_AURA_CLIENT_AURA_CONSTANTS_H_
6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_ 6 #define UI_AURA_CLIENT_AURA_CONSTANTS_H_
7 7
8 #include "ui/aura/aura_export.h" 8 #include "ui/aura/aura_export.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 #include "ui/base/ui_base_types.h" 10 #include "ui/base/ui_base_types.h"
(...skipping 30 matching lines...) Expand all
41 // attention. 41 // attention.
42 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey; 42 AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey;
43 43
44 // A property key to store the host window of a window. This lets 44 // A property key to store the host window of a window. This lets
45 // WebContentsViews find the windows that should constrain NPAPI plugins. 45 // WebContentsViews find the windows that should constrain NPAPI plugins.
46 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey; 46 AURA_EXPORT extern const WindowProperty<Window*>* const kHostWindowKey;
47 47
48 // A property key to store the window modality. 48 // A property key to store the window modality.
49 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey; 49 AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey;
50 50
51 // A property key to store whether it is ok to release capture for a window
52 // if a touch happens outside its bounds.
53 AURA_EXPORT extern const WindowProperty<bool>* const
54 kReleaseCaptureOnTouchOutside;
55
51 // A property key to store the restore bounds for a window. 56 // A property key to store the restore bounds for a window.
52 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey; 57 AURA_EXPORT extern const WindowProperty<gfx::Rect*>* const kRestoreBoundsKey;
53 58
54 // A property key to store ui::WindowShowState for restoring a window. 59 // A property key to store ui::WindowShowState for restoring a window.
55 // Used in Ash to remember the show state before the window was minimized. 60 // Used in Ash to remember the show state before the window was minimized.
56 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const 61 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const
57 kRestoreShowStateKey; 62 kRestoreShowStateKey;
58 63
59 // A property key to store ui::WindowShowState for a window. 64 // A property key to store ui::WindowShowState for a window.
60 // See ui/base/ui_base_types.h for its definition. 65 // See ui/base/ui_base_types.h for its definition.
61 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const 66 AURA_EXPORT extern const WindowProperty<ui::WindowShowState>* const
62 kShowStateKey; 67 kShowStateKey;
63 68
64 // Alphabetical sort. 69 // Alphabetical sort.
65 70
66 } // namespace client 71 } // namespace client
67 } // namespace aura 72 } // namespace aura
68 73
69 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_ 74 #endif // UI_AURA_CLIENT_AURA_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | ui/aura/client/aura_constants.cc » ('j') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698