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

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

Issue 2331093002: UMA stats for stylus usage (Closed)
Patch Set: Created 4 years, 3 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 #include "ui/aura/client/aura_constants.h" 5 #include "ui/aura/client/aura_constants.h"
6 6
7 #include "ui/aura/window_property.h" 7 #include "ui/aura/window_property.h"
8 #include "ui/gfx/geometry/rect.h" 8 #include "ui/gfx/geometry/rect.h"
9 9
10 DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(AURA_EXPORT, bool) 10 DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(AURA_EXPORT, bool)
(...skipping 21 matching lines...) Expand all
32 DEFINE_WINDOW_PROPERTY_KEY(bool, kMirroringEnabledKey, false); 32 DEFINE_WINDOW_PROPERTY_KEY(bool, kMirroringEnabledKey, false);
33 DEFINE_WINDOW_PROPERTY_KEY(Window*, kHostWindowKey, nullptr); 33 DEFINE_WINDOW_PROPERTY_KEY(Window*, kHostWindowKey, nullptr);
34 DEFINE_WINDOW_PROPERTY_KEY(ui::ModalType, kModalKey, ui::MODAL_TYPE_NONE); 34 DEFINE_WINDOW_PROPERTY_KEY(ui::ModalType, kModalKey, ui::MODAL_TYPE_NONE);
35 // gfx::Rect object for RestoreBoundsKey property is owned by the window 35 // gfx::Rect object for RestoreBoundsKey property is owned by the window
36 // and will be freed automatically. 36 // and will be freed automatically.
37 DEFINE_OWNED_WINDOW_PROPERTY_KEY(gfx::Rect, kRestoreBoundsKey, nullptr); 37 DEFINE_OWNED_WINDOW_PROPERTY_KEY(gfx::Rect, kRestoreBoundsKey, nullptr);
38 DEFINE_WINDOW_PROPERTY_KEY( 38 DEFINE_WINDOW_PROPERTY_KEY(
39 ui::WindowShowState, kRestoreShowStateKey, ui::SHOW_STATE_DEFAULT); 39 ui::WindowShowState, kRestoreShowStateKey, ui::SHOW_STATE_DEFAULT);
40 DEFINE_WINDOW_PROPERTY_KEY( 40 DEFINE_WINDOW_PROPERTY_KEY(
41 ui::WindowShowState, kShowStateKey, ui::SHOW_STATE_DEFAULT); 41 ui::WindowShowState, kShowStateKey, ui::SHOW_STATE_DEFAULT);
42 DEFINE_WINDOW_PROPERTY_KEY(int, kStylusWindowTypeBucket, 0);
42 DEFINE_WINDOW_PROPERTY_KEY(int, kTopViewInset, 0); 43 DEFINE_WINDOW_PROPERTY_KEY(int, kTopViewInset, 0);
43 DEFINE_OWNED_WINDOW_PROPERTY_KEY(gfx::ImageSkia, kWindowIconKey, nullptr); 44 DEFINE_OWNED_WINDOW_PROPERTY_KEY(gfx::ImageSkia, kWindowIconKey, nullptr);
44 45
45 } // namespace client 46 } // namespace client
46 } // namespace aura 47 } // namespace aura
OLDNEW
« ui/aura/client/aura_constants.h ('K') | « ui/aura/client/aura_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698