summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_property.h
Commit message (Collapse)AuthorAgeFilesLines
* display ID is now 64 bit and this was causing miscellaneousoshima@chromium.org2012-09-201-16/+19
| | | | | | | | | | | | | issues on 32bit system. This should fix them. I also added compile time assertion to prevent similar issue from happening. BUG=chrome-os-partner:14225, chrome-os-partner:14317 TEST=see bug. Review URL: https://codereview.chromium.org/10969009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157781 0039d316-1c4b-4281-b951-d872f2087c98
* ui: No need to typedef testing::Test in unittests.tfarina@chromium.org2012-07-271-1/+1
| | | | | | | | | | | TEST() macro should be used instead. TEST=ui_unittests R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10808072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148710 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-111-1/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* Use unique name for property deallocator.oshima@chromium.org2012-06-081-7/+7
| | | | | | | | | | | | | Move type completeness check into functino. anonymous namespaces within the same namespace are treated as the same namespace. This is to avoid duplicated definitions. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10533063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141243 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing "aura" namespace in propery define macro so thatoshima@chromium.org2012-06-071-1/+1
| | | | | | | | | | | this works in other namespaces. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10533040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141075 0039d316-1c4b-4281-b951-d872f2087c98
* * property can now manage value's memoryoshima@chromium.org2012-03-061-12/+56
| | | | | | | | | | | | * reduced boilerplate code * map now contains human readable key string. BUG= TEST=none Review URL: http://codereview.chromium.org/9560009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125153 0039d316-1c4b-4281-b951-d872f2087c98
* aura::Window only supports void* and int values for custom properties, which ↵benrg@chromium.org2012-02-111-0/+98
must be cast to and from the correct type at each use point. This CL introduces typed properties and templated aura::Window::[GS]etProperty methods that enforce the use of the declared type. Only pointer types and integral types that fits in intptr_t are supported, and ownership behavior is the same as before. This CL also adds support for default property values other than NULL/0. BUG=none TEST=updated unit tests Review URL: http://codereview.chromium.org/8533025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121583 0039d316-1c4b-4281-b951-d872f2087c98