| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/512663002
Cr-Commit-Position: refs/heads/master@{#292448}
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to set the icon title (used for hovertext) independently
of the window title (which is empty for Settings windows).
BUG=406954
Review URL: https://codereview.chromium.org/507003002
Cr-Commit-Position: refs/heads/master@{#292029}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously it would open the item then immediately minimize it. This caused
user confusion because they tried a double-click and didn't see anything
open on the screen.
BUG=404060
TEST=ash_unittests ShelfViewTest.ClickingTwiceActivatesOnce
Review URL: https://codereview.chromium.org/492963008
Cr-Commit-Position: refs/heads/master@{#291695}
|
|
|
|
|
|
|
|
|
|
|
|
| |
The menu model needs to be cleaned up if the menu is suppressed for being
too short.
BUG=406609
TEST=manual, see bug
Review URL: https://codereview.chromium.org/486193004
Cr-Commit-Position: refs/heads/master@{#291600}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL is in preparation for passing a reason for showing the app list.
This split is necessary to pass a reason only when showing and not when
dismissing.
BUG=None
Review URL: https://codereview.chromium.org/460933002
Cr-Commit-Position: refs/heads/master@{#289889}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289889 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
See https://codereview.chromium.org/467193003/ for how.
BUG=none
Review URL: https://codereview.chromium.org/470663002
Cr-Commit-Position: refs/heads/master@{#289472}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289472 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Re-submit of https://codereview.chromium.org/425363002/
TBR=sky, oshima
BUG=NONE
Review URL: https://codereview.chromium.org/445173002
Cr-Commit-Position: refs/heads/master@{#288449}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288449 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
and hiding of the shelf
BUG=385992
TEST=MultiUserWindowManagerChromeOSTest.TestBlackBarCover & visual inspection
Review URL: https://codereview.chromium.org/448493002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287880 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://codereview.chromium.org/425363002/)
Reason for revert:
Build break.
../../ash/display/mouse_cursor_event_filter_ozone.cc:21:7:error: no member named 'ConvertPointToScreen' in namespace 'ash::wm'
wm::ConvertPointToScreen(target, &point_in_screen);
~~~~^
../../ash/display/mouse_cursor_event_filter_ozone.cc:45:7:error: no member named 'ConvertPointFromScreen' in namespace 'ash::wm'
wm::ConvertPointFromScreen(root_at_point, &point_in_root);
~~~~^
../../ash/display/mouse_cursor_event_filter_ozone.cc:86:7:error: no member named 'ConvertPointFromScreen' in namespace 'ash::wm'
wm::ConvertPointFromScreen(dst_root, &point_in_dst_screen);
~~~~^
Original issue's description:
> Moving coordinate conversion methods from ash/wm to ui/wm.
>
> Moving ConvertPointToScreen and ConvertPointFromScreen from ash::wm into
> aura::Window. The suggestion to do this was made here:
> https://codereview.chromium.org/420603011/diff/1/athena/wm/coordinate_conversion.h
>
> BUG=NONE
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287609
TBR=oshima@chromium.org,ben@chromium.org,sky@chromium.org,mfomitchev@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=NONE
Review URL: https://codereview.chromium.org/445703005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287626 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moving ConvertPointToScreen and ConvertPointFromScreen from ash::wm into
aura::Window. The suggestion to do this was made here:
https://codereview.chromium.org/420603011/diff/1/athena/wm/coordinate_conversion.h
BUG=NONE
Review URL: https://codereview.chromium.org/425363002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287609 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Animations are usually disabled in unit tests for performance. However, to
test the animation system itself some tests request "normal" durations.
Under some conditions (remote desktop, animation disabled for accessibility)
the "normal" duration could still be zero.
This was causing test failures and use-after-frees in ash_unittests on the
drmemory bots and for developers using remote desktop.
Introduce NON_ZERO_DURATION to signal that animation must be enabled and the
duration must be non-zero, but other than that can be as short as possible.
(Original patch https://codereview.chromium.org/420013002/ was correlated with
app_list_unittests failures in AppListMainViewTest.DragLastItemFromFolderAndDropAtLastSlot
AppListViewTestAura.ReshowWithOpenFolder but testing locally and on the try
bots can't repro it, so calling it flake.)
BUG=397478, 396969
TEST=ash_unittests on drmemory, Windows and Chrome OS bots
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/426973002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286517 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
views::ImageView overrides CanProcessEventsWithinSubtree() to make sure
non-interactive image-views do not process any events. Use this override
where possible by making the ImageViews non-interactive, rather than
overriding the interface method.
BUG=none
R=sky@chromium.org
Review URL: https://codereview.chromium.org/429643003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286411 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://codereview.chromium.org/420013002/)
Reason for revert:
I suspect this is causing Linux Tests dbg (2) failures in app_list_unittests:
http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%282%29/builds/47929
Strangely I had green try runs for linux_chromium_rel for app_list_unittests.
Original issue's description:
> Introduce NON_ZERO_DURATION for animation unit tests
>
> Animations are usually disabled in unit tests for performance. However, to
> test the animation system itself some tests request "normal" durations.
> Under some conditions (remote desktop, animation disabled for accessibility)
> the "normal" duration could still be zero.
>
> This was causing test failures and use-after-frees in ash_unittests on the
> drmemory bots and for developers using remote desktop.
>
> Introduce NON_ZERO_DURATION to signal that animation must be enabled and the
> duration must be non-zero, but other than that can be as short as possible.
>
> BUG=397478,396969
> TEST=ash_unittests on drmemory, Windows and Chrome OS bots
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286089
TBR=oshima@chromium.org,ajuma@chromium.org,sky@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=397478,396969
Review URL: https://codereview.chromium.org/413403011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286102 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Animations are usually disabled in unit tests for performance. However, to
test the animation system itself some tests request "normal" durations.
Under some conditions (remote desktop, animation disabled for accessibility)
the "normal" duration could still be zero.
This was causing test failures and use-after-frees in ash_unittests on the
drmemory bots and for developers using remote desktop.
Introduce NON_ZERO_DURATION to signal that animation must be enabled and the
duration must be non-zero, but other than that can be as short as possible.
BUG=397478,396969
TEST=ash_unittests on drmemory, Windows and Chrome OS bots
Review URL: https://codereview.chromium.org/420013002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286089 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update ShelfLayoutManager to no longer change its state upon entering MaximizeMode.
Update tests to reflect this new behaviour.
TEST=Hide the shelf, open device past 180, shelf should still be hidden.
BUG=385702
Review URL: https://codereview.chromium.org/400663004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286083 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some purely mechanical changes left over from r283694, now that
aura::test::EventGenerator has moved to ui::test in src/ui/events.
Moves aura/test/event_generator.* to event_generator_delegate_aura.*
Removes `using ui::test::EventGenerator;` declaration and redirects
includes that don't extend the delegate to include the ui/test
event_generator.h directly
BUG=378134
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285209
Review URL: https://codereview.chromium.org/406413004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285857 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's confusing because it prevents the bubble activation. As a side effect on Windows the bubble doesn't get LBUTTON_DOWN messages. The reason for that is in HWNDMessageHandler::OnMouseActivate(). It asks the bubble if it can be activated. It answers "no" due to implementation in BubbleDelegateView::CanActivate(). Windows gets MA_NOACTIVATEANDEAT and MouseDown event isn't dispatched. This is definitely unexpected.
The bubbles which indeed always inactive should use set_can_activate(false) at construction time.
The bubbles which can be active but created without focus by default should use ShowInactive() instead.
BUG=392734
Review URL: https://codereview.chromium.org/413433002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285682 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As described in its class comment, a ui::KeyEvent can be either of two
distinct kinds. When constructing a ui::KeyEvent from a native event,
the distinction is made by a new IsCharFromNative() call, in the same
way that other ui::Event properties are determined, instead of having the
caller inspect the native event itself. Removing the redundant |is_char|
parameter from constructors also prevent accidental synthetic `mixed'
events that consuming code does not handle.
Incidentally, while KeyEvent constructor calls are being touched, use
EF_NONE instead of 0 to make that argument's purpose clear.
BUG=380349
TEST=unit_tests,ash_unittests,events_unittests,ui_unittests,interactive_ui_tests
Review URL: https://codereview.chromium.org/404203003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285605 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Cleanups for aura/test/event_generator.h (resolve TODOs)
>
> Some purely mechanical changes left over from r283694, now that
> aura::test::EventGenerator has moved to ui::test in src/ui/events.
>
> Moves aura/test/event_generator.* to event_generator_delegate_aura.*
> Removes `using ui::test::EventGenerator;` declaration and redirects
> includes that don't extend the delegate to include the ui/test
> event_generator.h directly
>
> BUG=378134
>
> Review URL: https://codereview.chromium.org/406413004
TBR=tapted@chromium.org
Review URL: https://codereview.chromium.org/413983006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285222 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some purely mechanical changes left over from r283694, now that
aura::test::EventGenerator has moved to ui::test in src/ui/events.
Moves aura/test/event_generator.* to event_generator_delegate_aura.*
Removes `using ui::test::EventGenerator;` declaration and redirects
includes that don't extend the delegate to include the ui/test
event_generator.h directly
BUG=378134
Review URL: https://codereview.chromium.org/406413004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285209 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduced SnapToPixelLayoutManager and used where it makes sense.
WorkspaceLayoutManager uses WindowState, so it's the property is manually set there.
This depends on the following CL:
https://codereview.chromium.org/375693006/
BUG=391822
Review URL: https://codereview.chromium.org/357063002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284119 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Followup to https://codereview.chromium.org/384023002/
This CL renames ChromeOS-specific code.
Still missing:
- ChromeOS-specific resource IDs (strings and images)
- JavaScript, HTML, CSS
- The global ENABLE_MANAGED_USERS define
TBR=atwilson@chromium.org (c/b/signin)
TBR=nkostylev@chromium.org (c/b/chromeos)
TBR=noms@chromium.org (c/b/profiles)
TBR=oshima@chromium.org (ash and c/b/ui/ash)
All TBRs are simple renamings.
BUG=385113
Review URL: https://codereview.chromium.org/393343002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284078 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The velocity tracker currently ignores ACTION_{UP,POINTER_UP} events. While
these events don't convey additional motion information, they do convey timing
and lack of motion. This is particularly relevent if the final ACTION_UP event
is delayed, e.g., the user's finger moves and then is perfectly stationary for
a time before being lifted. In that case, the tracker would report the non-zero
velocity of the movement, when it really ought to have been cleared because of
the delayed release.
Add an additional check for such delayed pointer release events, using a value
larger than the 40ms |kAssumePointerMoveStoppedTimeMs| to allow for slightly
delayed ACTION_UP detection. Also remove the smooth scroll synthetic gesture
workaround that was previously required to prevent fling detection.
BUG=392652
Review URL: https://codereview.chromium.org/381233002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283218 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is in preparation for supporting running native Cocoa context menus to
support Services (https://codereview.chromium.org/331993009/).
The parameter is moved to the constructor so that we can know which kind of
MenuRunnerImpl to create at construction time.
TBR=sky@chromium.org
BUG=388455
Review URL: https://codereview.chromium.org/390183002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283114 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
touch_ids_bitfield was overcomplicated, and we never used anything
except for the lowest touch id.
BUG=366707
TEST=GestureRecognizerTest
Review URL: https://codereview.chromium.org/344763003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283070 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MessagePopupCollection contains plenty size of conditions and ifdefs
to work properly with each type of the desktop we have, and some
logic makes side effects on another desktop. This design is unhealty
and adding more conditions sounds incorrect.
Considering this, it would be better to extract platform dependent
parts as a delegate class (PopupAlignmentDelegate) and allow
subclasses to provide platform-specific features.
This design is also beneficial for win-ash, because we had
OS_CHROMEOS layout data and logic which actually means Ash.
BUG=389656
R=stevenjb@chromium.org, dimich@chromium.org
TBR=jamescook@chromium.org, harrym@chromium.org
TEST=message_center_unittests, ash_unittests, some manual checks
Review URL: https://codereview.chromium.org/369573004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282269 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Update StatusAreaLayoutManager to acccount for animations when it is updating its bounds.
TEST=ShelfLayoutManagerTest.ShelfAutoHideToggleDuringAnimationUpdatesBounds
BUG=386069
Review URL: https://codereview.chromium.org/343193007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279504 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Includes some minor refactoring: merges launcher_item_util.cc into
ash:shelf_util.cc
BUG=385161
R=ben@chromium.org, skuhne@chromium.org
Review URL: https://codereview.chromium.org/332163006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278629 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
initiating a mouse drag.
The CL also makes ShelfViewTest send ui::MouseEvents in the coordinates of |ShelfView::drag_view_|.
BUG=377522
TEST=ShelfViewTest.ClickAndMoveSlightly
Review URL: https://codereview.chromium.org/338833008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278129 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
All non-unittest code wanted this behavior.
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/331323005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277707 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://codereview.chromium.org/331843003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277511 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Re-enable the shelf auto-hide feature, and the supporting gestures, while in touchview mode.
This effectively reverts the portions of the following reviews which impact the shelf and the launcher context menu.
https://codereview.chromium.org/205603003/
https://codereview.chromium.org/247363005/
TEST=ShelfLayoutManagerTest, LauncherContextMenuTest
BUG=370985
Review URL: https://codereview.chromium.org/305003002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275236 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the animations in the UI in response to the animation step in the compositor,
instead of from a timer callback. This should make it more difficult for rogue UI
animations to negatively impact the system too much.
BUG=371071
R=ajuma@chromium.org, sky@chromium.org
Review URL: https://codereview.chromium.org/291843012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274988 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"compositor: Tick the UI animations from cc, instead of from timer callbacks."
"asan: Fix asan leak from r274404."
These CLs seem to break ash_unittests on win8 aura bot:
http://build.chromium.org/p/chromium.win/buildstatus?builder=Win8%20Aura&number=19390
BUG=371071
TBR=sadrul@chromium.org
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/311783002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274423 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the animations in the UI in response to the animation step in the compositor,
instead of from a timer callback. This should make it more difficult for rogue UI
animations to negatively impact the system too much.
BUG=371071
R=ajuma@chromium.org, piman@chromium.org, sky@chromium.org
Review URL: https://codereview.chromium.org/291843012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274404 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some overrides of View::HitTestRect() just return
false in order to force event-targeting to fail for
that view type and its descendants. Because this
logic is unrelated to hit-testing against a rectangular
region, remove these overrides and instead override
View::CanProcessEventsWithinSubtree() to just return
false.
The relevant classes are:
ProfileImageView
ShelfButton::BarView
ShelfButton::IconView
PasswordRow
BoundedLabel
Label (and Link as a result)
BUG=374303
TEST=none
Review URL: https://codereview.chromium.org/287193002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274366 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With each TrayBackgroundView now backed by its own layer, calling SchedulePaint on StatusAreaWidgetDelegate no longer notifies them of the need to paint.
When the shelf changes its dimming state it triggers painting. Add support for StatusAreaWidget to notify each of the layer backed trays that painting is needed
TEST=Launch a non-maximized browser. The system tray will be a dark grey. Maximize the browser. The tray should be a lighter grey. This will mimic the colour changes of the application launcher on the shelf.
BUG=378115
Review URL: https://codereview.chromium.org/302153002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274318 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the final cleanup before the unified gesture recognizer is turned on.
Tests are passing with the unified GR flag on and with the flag off.
BUG=332418
Test=GestureRecognizerTest.*, GestureProviderTest.*
Review URL: https://codereview.chromium.org/306483003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274277 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=374833
TEST=visual & unit test
Review URL: https://codereview.chromium.org/302653008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273699 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The feature launched in Chrome OS in M-34 so no need to keep the flag anymore.
BUG=227223
TEST=Visual
1. in chrome://flags verify that ash-disable-docked-windows is absent.
2. When running chrome it should be possible to dock a window at a screen edge.
TEST=ash_unittests --gtest_filter=*Dock*
Review URL: https://codereview.chromium.org/305813002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273609 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This replaces OnDisplayBoundsChanged and add a MetricsType
parameter so consumers can now which metrics has changed. The
current set of MetricsType include bounds, workarea and rotation.
BUG=162827
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271768
Review URL: https://codereview.chromium.org/259253002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272040 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The issue was that we were posting an asynchronous accessibility event on
the menu item view, and the menu item view was still around after the menu
closed (just hidden, and owned by the menu runner), but the menu item view's
delegate (the menu model adapter) had gone out of scope.
BUG=327510
NOTRY=true
Review URL: https://codereview.chromium.org/295903006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271961 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://codereview.chromium.org/259253002/)
Reason for revert:
Breaks DesktopScreenX11Test.RemoveMonitorOnRight and AddMonitorToTheRight on Linux Tests
TBR=mlamouri@chromium.org
NOTRY=true
NOTREECHECKS=true
http://build.chromium.org/p/chromium.linux/buildstatus?builder=Linux%20Tests&number=11092
Original issue's description:
> Add OnDisplayMetricsChanged in DisplayObserver.
>
> This replaces OnDisplayBoundsChanged and add a MetricsType
> parameter so consumers can now which metrics has changed. The
> current set of MetricsType include bounds, workarea and rotation.
>
> BUG=162827
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271768
Review URL: https://codereview.chromium.org/294963004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271782 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This replaces OnDisplayBoundsChanged and add a MetricsType
parameter so consumers can now which metrics has changed. The
current set of MetricsType include bounds, workarea and rotation.
BUG=162827
Review URL: https://codereview.chromium.org/259253002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271768 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=351479
TBR=hans@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/274533004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271732 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to button refactoring patches, we now need to ask views for their
preferred sizes in const methods. Across the entire codebase, the
overwhelming majority of GetPreferredSize() implementations could be
const. There are only a few places where we can't, and they are usually
combining the sizing and layout code.
BookmarksBarView was simple enough to perform this separation. Most of
the other places were solved by adding "mutable" to value caches.
BUG=155363
R=jam@chromium.org, pkasting@chromium.org, scheib@chromium.org, sky@chromium.org, pkasting, sky
TBR=jam, scheib
Review URL: https://codereview.chromium.org/273223002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271682 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The revert broke Windows interactive_ui_tests. The world has probably
changed since this was first committed.
WidgetTestInteractive.CanActivateFlagIsHonored
http://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%281%29/builds/29193/steps/interactive_ui_tests/logs/stdio
> Revert of [Refactor] Consolidate the logic for whether a widget can be activated. (https://codereview.chromium.org/286733002/)
>
> Reason for revert:
> This CL was causing problems when the value of views::Widget::CanActivate() changes crbug.com/374095
>
> I also need to audit the code to find out whether there are any 'non-activatable' widgets which were intended to be activatable
>
> Original issue's description:
> > [Refactor] Consolidate the logic for whether a widget can be activated.
> >
> > This is a first step towards giving tooltips their own WindowTreeHosts on Linux.
> >
> > BUG=353533
> > TEST=None
> >
> > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270597
>
> Review URL: https://codereview.chromium.org/297503003
TBR=pkotwicz@chromium.org
Review URL: https://codereview.chromium.org/291013003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271511 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
activated. (https://codereview.chromium.org/286733002/)
Reason for revert:
This CL was causing problems when the value of views::Widget::CanActivate() changes crbug.com/374095
I also need to audit the code to find out whether there are any 'non-activatable' widgets which were intended to be activatable
Original issue's description:
> [Refactor] Consolidate the logic for whether a widget can be activated.
>
> This is a first step towards giving tooltips their own WindowTreeHosts on Linux.
>
> BUG=353533
> TEST=None
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270597
Review URL: https://codereview.chromium.org/297503003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271468 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is because the directory was aura before it was renamed to ash.
BUG=248353
R=jamescook@chromium.org
Review URL: https://codereview.chromium.org/282163004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271221 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=330746
Review URL: https://codereview.chromium.org/286623004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270687 0039d316-1c4b-4281-b951-d872f2087c98
|