| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL allows launcher pages to add subpages to the app list model. This is
similar to the HTML5 history API in that once the launcher page calls
pushState(), the app list's back button will send onPopSubpage events to the
launcher page extension before doing a top-level 'back' action.
All launcher pages are cleared when the page transitions, regardless of the
pushed subpages as browser/renderer execution ordering issues can cause
the app list's 'back' to get triggered despite a subpage being pushed.
BUG=434243
Review URL: https://codereview.chromium.org/749613003
Cr-Commit-Position: refs/heads/master@{#306548}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The dummy search box on the start page has been replaced with an
invisible spacer view (to maintain the existing layout positioning). The
real search box is now visible at all times along the top of the page.
This introduces a regression (search box is in the wrong place on the
start page), which will be rectified in a follow-up CL.
BUG=437674,437377,437984
TBR=mukai@chromium.org
Review URL: https://codereview.chromium.org/749363003
Cr-Commit-Position: refs/heads/master@{#306341}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
breakage.
Make "source" a required argument of AppLaunchParams and fill in the
argument in all call points.
This reverts commit bad38cd9f3199784a10cdb99de9184c9055bef28.
BUG=400619
Review URL: https://codereview.chromium.org/752143002
Cr-Commit-Position: refs/heads/master@{#306222}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL makes ui::EF_IS_REPEAT get propagated to AcceleratorController. In
particular, this CL:
- preserves ui::EF_IS_REPEAT when converting from ui::KeyEvent ->
content::NativeWebKeyboardEvent -> ui::KeyEvent
- preserves ui::EF_IS_REPEAT when remapping accelerator via
ImeControlDelegate::RemapAccelerator()
BUG=434743
TEST=AcceleratorControllerBrowserTest.RepeatedToggleMaximizeViaAccelerator
Review URL: https://codereview.chromium.org/735943002
Cr-Commit-Position: refs/heads/master@{#305434}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We decided to fix this issue even though it only happens when the
following 'wrong' key sequence is pressed:
- SearchKey [pressed]
- Key [pressed]
- SearchKey [released]
- Key [released]
Resulted wrong behavior: the AppLancher appears.
The Cause:
----------
When the search key is used as a modifier, the following pressed key is
rewritten and consumed. It doesn't get forwarded to
AcceleratorController managed by the AcceleratorManager in the
FocusManager. The AcceleratorController needs to know the previous
Accelerator to determine the correct behavior.
The 'Suggested' Fix:
--------------------
Track the system-wide current and previous key accelerators and require
that the ToggleAppList would only be triggered if LWIN [pressed] is
immediately followed by LWIN [released].
BUG=410835
TEST=manual, ash_unittests
Review URL: https://codereview.chromium.org/727583002
Cr-Commit-Position: refs/heads/master@{#305278}
|
|
|
|
|
|
|
|
|
| |
BUG=424679
TEST=-
Review URL: https://codereview.chromium.org/720633003
Cr-Commit-Position: refs/heads/master@{#305246}
|
|
|
|
|
|
|
|
|
|
| |
argument at all call points.
BUG=400619
Review URL: https://codereview.chromium.org/722703002
Cr-Commit-Position: refs/heads/master@{#305038}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Renamed JavaScriptDialgoManagerImpl to JavaScriptDialogManager.
* Add namespace app_modal_dialogs
* Add namespace javascript_dialog_extensions_client
* Shortened InstallJavaScriptDialogExtensionsClient to InstallClient to fit the 80 chars limit.
BUG=410499
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/688853005
Cr-Commit-Position: refs/heads/master@{#304903}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
non-Aura implementations.
Rename ShellDesktopController to ShellDesktopControllerAura; make ShellNativeAppWindow implement only some of the BaseWindow methods, and move aura-specific bits to ShellNativeAppWindowAura. Adds a unit test for ShellNativeAppWindowAura.
This is a precursor to a Cocoa implementation for Mac.
BUG=399363
TBR=danakj@chromium.org,reed@google.com
Review URL: https://codereview.chromium.org/696063008
Cr-Commit-Position: refs/heads/master@{#304897}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
None of the derived classes actually use the sequence number, and I can't
think of a reason that they would. This simplifies things just a tiny bit
and will make an upcoming change less confusing. See:
https://codereview.chromium.org/735873002/diff/60001/content/renderer/pepper/v8_var_converter.cc
mukai: TBR for athena
BUG=417316
TBR=mukai@chromium.org
Review URL: https://codereview.chromium.org/741753002
Cr-Commit-Position: refs/heads/master@{#304848}
|
|
|
|
|
|
|
|
|
|
| |
The added parameter helps us avoid a potential timing-related security issue. The UI can be instructed to open a new tab and show a dialog roughly at the same time, and since it's handled asynchronously the dialog may end up in front of the new tab. Knowing what web contents issued the dialog would allow us to prevent that from happening.
BUG=428793
Review URL: https://codereview.chromium.org/691823002
Cr-Commit-Position: refs/heads/master@{#304781}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL makes KeyboardControllerProxy take in a BrowserContext in the
constructor. A new KeyboardControllerProxy is created via
ash::Shell::CreateKeyboard() when the BrowserContext changes
BUG=431448
TEST=None
Review URL: https://codereview.chromium.org/711843002
Cr-Commit-Position: refs/heads/master@{#304707}
|
|
|
|
|
|
|
|
|
| |
BUG=410499
TBR=benwells@chromium.org, jochen@chromium.org, agl@chromium.org
Review URL: https://codereview.chromium.org/735473002
Cr-Commit-Position: refs/heads/master@{#304697}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
following events occur:
ConfigurationCreated
ConfigurationRemoved
PropertiesSet
ConfigurationProfileChanged
BUG=427638
For athena/system/network_selector.cc:
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/679323002
Cr-Commit-Position: refs/heads/master@{#304523}
|
|
|
|
|
|
|
|
|
|
| |
the first one.
BUG=432359
Review URL: https://codereview.chromium.org/727963004
Cr-Commit-Position: refs/heads/master@{#304500}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Aura, both gfx::NativeView and gfx::NativeWindow map to the same type
(aura::Window*).
On Mac, they map to different types (NSView* and NSWindow*) so they are not
interchangeable.
CreateBrowserModalDialogViews() is changed back to take a NativeWindow
parent because that is what the callers expect.
It was recently changed to NativeView in https://crrev.com/699553002.
Added platform_util::GetViewForWindow() to convert the parent to the
NativeView type that the Widget expects.
BUG=425229
Review URL: https://codereview.chromium.org/718913004
Cr-Commit-Position: refs/heads/master@{#304324}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CopyFromCompositingSurface, CopyFromBackingStore
return callbacks with a result value of boolean
(pass or fail) and the resultant SkBitmap.But in
few cases for example, we want to request output in
a differnt format say RGB_565. It depends on the
hardware whether it supports that texture format for
readback, so on few systems CopyFromCompositingSurface
may fail and return false status, with empty SkBitmap.
The user of the api should be able to know the exact
reason of failure,(there can be a different reasons)
to take appropriate action,say in the above case
FORMAT_NOT_SUPPORTED.
1.This patch defines enum to support
possible failure reasons.
2.Changes the signature of readback callback
by removing boolean and passing ReadbackResponse enum.
BUG=430871
Review URL: https://codereview.chromium.org/593503003
Cr-Commit-Position: refs/heads/master@{#304244}
|
|
|
|
|
|
|
|
|
|
| |
Remove AthenaNativeAppWindowViews
BUG=None
Review URL: https://codereview.chromium.org/721873007
Cr-Commit-Position: refs/heads/master@{#304150}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- system info persists on the screen, not in the background
- introduce a new container to overwrap with home card nicely
- conflicting with overview windows doesn't look correct -- therefore
its y-coordinate should be moved by the height of system info.
- system_ui's "ColorScheme" isn't used anymore, since it's always
white (LIGHT) colors in the latest mock. I'll create another CL
to remove this.
BUG=425724
R=oshima@chromium.org
TEST=manually
Review URL: https://codereview.chromium.org/715053003
Cr-Commit-Position: refs/heads/master@{#304043}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL:
- Removes GetFrameWindow() from KeyboardController because the function is not
compatible with Athena
- Avoids showing the keyboard container after creating it. This was causing
the insets not to be set on the RenderWidgetHostViews the first time that the
keyboard is shown
BUG=431798
TEST=None
Review URL: https://codereview.chromium.org/711243004
Cr-Commit-Position: refs/heads/master@{#303888}
|
|
|
|
|
|
|
|
|
|
| |
BUG=410400
TEST=existing unit test
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/719783003
Cr-Commit-Position: refs/heads/master@{#303864}
|
|
|
|
|
|
|
|
|
|
|
| |
Apparently the CQ allows me to land CLs that break Athena. This fixes
it.
BUG=
Review URL: https://codereview.chromium.org/714273005
Cr-Commit-Position: refs/heads/master@{#303770}
|
|
|
|
|
|
|
|
|
|
|
|
| |
frame before we request an image
BUG=410400
TEST=ContentProxyBrowserTest.CreateContent
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/715823003
Cr-Commit-Position: refs/heads/master@{#303748}
|
|
|
|
|
|
|
|
|
| |
BUG=432162
R=mukai@chromium.org
Review URL: https://codereview.chromium.org/716793005
Cr-Commit-Position: refs/heads/master@{#303712}
|
|
|
|
|
|
|
|
|
|
| |
BUG=410400
TEST=fixing broken browser tests
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/711403002
Cr-Commit-Position: refs/heads/master@{#303652}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- "all apps" from BOTTOM state should switch to CENTERED state
- switching to BOTTOM state should switch to the start page
BUG=425724, 425717
R=oshima@chromium.org
TEST=the new test covers
Export HomeCardView into a separate file.
HomeCardView gets fairly complicated and it's worth exporting into
a different file.
Review URL: https://codereview.chromium.org/712133002
Cr-Commit-Position: refs/heads/master@{#303593}
|
|
|
|
|
|
|
|
|
|
| |
* InputManagerTest in accelerator_manager_unittests has been renamed to avoid name conflict.
BUG=424109
Review URL: https://codereview.chromium.org/692333010
Cr-Commit-Position: refs/heads/master@{#303565}
|
|
|
|
|
|
|
|
|
|
| |
BUG=431861
R=oshima@chromium.org, mohsen@chromium.org
TEST=manually
Review URL: https://codereview.chromium.org/697143005
Cr-Commit-Position: refs/heads/master@{#303563}
|
|
|
|
|
|
|
|
| |
BUG=431729
Review URL: https://codereview.chromium.org/716493002
Cr-Commit-Position: refs/heads/master@{#303554}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
HomeCardView gets fairly complicated and it's worth exporting into
a different file.
BUG=None
R=oshima@chromium.org
TEST=build succeeds
Review URL: https://codereview.chromium.org/712023003
Cr-Commit-Position: refs/heads/master@{#303541}
|
|
|
|
|
|
|
|
|
| |
BUG=None
TBR=phajdan.jr@chromium.org
Review URL: https://codereview.chromium.org/705303002
Cr-Commit-Position: refs/heads/master@{#303523}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL adds a launcherPage API which notifies the launcher page
when the app launcher switches to and from the custom launcher page.
These events are only sent to the first custom launcher page.
BUG=425444
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/683703002
Cr-Commit-Position: refs/heads/master@{#303427}
|
|
|
|
|
|
|
|
|
| |
BUG=none
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/711873002
Cr-Commit-Position: refs/heads/master@{#303383}
|
|
|
|
|
|
|
|
| |
TEST=compile athena_main in Debug
Review URL: https://codereview.chromium.org/703193006
Cr-Commit-Position: refs/heads/master@{#303322}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allow us to run tests that depends on content/extensions without chrome/.
* extract AthenaMainDelegate from athena_main.cc to use it in browser tests.
* renamed existing AthenaBrowserTest for chrome to AthenaChromeBrowserTset
* Renamed athena_xxx_brosertest.{h|cc} to xxx_browser_test.{h|cc} to match the patter used for other base test class for browser tests.
BUG=None
TBR=davidben@chromium.org, jamescook@chromium.org
Review URL: https://codereview.chromium.org/689163003
Cr-Commit-Position: refs/heads/master@{#303307}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to support different modes and different multi-monitor
configurations Ozone will no longer match the touchscreen to the primary
display. Instead Ozone relies on the display manager to setup the mapping
correctly.
BUG=none
Review URL: https://codereview.chromium.org/682093003
Cr-Commit-Position: refs/heads/master@{#303276}
|
|
|
|
|
|
|
|
|
|
| |
BUG=425717, 425724, 425719
TBR=oshima@chromium.org
TEST=none
Review URL: https://codereview.chromium.org/700333004
Cr-Commit-Position: refs/heads/master@{#303204}
|
|
|
|
|
|
|
|
|
|
| |
Previously, the focus doesn't move to window in other containers. This patch enables cross-container focus move when the active window is disappeared.
BUG=424750
Review URL: https://codereview.chromium.org/688053004
Cr-Commit-Position: refs/heads/master@{#303067}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds athena impl for following client/host
web_modal::ModalDialogHost
ConstrainedWindowViewsClient
JavaScriptDialogManagerClient
This depends on https://codereview.chromium.org/666533007/
BUG=410499
TBR=yoz@chromium.org, wittman@chromium.rg, msw@chromium.org, avi@chromium.org
Review URL: https://codereview.chromium.org/692563002
Cr-Commit-Position: refs/heads/master@{#303062}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Athena specific AthenaStartPageView is not used anymore. We'll
share the same view as the experimental app list.
BUG=425717, 425724, 425719
R=calamity@chromium.org, oshima@chromium.org
TEST=manually
Review URL: https://codereview.chromium.org/683243004
Cr-Commit-Position: refs/heads/master@{#303001}
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ActivityViewModel should always be initialized, whether the Activity
creates its own views::Widget or not.
BUG=430030
R=oshima@chromium.org
Review URL: https://codereview.chromium.org/704623003
Cr-Commit-Position: refs/heads/master@{#302877}
|
|
|
|
|
|
|
|
|
|
|
| |
Renamed DISABLE_BASIC_PRINTING to ENABLE_BASIC_PRINTING.
Renamed ENABLE_FULL_PRINTING to ENABLE_PRINT_PREVIEW.
BUG=430281
Review URL: https://codereview.chromium.org/702603004
Cr-Commit-Position: refs/heads/master@{#302868}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ActivityViewModel has the necessary information that should be displayed to the
user. So provide mechanism for it to be able to update the view when the relevant
information (e.g. title, icon, color) changes.
BUG=none
R=oshima@chromium.org
Review URL: https://codereview.chromium.org/694413005
Cr-Commit-Position: refs/heads/master@{#302753}
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://codereview.chromium.org/685793002
Cr-Commit-Position: refs/heads/master@{#302647}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Minimized background (the black layer) is still "visible" in
views point of view even though its layer opacity is 0.0f, and
it intercepts mouse/touch events over the actual visible views.
It needs to SetVisible(false) when it's not used.
BUG=428442
R=yoshiki@chromium.org
TEST=manually
Review URL: https://codereview.chromium.org/693103002
Cr-Commit-Position: refs/heads/master@{#302585}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Notable implementation details of the change:
. Have ActivityManagerImpl observer each aura::Window of the activities, and
update order of the activities when their windows are restacked.
. Introduce ActivityManagerObserver::OnActivityOrderChanged().
. Remove the code from ResourceManagerImpl that tracks the activity order, and
replace it to get the list from ActivityManager instead.
- Make sure the code traverses the activities in the correct order.
BUG=413928
R=oshima@chromium.org, skuhne@chromium.org
Review URL: https://codereview.chromium.org/694353004
Cr-Commit-Position: refs/heads/master@{#302574}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the existing views API (views::Widget::GetWidgetForNativeView()) to
get any existing views::Widget for an athena::Activity, instead of asking
its ActivityViewModel.
BUG=none
R=oshima@chromium.org
Review URL: https://codereview.chromium.org/702473005
Cr-Commit-Position: refs/heads/master@{#302523}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Making all implementations except for ash's use the new default base class.
I left the ash's implementation as is, since I am not sure if the display origin
is always the same as the root window origin. My suspicion is that it's not..
BUG=NONE
Review URL: https://codereview.chromium.org/686513004
Cr-Commit-Position: refs/heads/master@{#302502}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the ability to engage split view mode with the
use of a bezel gesture, and remove BezelController
which is currently only used for this purpose.
BUG=429184
TEST=WindowManagerTest.TitleDragSwitchBetweenWindowsInSplitViewMode renamed to WindowManagerTest.ReplaceWindowsInSplitViewMode and modified,
WindowManagerTest.BezelGestureToSplitViewMode removed,
WindowManagerTest.BezelGestureToSwitchBetweenWindows removed
Review URL: https://codereview.chromium.org/694883002
Cr-Commit-Position: refs/heads/master@{#302436}
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Popup windows should be excluded from windows that fill their container
entirely when managed by a FillLayoutManager. An example is touch text
selection handles and quick menu which are popups and are needed in
Athena login/lock screen which uses a FillLayoutManager.
BUG=425595
Review URL: https://codereview.chromium.org/682123002
Cr-Commit-Position: refs/heads/master@{#302289}
|