diff options
Diffstat (limited to 'ui/base/win')
-rw-r--r-- | ui/base/win/internal_constants.cc | 13 | ||||
-rw-r--r-- | ui/base/win/internal_constants.h | 20 |
2 files changed, 33 insertions, 0 deletions
diff --git a/ui/base/win/internal_constants.cc b/ui/base/win/internal_constants.cc new file mode 100644 index 0000000..325ab90 --- /dev/null +++ b/ui/base/win/internal_constants.cc @@ -0,0 +1,13 @@ +// Copyright (c) 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "ui/base/win/internal_constants.h" + +namespace ui { + +const wchar_t kIgnoreTouchMouseActivateForWindow[] = + L"Chrome.IgnoreMouseActivate"; + +} // namespace ui + diff --git a/ui/base/win/internal_constants.h b/ui/base/win/internal_constants.h new file mode 100644 index 0000000..d81c34d --- /dev/null +++ b/ui/base/win/internal_constants.h @@ -0,0 +1,20 @@ +// Copyright (c) 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef UI_BASE_WIN_INTERNAL_CONSTANTS_H_ +#define UI_BASE_WIN_INTERNAL_CONSTANTS_H_ + +#include "ui/base/ui_base_export.h" + +namespace ui { + +// This window property if set on the window does not activate the window for a +// touch based WM_MOUSEACTIVATE message. +UI_BASE_EXPORT extern const wchar_t kIgnoreTouchMouseActivateForWindow[]; + +} // namespace ui + +#endif // UI_BASE_WIN_INTERNAL_CONSTANTS_H_ + + |