summaryrefslogtreecommitdiffstats
path: root/ui/mojo
Commit message (Collapse)AuthorAgeFilesLines
* [mojo] Delete third_party/mojorockot2016-02-101-2/+2
| | | | | | | | | | | All users are on the new EDK now. This wipes out third_party/mojo, updates all dependencies, and removes the use-new-edk flag. BUG=None Review URL: https://codereview.chromium.org/1676913002 Cr-Commit-Position: refs/heads/master@{#374631}
* Remove ui/gfx/screen_type_delegate.hscottmg2016-01-271-2/+2
| | | | | | | | | | | | | | This removes gfx::SCREEN_TYPE_NATIVE/SCREEN_TYPE_ALTERNATE, and there is now only one Screen instance. It's still a runtime-installed thing for test purposes. TBR=various owners for trivial changes R=oshima@chromium.org, sky@chromium.org BUG=558054 Review URL: https://codereview.chromium.org/1608733002 Cr-Commit-Position: refs/heads/master@{#371676}
* Switch to standard integer types in ui/.avi2015-12-243-1/+5
| | | | | | | | | BUG=138542 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/1550483002 Cr-Commit-Position: refs/heads/master@{#366842}
* Add most of //ui/ to "gn check"brettw2015-12-083-5/+7
| | | | | | | | | | | | | | | | | | Fixes various missing dependencies. In static builds, the //content target now exports content/public/browser, etc. as public dependencies. Add an ipc_param_traits target that allows targets like events/latency_info.h to define IPC traits, without actually linking in all of IPC (because in this case events has no use of IPC). Move some targets to public deps. The rule is that test_support targets should export the corresponding regular target as a public dep so tests don't have to depend on both. Mark a few conditional includes "// nogncheck" where the checker got confused. Fix manifest for views_unittests Review URL: https://codereview.chromium.org/1501823003 Cr-Commit-Position: refs/heads/master@{#363690}
* Move third_party/mojo/src/mojo/public to mojo/publicrockot2015-11-132-2/+2
| | | | | | | | | BUG=None NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1410053006 Cr-Commit-Position: refs/heads/master@{#359461}
* Makes windowmanager draw non-client areasky2015-11-051-0/+7
| | | | | | | | | | | | | | | | | | | The high level bits are the following: . Client area is now expressed as insets. This avoids resetting the client area any time the bounds changes. . WindowManager now exposes preferred insets. . Client side creates a NonClientFrameView that reflects insets exposed from WM. . WM's NonClientFrameView (which draws underneat the client's surface) draws the frame decorations. It fills in the client area as black. BUG=548420 TEST=none R=ben@chromium.org Review URL: https://codereview.chromium.org/1419793006 Cr-Commit-Position: refs/heads/master@{#357995}
* Make WindowManagerConnection not use AuraInit.ben2015-11-041-0/+1
| | | | | | | | | | | AuraInit does stub/test-specific initialization which conflicts with Chrome's canonical Aura initialization. R=sky@chromium.org http://crbug.com/548694 Review URL: https://codereview.chromium.org/1415023006 Cr-Commit-Position: refs/heads/master@{#357898}
* Disable notimplementeds in a few files.ben2015-11-041-3/+3
| | | | | | | | | TBR=sky@chromium.org BUG=none Review URL: https://codereview.chromium.org/1407383009 Cr-Commit-Position: refs/heads/master@{#357772}
* mus: Move mojo events into mus.sadrul2015-10-295-423/+0
| | | | | | | | BUG=548376 Review URL: https://codereview.chromium.org/1409833010 Cr-Commit-Position: refs/heads/master@{#356728}
* Moves wheel_data onto PointerDatasky2015-10-281-4/+2
| | | | | | | | | | | | | As wheel events are always associated with a pointer this makes sense. BUG=none TEST=none R=rjkroege@chromium.org Review URL: https://codereview.chromium.org/1419513006 Cr-Commit-Position: refs/heads/master@{#356689}
* mus: Introduce EventMatcher.sadrul2015-10-222-0/+49
| | | | | | | | | | | | | EventMatcher: Clients can send an EventMatcher to the server, and associate some command with it. If an input event matches an EventMatcher, then mus sends the event and the associated command back to the client. Update the accelerator handling in mus to use EventMatcher. BUG=546707 Review URL: https://codereview.chromium.org/1420813002 Cr-Commit-Position: refs/heads/master@{#355644}
* Fix style in input_events.mojomsky2015-10-211-3/+3
| | | | | | | | | | | | | In mojoms we generally use C++ style of unix_hacker_style. BUG=none TEST=none R=rjkroege@chromium.org TBR=rjkroege@chromium.org Review URL: https://codereview.chromium.org/1419783004 Cr-Commit-Position: refs/heads/master@{#355347}
* Adds GetDisplays() to WindowManagersky2015-10-154-23/+34
| | | | | | | | | | | | | | And removes hacks that were necessitated without it. I also added a converter from a std::string to a URLRequestPtr as I got tired of creating the URLRequestPtr, then setting url. BUG=none TEST=none R=ben@chromium.org Review URL: https://codereview.chromium.org/1407073002 Cr-Commit-Position: refs/heads/master@{#354392}
* Overhaul Mandoline event transport coderjkroege2015-09-172-11/+59
| | | | | | | | | | | | | | | | | | In the course of its development, Mandoline's event code has diverged away from event payloads that are a good fit with the current state of blink's input handling logic. This CL begins a process of updating the event code with an extended wheel interface capable of supporting the standards track wheel event and revised pointer events that will be extended in a future CL with support for the pointer events specification. BUG=524828 Committed: https://crrev.com/895c6c35457b7fe13da31e862cd50eb537d5e7e6 Cr-Commit-Position: refs/heads/master@{#349015} Review URL: https://codereview.chromium.org/1313353010 Cr-Commit-Position: refs/heads/master@{#349303}
* Revert of Overhaul Mandoline event transport code (patchset #5 id:80001 of ↵rdevlin.cronin2015-09-152-59/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1313353010/ ) Reason for revert: Broke GN build: ERROR at //components/html_viewer/input_events_unittest.cc:10:11: Can't include this header from here. #include "ui/events/event.h" ^---------------- The target: //components/html_viewer:html_viewer_unittests is including a file from the target: //ui/events:events It's usually best to depend directly on the destination target. In some cases, the destination target is considered a subcomponent of an intermediate target. In this case, the intermediate target should depend publicly on the destination to forward the ability to include headers. Dependency chain (there may also be others): //components/html_viewer:html_viewer_unittests --> //components/html_viewer:lib --[private]--> //ui/events:events https://build.chromium.org/p/chromium.linux/builders/Linux%20GN/builds/32020/steps/gn_check/logs/stdio Original issue's description: > Overhaul Mandoline event transport code > > In the course of its development, Mandoline's event code has diverged away > from event payloads that are a good fit with the current state of blink's > input handling logic. This CL begins a process of updating the event code > with an extended wheel interface capable of supporting the standards track > wheel event and revised pointer events that will be extended in a future > CL with support for the pointer events specification. > > BUG=524828 > > Committed: https://crrev.com/895c6c35457b7fe13da31e862cd50eb537d5e7e6 > Cr-Commit-Position: refs/heads/master@{#349015} TBR=sadrul@chromium.org,sky@chromium.org,jam@chromium.org,rjkroege@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=524828 Review URL: https://codereview.chromium.org/1344223002 Cr-Commit-Position: refs/heads/master@{#349024}
* Overhaul Mandoline event transport coderjkroege2015-09-152-11/+59
| | | | | | | | | | | | | | | In the course of its development, Mandoline's event code has diverged away from event payloads that are a good fit with the current state of blink's input handling logic. This CL begins a process of updating the event code with an extended wheel interface capable of supporting the standards track wheel event and revised pointer events that will be extended in a future CL with support for the pointer events specification. BUG=524828 Review URL: https://codereview.chromium.org/1313353010 Cr-Commit-Position: refs/heads/master@{#349015}
* Update timestamp comment to reflect code.rjkroege2015-08-281-2/+3
| | | | | | | | | | | The input_events.mojom timestamp comment did not correspond to the implementation. Bring into alignment. BUG=524828 Review URL: https://codereview.chromium.org/1325523003 Cr-Commit-Position: refs/heads/master@{#346214}
* Mandoline: Enable Android software keyboard for the Omnibox.penghuang2015-08-171-11/+11
| | | | | | | | BUG=498624 Review URL: https://codereview.chromium.org/1286383003 Cr-Commit-Position: refs/heads/master@{#343679}
* Mandoline: Support text input on Android part 2 of 2.penghuang2015-08-051-12/+9
| | | | | | | | | | | | This CL plumbs WebView's current text input info to the mojo::ViewManager and sets it to the PlatformWindow. And then the PlatformWindow can control the software keyboard based on the info. BUG=498624 Review URL: https://codereview.chromium.org/1250093005 Cr-Commit-Position: refs/heads/master@{#341927}
* Mandoline: Support text input on Android part 1 of 2.penghuang2015-07-272-0/+84
| | | | | | | | | | | | | This CL is a part of CL https://codereview.chromium.org/1209083004/ . It Adds the PlatformImeController in PlatformWindow. It will be used for conmunicating with OS IME system. It also addes the a PlatformImeController implementation for Android. BUG=498624 Review URL: https://codereview.chromium.org/1252563004 Cr-Commit-Position: refs/heads/master@{#340494}
* Replace image_messages.h with Mojo servicehalton.huo2015-07-061-0/+27
| | | | | | | | | | | | | | | | | | Implement ImageDownloader service and register it into RenderFrame ServiceRegistry. This Mojo service will do the job did by ImageLoadingHelper before. Re-use mojom files: third_party/mojo_services/src/geometry/public/interfaces/ geometry.mojom skia/public/interfaces/bitmap.mojom TBR=rockot@chromium.org,amistry@google.com,darin@chromium.org,nasko@chromium.org BUG= Review URL: https://codereview.chromium.org/1085783002 Cr-Commit-Position: refs/heads/master@{#337370}
* Fixes crash on android when clicking on non-blinksky2015-06-196-0/+241
| | | | | | | | | | | | | | | | | The crash happened because we weren't setting a GestureConfiguration. Without setting one we try to use the system one, which requires JNI. HTMLViewer has code for doing this. There was some overlap with existing code so I refactored and combined. BUG=501387 TEST=none R=fsamuel@chromium.org Review URL: https://codereview.chromium.org/1193733002 Cr-Commit-Position: refs/heads/master@{#335184}
* Cleanup GN BUILD files, gni's and imports.msw2015-06-091-1/+0
| | | | | | | | | | | | | | | | | | | | Remove unused mojo/public/mojo_sdk.gni. (we use third_party/mojo's version instead) Update, use mojo/public/ mojo.gni and mojo_application.gni (to define Chromium's mojo_root, mojo_native_application) (we'll need a custom mojo_native_application for 498020) Remove unnecessary imports of related gni files. BUG=498020 TEST=Build still works as expected; no regressions. R=sky@chromium.org TBR=jochen@chromium.org,xhwang@chromium.org Review URL: https://codereview.chromium.org/1175693002 Cr-Commit-Position: refs/heads/master@{#333600}
* Moves services implementations out of third_party/mojo_servicessky2015-04-237-0/+423
Most go into components/, with the exception of events and input_events. They are in ui/mojo now. R=ben@chromium.org, jam@chromium.org, jochen@chromium.org TBR=jochen@chromium.org BUG=479353 Review URL: https://codereview.chromium.org/1085233004 Cr-Commit-Position: refs/heads/master@{#326535}