| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Working on trimming down plugin warnings on the Windows clang build.
BUG=467287
Review URL: https://codereview.chromium.org/1085753004
Cr-Commit-Position: refs/heads/master@{#326116}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't use the canvas() from the PaintContext so that we can have the
PaintContext be backed by a DisplayItemList instead in the future.
Access to the Canvas should be done through a PaintRecorder.
R=sadrul
BUG=466426
Review URL: https://codereview.chromium.org/1064133003
Cr-Commit-Position: refs/heads/master@{#324137}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a plumbing CL to create a ui::PaintContext that wraps a
gfx::Canvas up in ui::Layer. This is passed to every LayerDelegate,
and also through to aura::WindowDelegates and
views::NativeWidgetDelegates to eventually reach views::View as well.
This way ui::PaintContext is created in one place (for compositor
paints, there are other places painting to bitmaps we'll address
later). And in the future the ui::PaintContext can be backed by a
display list instead of a canvas.
R=sky
BUG=466426
Review URL: https://codereview.chromium.org/1057873004
Cr-Commit-Position: refs/heads/master@{#323855}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Layerless windows are only used in unit tests today, and add
complexity in that a NativeWidgetAura can not rely on there
being a layer present. In practice, having a layer per Window
is not unreasonable overhead, and is simpler. The way to render
something into the same layer is to use a separate View instead
of a separate Window.
R=sky
BUG=466426
Review URL: https://codereview.chromium.org/1050713002
Cr-Commit-Position: refs/heads/master@{#323610}
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://codereview.chromium.org/1055033002
Cr-Commit-Position: refs/heads/master@{#323552}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously event capture would transfer part of the event stream.
Now capture just cancels all events that aren't targeted to the
capturing window.
BUG=460366
TEST=WindowTest.TransferCaptureTouchEvents
Review URL: https://codereview.chromium.org/959853002
Cr-Commit-Position: refs/heads/master@{#321128}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows ui::Layer to take scale factor into consideration when updating the cc::NinePatchLayer.
BUG=466950
R=danakj@chromium.org
R=oshima@chromium.org
TBR=sky@chromium.org
TEST=verify on HiDPI display as well as HiDPI + LowDPI extended mode that shadows are correct.
Review URL: https://codereview.chromium.org/1002393002
Cr-Commit-Position: refs/heads/master@{#320974}
|
|
|
|
|
|
|
|
|
| |
BUG=464118
TEST=manual
Review URL: https://codereview.chromium.org/992173004
Cr-Commit-Position: refs/heads/master@{#320574}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tested on Linux with the following command lines:
$ gn gen out-gn
$ gn check out-gn //ui/*
More work is needed to get this enabled on .gn.
BUG=367595,376000
TEST=see above
R=sky@chromium.org
Review URL: https://codereview.chromium.org/988463003
Cr-Commit-Position: refs/heads/master@{#319895}
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pass a pointer instead, as per the style guide. Also makes the
constructor explicit (all callsites already are explicit).
BUG=464816
TBR=blundell@chromium.org,agl,dmichael,garykac
Review URL: https://codereview.chromium.org/982413002
Cr-Commit-Position: refs/heads/master@{#319674}
|
|
|
|
|
|
|
|
| |
This flag was used to disable linking when the bots were too behind. It's not needed any more.
Review URL: https://codereview.chromium.org/974543002
Cr-Commit-Position: refs/heads/master@{#318795}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was added for athena here:
https://codereview.chromium.org/455543004
Since athena has been deleted, this is no longer used.
BUG=440818
Review URL: https://codereview.chromium.org/954123002
Cr-Commit-Position: refs/heads/master@{#318110}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL:
- Avoids converting from screen coordinates in
WebContentsViewAura::StartDragging() and back to screen coordinates in
DragDropController::StartDragAndDrop()
- Passes the location in the correct coordinates to StartDragAndDrop() in
DragDownloadItem() in drag_download_item_views.cc
BUG=456619
TEST=Manual, see bug
Review URL: https://codereview.chromium.org/901563005
Cr-Commit-Position: refs/heads/master@{#317888}
|
|
|
|
|
|
|
|
|
|
| |
The parent window's visibility change should not change its transient child's window modality property.
BUG=447743
Review URL: https://codereview.chromium.org/944483002
Cr-Commit-Position: refs/heads/master@{#317148}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is prep for tooltip improvement: https://codereview.chromium.org/924433002/ (WIP)
* Consolidated GetMaxWidth
* Eliminate screen type argument. This can be obtained from tooltip window.
* Move tooltip truncate code from TooltipManager to TooltipController
BUG=None
TEST=no functional change. all test should pass.
Review URL: https://codereview.chromium.org/916423002
Cr-Commit-Position: refs/heads/master@{#317081}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to allow the use of accurate kernel timestamps in the events from
Ozone it is necessary to add a parameter to the constructor for MouseEvent.
This CL was partially generated from using a clang tool with some manual
changes for files not included in my build and to add header files as necessary.
This change fills in all users of the newly added time_stamp parameter with a
call into ui::EventTimeForNow() which was the original behaviour used by the
constructor.
BUG=450341
TEST=Build on all try bots and all unit tests pass.
Review URL: https://codereview.chromium.org/934653002
Cr-Commit-Position: refs/heads/master@{#316869}
|
|
|
|
|
|
|
|
|
|
|
|
| |
For tools/sort_sources.py to be useful, existing GYP files
should be sorted.
BUG=456014
TEST=everything should build as before
Review URL: https://codereview.chromium.org/918953005
Cr-Commit-Position: refs/heads/master@{#316729}
|
|
|
|
|
|
|
|
|
|
|
|
| |
For tools/sort_sources.py to be useful, existing GN files
should be sorted.
BUG=456014
TEST=everything should build as before
Review URL: https://codereview.chromium.org/928963002
Cr-Commit-Position: refs/heads/master@{#316719}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the old user gets hidden, which also hides all its
transient child windows. That will clear the transient
window's modal property and set it to a normal window -
which is incorrect.
Based on the comments above the code that clears the
window's modality state, we move this line out into
OnWindowDestroying().
BUG=447743
Review URL: https://codereview.chromium.org/838033006
Cr-Commit-Position: refs/heads/master@{#316646}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The IME code in ui/base/ime depends on ui/ozone to support keyboard
control (via the InputController interface). This dependency is
currently missing from the build.
Unfortunately, we cannot simply add this dependency, because ui/ozone
depends on code from ui/base/cursor and ui/base/resource
(for cursor bitmaps).
Break this cycle by componentizing ui/base/ime & add a dependency
from the new ui/base/ime component to ui/ozone.
This also helps clean things up a bit because iOS builds ui/base
but not ui/base/ime. So there is already a fault line here.
The handful of IME tests are left as part of ui_base_unittests.
BUG=445627
TEST=gn gen out_gn_ozone --args='os="chromeos" use_ozone=true is_component_build=true' &&
ninja -C out_gn_ozone chrome ozone_unittests (along with other needed changes)
TBR=jam
Committed: https://crrev.com/2321ca1b99c1a8e9a90e48a9cd50f6446a7e5e82
Cr-Commit-Position: refs/heads/master@{#314815}
Review URL: https://codereview.chromium.org/889323003
Cr-Commit-Position: refs/heads/master@{#314860}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://codereview.chromium.org/889323003/)
Reason for revert:
Windows builds failing with
ERROR at //ui/base/ime/BUILD.gn:170:5: Undefined variable for +=.
libs += [ "imm32.lib" ]
^---
I don't have something with this name in scope now.
http://build.chromium.org/p/chromium.win/builders/Win8%20GN/builds/4403/steps/gn/logs/stdio
(perhaps missed a .gn update)?
Original issue's description:
> Split ui/base/ime into a new component
>
> The IME code in ui/base/ime depends on ui/ozone to support keyboard
> control (via the InputController interface). This dependency is
> currently missing from the build.
>
> Unfortunately, we cannot simply add this dependency, because ui/ozone
> depends on code from ui/base/cursor and ui/base/resource
> (for cursor bitmaps).
>
> Break this cycle by componentizing ui/base/ime & add a dependency
> from the new ui/base/ime component to ui/ozone.
>
> This also helps clean things up a bit because iOS builds ui/base
> but not ui/base/ime. So there is already a fault line here.
>
> The handful of IME tests are left as part of ui_base_unittests.
>
> BUG=445627
> TEST=gn gen out_gn_ozone --args='os="chromeos" use_ozone=true is_component_build=true' &&
> ninja -C out_gn_ozone chrome ozone_unittests (along with other needed changes)
> TBR=jam
>
> Committed: https://crrev.com/2321ca1b99c1a8e9a90e48a9cd50f6446a7e5e82
> Cr-Commit-Position: refs/heads/master@{#314815}
TBR=sky@chromium.org,thakis@chromium.org,jam@chromium.org,yukishiino@chromium.org,spang@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=445627
Review URL: https://codereview.chromium.org/895363005
Cr-Commit-Position: refs/heads/master@{#314823}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The IME code in ui/base/ime depends on ui/ozone to support keyboard
control (via the InputController interface). This dependency is
currently missing from the build.
Unfortunately, we cannot simply add this dependency, because ui/ozone
depends on code from ui/base/cursor and ui/base/resource
(for cursor bitmaps).
Break this cycle by componentizing ui/base/ime & add a dependency
from the new ui/base/ime component to ui/ozone.
This also helps clean things up a bit because iOS builds ui/base
but not ui/base/ime. So there is already a fault line here.
The handful of IME tests are left as part of ui_base_unittests.
BUG=445627
TEST=gn gen out_gn_ozone --args='os="chromeos" use_ozone=true is_component_build=true' &&
ninja -C out_gn_ozone chrome ozone_unittests (along with other needed changes)
TBR=jam
Review URL: https://codereview.chromium.org/889323003
Cr-Commit-Position: refs/heads/master@{#314815}
|
|
|
|
|
|
|
|
|
|
| |
Targets will be removed until the bot is green.
TBR=dpranke
Review URL: https://codereview.chromium.org/886323002
Cr-Commit-Position: refs/heads/master@{#314104}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The entries were all found by the following command line:
$ g grep -nE '\bscoped_ptr<.*?>\(\)' ui/
BUG=None
TEST=app_list_unittests, aura_unittests, events_unittests,
message_center_unittests,views_unittests, ...
R=sky@chromium.org
Review URL: https://codereview.chromium.org/855023003
Cr-Commit-Position: refs/heads/master@{#312885}
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL move the test target from build/config/BUILDCONFIG.gn to testing/test.gni
It also update the test template to automatically build an apk on Android.
R=cjhopman@chromium.org,brettw@chromium.org
Review URL: https://codereview.chromium.org/824263004
Cr-Commit-Position: refs/heads/master@{#312396}
|
|
|
|
|
|
|
|
|
|
|
|
| |
This tells the linker to resolve symbols for shared libraries at build
time, not run time. This alerts developers much earlier that their
dependencies are underspecified.
BUG=371125
Review URL: https://codereview.chromium.org/843583006
Cr-Commit-Position: refs/heads/master@{#312317}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
runtime. (patchset #1 id:1 of https://codereview.chromium.org/835223006/)
Reason for revert:
not on cq => doesn't qualify for reverts. will fix live.
Original issue's description:
> Revert of linux/gyp: Find missing symbols at build time, not runtime. (patchset #10 id:180001 of https://codereview.chromium.org/854753002/)
>
> Reason for revert:
> Breaks compile on chromium.webkit/Linux Tests (dbg) and probably also chromium.lkgr/ASAN Debug
>
> http://build.chromium.org/p/chromium.webkit/builders/Linux%20Tests%20%28dbg%29?numbuilds=50
> http://build.chromium.org/p/chromium.lkgr/builders/ASAN%20Debug
>
> Original issue's description:
> > linux/gyp: Find missing symbols at build time, not runtime.
> >
> > Limited to very few cases for now (non-chromeos, non-android,
> > non-official, component builds only).
> >
> > BUG=371125
> > TBR=piman,dalecurtis
> >
> > Committed: https://crrev.com/faffc1a04d17dd977ff9eb335c0c67b3b86dad5e
> > Cr-Commit-Position: refs/heads/master@{#312020}
> >
> > Committed: https://crrev.com/fdaea4c9e63c845db9c009d236205e7ed4fcb663
> > Cr-Commit-Position: refs/heads/master@{#312032}
>
> TBR=jamesr@chromium.org,piman@chromium.org,dalecurtis@chromium.org,machenbach@chromium.org,thakis@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=371125
>
> Committed: https://crrev.com/6019325be9a7a4195368d8d4362047e1a4381541
> Cr-Commit-Position: refs/heads/master@{#312068}
TBR=jamesr@chromium.org,piman@chromium.org,dalecurtis@chromium.org,machenbach@chromium.org,timloh@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=371125
Review URL: https://codereview.chromium.org/860623002
Cr-Commit-Position: refs/heads/master@{#312070}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(patchset #10 id:180001 of https://codereview.chromium.org/854753002/)
Reason for revert:
Breaks compile on chromium.webkit/Linux Tests (dbg) and probably also chromium.lkgr/ASAN Debug
http://build.chromium.org/p/chromium.webkit/builders/Linux%20Tests%20%28dbg%29?numbuilds=50
http://build.chromium.org/p/chromium.lkgr/builders/ASAN%20Debug
Original issue's description:
> linux/gyp: Find missing symbols at build time, not runtime.
>
> Limited to very few cases for now (non-chromeos, non-android,
> non-official, component builds only).
>
> BUG=371125
> TBR=piman,dalecurtis
>
> Committed: https://crrev.com/faffc1a04d17dd977ff9eb335c0c67b3b86dad5e
> Cr-Commit-Position: refs/heads/master@{#312020}
>
> Committed: https://crrev.com/fdaea4c9e63c845db9c009d236205e7ed4fcb663
> Cr-Commit-Position: refs/heads/master@{#312032}
TBR=jamesr@chromium.org,piman@chromium.org,dalecurtis@chromium.org,machenbach@chromium.org,thakis@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=371125
Review URL: https://codereview.chromium.org/835223006
Cr-Commit-Position: refs/heads/master@{#312068}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Limited to very few cases for now (non-chromeos, non-android,
non-official, component builds only).
BUG=371125
TBR=piman,dalecurtis
Committed: https://crrev.com/faffc1a04d17dd977ff9eb335c0c67b3b86dad5e
Cr-Commit-Position: refs/heads/master@{#312020}
Review URL: https://codereview.chromium.org/854753002
Cr-Commit-Position: refs/heads/master@{#312032}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(patchset #9 id:160001 of https://codereview.chromium.org/854753002/)
Reason for revert:
Broke Ozone:
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Ozone%20Builder/builds/10001
gyp: Dependency '/b/build/slave/Linux_ChromiumOS_Ozone_Builder/build/src/build/linux/system.gyp:x11#target' not found while trying to load target /b/build/slave/Linux_ChromiumOS_Ozone_Builder/build/src/content/content_shell_and_tests.gyp:test_netscape_plugin#target
Original issue's description:
> linux/gyp: Find missing symbols at build time, not runtime.
>
> Limited to very few cases for now (non-chromeos, non-android,
> non-official, component builds only).
>
> BUG=371125
> TBR=piman,dalecurtis
>
> Committed: https://crrev.com/faffc1a04d17dd977ff9eb335c0c67b3b86dad5e
> Cr-Commit-Position: refs/heads/master@{#312020}
TBR=jamesr@chromium.org,piman@chromium.org,dalecurtis@chromium.org,thakis@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=371125
Review URL: https://codereview.chromium.org/851313004
Cr-Commit-Position: refs/heads/master@{#312028}
|
|
|
|
|
|
|
|
|
|
|
|
| |
Limited to very few cases for now (non-chromeos, non-android,
non-official, component builds only).
BUG=371125
TBR=piman,dalecurtis
Review URL: https://codereview.chromium.org/854753002
Cr-Commit-Position: refs/heads/master@{#312020}
|
|
|
|
|
|
|
|
|
|
| |
BUG=447445
TEST=wm_unittests
R=sky@chromium.org
Review URL: https://codereview.chromium.org/833543004
Cr-Commit-Position: refs/heads/master@{#311173}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The intent of https://codereview.chromium.org/757863002 was to make whether an
aura::Window's layer has a NULL delegate not affect the aura::Window stacking
order. This CL removes the logic that I forgot to remove in the initial CL.
BUG=443433
TEST=TransientWindowStackingClientTest.StackAboveClosingWindow
Review URL: https://codereview.chromium.org/850553003
Cr-Commit-Position: refs/heads/master@{#311163}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move UserActivityDetector and UserActivityObserver out of
ui/wm/core/ so that other classes in ui/base/ can depend on
them. This is needed in order to be able to later move
chrome/browser/idle_chromeos.cc out of chrome/ so that the
chrome.idle API can eventually be moved to extensions/.
BUG=446320
Review URL: https://codereview.chromium.org/833893003
Cr-Commit-Position: refs/heads/master@{#310773}
|
|
|
|
|
|
|
|
|
|
| |
delegate becomes nullptr.
BUG=
Review URL: https://codereview.chromium.org/795113002
Cr-Commit-Position: refs/heads/master@{#310354}
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=407966
TEST=covered by unit test.
Committed: https://crrev.com/deecdafa38a9effc737acde28e82a32cc527a1b5
Cr-Commit-Position: refs/heads/master@{#309272}
Review URL: https://codereview.chromium.org/778283002
Cr-Commit-Position: refs/heads/master@{#310190}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
They used to be a inlined function in the header, which led to code generation when method is used. This changes the code generation only in DECLARE_WINDOW_PROPERTY_TYPE().
BUG=None
R=sadrul@chromium.org
Committed: https://crrev.com/f62e152bb7a13135a597d9766eb79551d3a24a73
Cr-Commit-Position: refs/heads/master@{#309252}
Review URL: https://codereview.chromium.org/801953002
Cr-Commit-Position: refs/heads/master@{#310179}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The geometry headers were moved from /ui/gfx/ to ui/gfx/geometry, so
we are updating the include paths to fix this.
BUG=395370
TEST=compiles
TBR=sky@chromium.org,danakj@chromium.org
Review URL: https://codereview.chromium.org/832953002
Cr-Commit-Position: refs/heads/master@{#309873}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The geometry headers were moved from /ui/gfx/ to ui/gfx/geometry, so
we are updating the include paths to fix this.
BUG=395370
TEST=compiles
TBR=sky@chromium.org,danakj@chromium.org
Review URL: https://codereview.chromium.org/823133004
Cr-Commit-Position: refs/heads/master@{#309814}
|
|
|
|
|
|
|
|
|
|
|
|
| |
Covers testing/, tools/, ui/, and win8/.
BUG=422426
TEST=none
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/819223002
Cr-Commit-Position: refs/heads/master@{#309538}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The geometry headers were moved from /ui/gfx/ to ui/gfx/geometry, so
we are updating the include paths to fix this.
BUG=395370
TEST=unit_tests, content_unittests, extensions_unittests ...
TBR=sky@chromium.org,danakj@chromium.org
Review URL: https://codereview.chromium.org/823703003
Cr-Commit-Position: refs/heads/master@{#309523}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit deecdafa38a9effc737acde28e82a32cc527a1b5.
BUG=
TBR=oshima@chromium.org,sky@chromium.org
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/797503006
Cr-Commit-Position: refs/heads/master@{#309288}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(patchset #8 id:330001 of https://codereview.chromium.org/801953002/)
Reason for revert:
This is breaking chrome on chrome os builds:
In file included from ../../ui/aura/client/screen_position_client.cc:7:0:
../../ui/aura/window_property.h:115:58: error: specialization of 'template<class T> void aura::Window::SetProperty(const aura::WindowProperty<T>*, T)' in different namespace [-fpermissive]
const aura::WindowProperty<T >* property, T value) { \
^
../../ui/aura/window_property.h:127:5: note: in expansion of macro 'DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE'
DECLARE_EXPORTED_WINDOW_PROPERTY_TYPE(, T)
^
../../ui/aura/client/screen_position_client.cc:9:1: note: in expansion of macro 'DECLARE_WINDOW_PROPERTY_TYPE'
DECLARE_WINDOW_PROPERTY_TYPE(aura::client::ScreenPositionClient*)
^
In file included from ../../ui/aura/client/screen_position_client.h:9:0,
from ../../ui/aura/client/screen_position_client.cc:5:
../../ui/aura/window.h:297:8: error: from definition of 'template<class T> void aura::Window::SetProperty(const aura::WindowProperty<T>*, T)' [-fpermissive]
void SetProperty(const WindowProperty<T>* property, T value);
^
Original issue's description:
> Use template specialization to generate WindowProperty code.
>
> They used to be a inlined function in the header, which led to code generation when method is used. This changes the code generation only in DECLARE_WINDOW_PROPERTY_TYPE().
>
> BUG=None
> R=sadrul@chromium.org
>
> Committed: https://crrev.com/f62e152bb7a13135a597d9766eb79551d3a24a73
> Cr-Commit-Position: refs/heads/master@{#309252}
TBR=sadrul@chromium.org,sky@chromium.org,oshima@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=None
Seems like nobody is around. LGTM. I'm broken by this as well.
Review URL: https://codereview.chromium.org/814313002
Cr-Commit-Position: refs/heads/master@{#309285}
|
|
|
|
|
|
|
|
|
| |
BUG=407966
TEST=covered by unit test.
Review URL: https://codereview.chromium.org/778283002
Cr-Commit-Position: refs/heads/master@{#309272}
|
|
|
|
|
|
|
|
|
|
|
| |
They used to be a inlined function in the header, which led to code generation when method is used. This changes the code generation only in DECLARE_WINDOW_PROPERTY_TYPE().
BUG=None
R=sadrul@chromium.org
Review URL: https://codereview.chromium.org/801953002
Cr-Commit-Position: refs/heads/master@{#309252}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Return nullptr whenever possible.
* Use make_scoped_ptr() when possible (less typing/noise).
Entries found with the following command line:
$ git grep -E '(=|\breturn)\s*scoped_ptr<.*?>([^)]+)' ui/wm
BUG=None
R=sky@chromium.org
Review URL: https://codereview.chromium.org/792603003
Cr-Commit-Position: refs/heads/master@{#308738}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In CrOS Ozone, WindowTreeHost::SetCapture() is not a no-op (unlike CrOS X11).
This CL makes CaptureController::SetCapture() release capture on the
WindowTreeHost which has native capture regardless of which WindowTreeHost
the aura::Window with capture is currently in.
BUG=423383
TEST=None
Review URL: https://codereview.chromium.org/780273003
Cr-Commit-Position: refs/heads/master@{#308649}
|
|
|
|
|
|
|
|
|
|
|
| |
The opacity stays 0.2f if the window is created and shown in inactive state because the opacity is set back to 1.0f only when the animation is applied. This CL uses 1.0f opacity as initial opacity and when transitioning from/to small shadow.
BUG=433574
TEST=manual test. See the bug for repro step.
Review URL: https://codereview.chromium.org/798673002
Cr-Commit-Position: refs/heads/master@{#308187}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As I commented on the issue 402272, this condition was added
to prevent fullscreen cancel when a context menu window
comes up (see crbug.com/174731 for the details). However,
that bug doesn't make sense because fullscreen isn't
cancelled anymore when another window gets the focus.
R=sky@chromium.org
TEST=manually -- see the bug line. Also this doesn't make regression on crbug.com/174731 with http://www.flashvideofactory.com/test/demofullscreen345.html
BUG=402272
Review URL: https://codereview.chromium.org/753223004
Cr-Commit-Position: refs/heads/master@{#307518}
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://codereview.chromium.org/771253003
Cr-Commit-Position: refs/heads/master@{#307029}
|