| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Move wm/public into wm target
>
> TBR=sky@chromium.org
> http://crbug/com/308710
>
> Review URL: https://codereview.chromium.org/209383003
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/213033002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259589 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Fix bustage with nested namespace
>
> BUG=
>
> Review URL: https://codereview.chromium.org/212863006
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/212893004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259588 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
> Fix link issue
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/212643004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259587 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
> Fix dep error for non-Aura
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/212893003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259586 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259585 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259582 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://codereview.chromium.org/212863006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259581 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TBR=sky@chromium.org
http://crbug/com/308710
Review URL: https://codereview.chromium.org/209383003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259580 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This follows the rule we setup for //ui which states that each subdir
should be its own component with its own gyp file that lives in its
subdir.
The 'ui' target was renamed to ui_base to match the convention.
BUG=299841
TEST=gyp files.
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/198333004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256788 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This avoids using WED from a number of places and moves us closer to a world where WED is more of an implementation detail of WTH.
R=sky@chromium.org
TBR=sky@chromium.org
http://crbug.com/308843
Review URL: https://codereview.chromium.org/191153004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256053 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change is to add a new build option 'use_allocator' which will
replace 'linux_use_tcmalloc' in the future. It doesn't change the
behavior immediately. The migration plan is as follows:
1) (this change)
... Add 'use_allocator' and set its default to "see_use_tcmalloc".
... Change allocator conditions to check use_allocator firstly.
... Use linux_use_tcmalloc if use_allocator=="see_use_tcmalloc".
... NO IMPACT without specifying use_allocator explicitly.
2) Change Blink to accept use_allocator. http://crrev.com/177053003/
3) Change gyp to accept use_allocator. http://crrev.com/178643004/
4) PSA the transition period to chromium-dev@.
5) (after the PSA-ed transition period)
... Make 'use_allocator' to "tcmalloc" or "none" (it depends) by default.
... Remove all linux_use_tcmalloc.
... Assert in gyp_chromium to check if linux_use_tcmalloc is not specified.
At the point of this change (1), linux_use_tcmalloc is still used by default
because 'use_allocator%': "see_use_tcmalloc".
As written in http://crbug.com/345554, linux_use_tcmalloc would
be confusing to have more options about allocators. We plan to:
A) enable gperftools' heap-profiler with non-tcmalloc allocator,
B) add a new memory allocator instead of tcmalloc.
BUG=345554, 339604, 341349
R=agl@chromium.org, brettw@chromium.org, dgarrett@chromium.org, jam@chromium.org, jamesr@chromium.org, joi@chromium.org, miket@chromium.org, nick@chromium.org, rsleevi@chromium.org, scherkus@chromium.org, sergeyu@chromium.org, shess@chromium.org, sievers@chromium.org, sky@chromium.org, vitalybuka@chromium.org, willchan@chromium.org
Review URL: https://codereview.chromium.org/177353002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255129 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
http://crbug.com/308843
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/174803002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252651 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some users of the test helper want to use ImageTransportFactory, which
also sets up a ContextFactory, meaning we end up setting up 2
ContextFactories currently for those tests. A DCHECK() added to
ContextFactory::SetInstance() caught this. So I've moved the
ContextFactory setup from AuraTestHelper to each of its owners.
While doing so, the the |allow_test_contexts| flag has been inverted
to |enable_pixel_output| since we'll be removing the concept of
test compositor/contexts from these tests.
R=piman@chromium.org
TBR=ben@chromium.org, piman@chromium.org
BUG=270918
Review URL: https://codereview.chromium.org/173113002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252342 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Put this class in its own files in ui/compositor/test/.
R=enne
TBR=sky
BUG=
Review URL: https://codereview.chromium.org/138903017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246823 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It seems that the compositor already takes care of the screen
rotation and scaling. SnapshotAura doesn't need to do that.
Also, snapshot_aura_unittest.cc is not good for rotation and
scaling because the existing test just paint plain red. This
CL changes the paint content to fail if the rotation is not
handled correctly.
BUG=337559
R=piman@chromium.org, enne@chromium.org, sky@chromium.org
TEST=manually && snapshot_unittests
Review URL: https://codereview.chromium.org/137143005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246802 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move into base/numerics subdirectory.
* Rename files for clarity.
* Add owners.
* Rename checked_numeric_cast to checked_cast.
* Fixup callsites and include paths.
BUG=332611
R=brettw@chromium.org, jam@chromium.org
Review URL: https://codereview.chromium.org/141113003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245418 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is the final caller that doesn't fall back or is Aura-only, and so
Aura's snapshot can switch over to only being asynchronous.
BUG=332167
Review URL: https://codereview.chromium.org/127103002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245354 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a very basic surface class with tests under cc/surfaces
to establish gyp and DEPS rules. While this system is under early
development it shouldn't be used by anything outside of unit tests.
BUG=334090
Review URL: https://codereview.chromium.org/131893003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245137 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The synchronous readback path adds complexity through ui and cc
compositors and will ideally be removed. The screenshots already use a
post task mechanism to save to disk, so making them use the asynchronous
readback path instead is straightforward.
BUG=332167
Review URL: https://codereview.chromium.org/126373002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244859 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a version of GrabWindowSnapshotAsync that behaves identically
to GrabWindowSnapshot except with a callback. The snapshot aura unit
tests are updated to use this new async function instead of the sync
one.
In order to make the snapshot tests work properly, they also now have to
use a real gl context so that real drawing and readback can occur
through the compositor.
BUG=331410, 332167
Review URL: https://codereview.chromium.org/119753007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243700 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
... that accepts a RefCountedMemory. This saves some buffer copying in
many places, specially welcome with big images.
Review URL: https://codereview.chromium.org/78903003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243492 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://codereview.chromium.org/123473002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243152 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new AshDesktopMediaList gets list of windows/screens for the window
picker dialog which allows to enable Desktop Capture API on Chrome OS.
BUG=295102
R=ben@chromium.org, hshi@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242361
Review URL: https://codereview.chromium.org/100833002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242578 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
new tests leak: http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%284%29/builds/23948
> Add AshDesktopMediaList and enable Desktop Capture API on Chrome OS.
>
> The new AshDesktopMediaList gets list of windows/screens for the window
> picker dialog which allows to enable Desktop Capture API on Chrome OS.
>
> BUG=295102
> R=ben@chromium.org, hshi@chromium.org
>
> Review URL: https://codereview.chromium.org/100833002
TBR=sergeyu@chromium.org
Review URL: https://codereview.chromium.org/104583004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242366 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new AshDesktopMediaList gets list of windows/screens for the window
picker dialog which allows to enable Desktop Capture API on Chrome OS.
BUG=295102
R=ben@chromium.org, hshi@chromium.org
Review URL: https://codereview.chromium.org/100833002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242361 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Transform logic
- Compositor
R=sky@chromium.org
http://crbug.com/308843
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236017
Review URL: https://codereview.chromium.org/70103020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241929 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
R=sky@chromium.org
http://crbug.com/327489
Review URL: https://codereview.chromium.org/109433013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241649 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This include entry is not necessary anymore because the c++ headers
files were moved into ui/base/android in crrev.com/232036, and ui/base include
entries already cover that.
BUG=None
TEST=checkdeps.py
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/110823003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240036 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Move some non-event related functionality from RootWindow onto RootWindowHost.
>
> - Transform logic
> - Compositor
>
> R=sky@chromium.org
> http://crbug.com/308843
>
> Review URL: https://codereview.chromium.org/70103020
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/77233002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236094 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Transform logic
- Compositor
R=sky@chromium.org
http://crbug.com/308843
Review URL: https://codereview.chromium.org/70103020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236017 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=315884, 78045
TBR=owners
Review URL: https://codereview.chromium.org/67923002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234373 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TBR=sky@chromium.org
http://crbug.com/308843
Review URL: https://codereview.chromium.org/66653005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234166 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=280195
R=sky@chromium.org, kinaba@chromium.org
TEST=None
Review URL: https://codereview.chromium.org/59073011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233678 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- events_base (built by most people) - defining some basic utilities.
- events (built by users of aura/views) - the ui::Event type & friends.
Prior to this there was one target, and platforms that did not want ui::Event would exclude those files explicitly, making it hard to build those files on those platforms without breaking other components.
R=sadrul@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/57433011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233347 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=299841
TEST=None, no functional changes.
R=ben@chromium.org,bulach@chromium.org
Review URL: https://codereview.chromium.org/51663003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232036 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also adds a typedef from RootWindow to WindowEventDispatcher, the eventual name of this type.
Adds a GetDispatcher() method that crawls up to the root Window and returns the WindowEventDispatcher.
R=sky@chromium.org
http://crbug.com/308843
Review URL: https://codereview.chromium.org/37733003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231077 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=236893
R=sky@chromium.org
Review URL: https://codereview.chromium.org/25770005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227102 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://chromium-browser-gpu-tests.commondatastorage.googleapis.com/view_test_results.html?227039_Mac_10_8_Release_Intel_
Revert 227036 "[Mac] Fix ui::GrabViewSnapshot coordinate convers..."
> [Mac] Fix ui::GrabViewSnapshot coordinate conversion: the rect was already in screen coords.
>
> BUG=302157
>
> Review URL: https://codereview.chromium.org/25562002
TBR=pfeldman@chromium.org
Review URL: https://codereview.chromium.org/25674018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227068 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
in screen coords.
BUG=302157
Review URL: https://codereview.chromium.org/25562002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227036 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
R=ben@chromium.org
Review URL: https://codereview.chromium.org/24788002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226105 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Landed previously in r225857, which was reverted in r225859 because it broke android tests.
BUG=103304
R=ben@chromium.org
Review URL: https://codereview.chromium.org/25015003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225909 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> gfx: Create a separate gfx component out of ui.
>
> BUG=103304
> R=ben@chromium.org
>
> Review URL: https://codereview.chromium.org/25015003
TBR=sadrul@chromium.org
Review URL: https://codereview.chromium.org/25161002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225859 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=103304
R=ben@chromium.org
Review URL: https://codereview.chromium.org/25015003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225857 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
R=sky@chromium.org
Review URL: https://codereview.chromium.org/24429002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225089 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
other, and drop a bunch of DEPS files in to make checkdeps happy.
See https://codereview.chromium.org/24162009/ for try runs.
BUG=none
R=sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225020
Review URL: https://codereview.chromium.org/24273005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225055 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Tighten up DEPS rules in src/ui: prevent components from including from each other, and drop a bunch of DEPS files in to make checkdeps happy.
>
> BUG=none
> R=sky@chromium.org
>
> Review URL: https://codereview.chromium.org/24273005
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/24257013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225032 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
other, and drop a bunch of DEPS files in to make checkdeps happy.
BUG=none
R=sky@chromium.org
Review URL: https://codereview.chromium.org/24273005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225020 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch implements Ui::GrabViewSnapshot and Ui::GrabWindowSnapshot on
Android. They both return a screen capture of the requested content
region. As on other platforms the URL bar will not be included in the
result, but note that any UI elements overlapping with the content
(e.g., the toolbar drop shadow) will be shown.
BUG=242299
TEST=tools/telemetry/run_tests --browser=android-chrome GpuTabTest -v -v -v
Review URL: https://chromiumcodereview.appspot.com/23632006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222789 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/23707030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222272 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that the new code is still behind a runtime flag
(--brave-new-test-launcher), but compiling tests with support for it
will make further testing possible.
BUG=236893, 79359
R=akalin@chromium.org, enne@chromium.org, erikwright@chromium.org, joi@chromium.org, keybuk@chromium.org, sky@chromium.org, thestig@chromium.org, tommi@chromium.org, wtc@chromium.org, xhwang@chromium.org, yzshen@chromium.org
Review URL: https://codereview.chromium.org/23442019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221464 0039d316-1c4b-4281-b951-d872f2087c98
|