Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ozone wayland dev file dialog patches #481

Open
wants to merge 32 commits into
base: ozone-wayland-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
050c6d9
Add a README with newest development activities.
fred-wang Apr 5, 2017
76fc3d9
Add support for V4L2VDA on Linux
dhobsong Oct 10, 2017
ccdb60a
Add mmap via libv4l to generic_v4l2_device
dhobsong Mar 21, 2018
d9ee140
Make window interactions (move, resize, double click and etc) working
msisov May 8, 2018
8c2d885
First attempt to remove decorations from small windows
jkim-julie May 9, 2018
c79ba48
[ozone/x11] Add popup window type support.
msisov Aug 29, 2017
96cb3db
Use ui::EventTimeForNow for pointer and keyboard events
tonikitoo Sep 6, 2017
bb22d83
Reset Cursor type when pointer exits
tonikitoo Nov 23, 2017
989da76
Add inital support for a tab drag window.
msisov Oct 17, 2017
f6d0cf2
[ozone/x11] Add initial display data fetching mechanism.
msisov May 15, 2018
9935306
Add X11DisplayManager to get display information
jkim-julie Jun 5, 2018
56a3597
Ensure default scale value of cursors is not 0.0f but 1.0f.
msisov Jul 31, 2018
21265e4
IME for Platform integration: remove chromeos deps
Jan 15, 2018
53109e8
IME for Wayland: Ozone Wayland IME integration
Jan 16, 2018
c91385c
Implements Drag and Drop for Ozone/X11
jkim-julie Aug 8, 2018
bc00e29
[ozone/x11/headless] Use FakeInputMethodContextFactory to avoid crash…
msisov Aug 10, 2018
fd64bca
Implements Drag and Drop for Ozone/Wayland
jkim-julie Aug 8, 2018
5a210ab
Create string files for file_manager
jkim-julie Aug 13, 2018
5a9e000
Add file_manager folder and files for extenions APIs to chrome/browse…
jkim-julie Aug 22, 2018
f7bedbb
Add file_manager files for managing files to chrome/browser/
jkim-julie Aug 22, 2018
d1636d8
Add fileapi to chrome/browser/
jkim-julie Aug 22, 2018
feb25a5
Add file_system_provider to chrome/browser/extensions/api
jkim-julie Aug 22, 2018
5c6566b
Make file manager path to updated common path
jkim-julie Aug 27, 2018
db36301
Add platform folder to chrome/browser/file_manager
jkim-julie Aug 14, 2018
0a4c881
Add platform folder to chrome/browser/extensions/api/file_system_prov…
jkim-julie Aug 14, 2018
5ee925d
Add platform folder to chrome/browser/extensions/api/file_manager/
jkim-julie Aug 14, 2018
271aba6
Add OS_CHROMEOS guard to chrome/browser/file_manager
jkim-julie Aug 14, 2018
d1c929e
Add OS_CHROMEOS guard to chrome/browser/fileapi/
jkim-julie Aug 14, 2018
7503d3b
Add OS_CHROMEOS guard to chrome/browser/extensions/api
jkim-julie Aug 14, 2018
bc40bf4
Make file manager build on linux and ChromeOS
jkim-julie Aug 14, 2018
c732e88
Add bindings and manifest/idl/json
jkim-julie Aug 14, 2018
c84fea7
Implement SelectDialog with fileSelectionExtenson for Ozone build.
jkim-julie Aug 14, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
105 changes: 101 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,108 @@
# ![Logo](chrome/app/theme/chromium/product_logo_64.png) Chromium
# Chromium for Wayland

Chromium is an open-source browser project that aims to build a safer, faster,
and more stable way for all users to experience the web.
The goal of this project is to enable
[Chromium browser](https://www.chromium.org/) to run on
[Wayland](https://wayland.freedesktop.org/). Note that contrary to
[01.org/ozone-wayland](https://github.com/01org/ozone-wayland), the idea is
to keep it very close to upstream developments as well as aligned on Google's own
plans. In particular, this fork is rebased against
[Chromium ToT](https://chromium.googlesource.com/chromium/src.git) each week
and patches are upstreamed as soon as possible.

The project's web site is https://www.chromium.org.
The implementation also relies on actively developed Chromium technologies:

* [Aura](https://www.chromium.org/developers/design-documents/aura/aura-overview) for the user interface and windowing.
* [Ozone](https://chromium.googlesource.com/chromium/src/+/master/docs/ozone_overview.md) as a platform abstraction layer together with the [upstream Wayland backend](https://chromium.googlesource.com/chromium/src.git/+/master/ui/ozone/platform/wayland/).
* [Mojo](https://chromium.googlesource.com/chromium/src/+/master/mojo) to perform IPC communication.

Notice that the effort done here is also useful to run Chromium with Ozone on
Linux Desktop for X11/Wayland.

# What is Chromium browser?

![Logo](chrome/app/theme/chromium/product_logo_64.png) Chromium

[Chromium](https://www.chromium.org) is an open-source browser project that aims to build a safer, faster,
and more stable way for all users to experience the Web.

Documentation in the source is rooted in [docs/README.md](docs/README.md).

Learn how to [Get Around the Chromium Source Code Directory Structure
](https://www.chromium.org/developers/how-tos/getting-around-the-chrome-source-code).

# Building Chromium

General information is provided by the upstream documentation for
[Chromium on Linux](https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md)
and
[Ozone](https://chromium.googlesource.com/chromium/src/+/master/docs/ozone_overview.md).
Here is the summary of commands to build and run Chrome for Wayland:

```
gn args out/Ozone --args="use_ozone=true use_xkbcommon=true"
ninja -C out/Ozone chrome
./out/Ozone/chrome --ozone-platform=wayland --in-process-gpu

Note that GN defaults to debug builds, which naturally take longer to finish and produce slower binaries at runtime. The 'is_debug=false' GN arguments disables it.

Also note that some touch oriented Web pages like Google Maps, work better when the Touch Event API is explicitly enabled
in chrome://flags or a command line argument --touch-events=enabled is passed.

It is also possible to enable proprietary codecs (so that mp4, h264 medias play) with the following GN args: 'proprietary_codecs=true ffmpeg_branding=\"Chrome\"'.
```

By default, the `headless`, `x11` and `wayland` Ozone backends are
compiled and X11 is selected when `--ozone-platform` is not specified.
Please refer to the
[GN Configuration notes](https://chromium.googlesource.com/chromium/src/+/master/docs/ozone_overview.md#GN-Configuration-notes) for details on how to change
that behavior.

# Running Tests

To be added.

# Rebase Strategy

The fork is rebased every week against Chromium ToT.
The goal is to be as close as possible to the latest code, which is
constantly receiving performance and stability fixes.

Here is the current process:

* Every week, a member of the Igalia Chromium team takes the rebase shift.

* Commits that are complementary of each other, receive a "fixup!" prefix on
the commit title, and keep the rest of original commit title unchanged.

For example:

```
$ git log --oneline
commit 1
commit 2
commit 3
fixup! commit 1
fixup! commit 2
commit 4
fixup! commit 2
(..)
```

This allows an easy identification of "fixup" commits, which should be squashed into
their original counterpart commit as part of the next rebase cycle. That way we keep
our Git history clean, and commits as atomic as possible, for when upstreaming.

Git has [an optimized flow for this](http://fle.github.io/git-tip-keep-your-branch-clean-with-fixup-and-autosquash.html) as well.

* We always keep the 'ozone-wayland-dev-refactoring' branch as our primarily development branch.

This means that force pushes will happen. So every time one of the team members
rebases our branch, the developer should first back up the existing ozone-wayland-dev
browser, with the following naming: ozone-wayland-dev-refactoring-rXXXX, where XXXX is the respective
Chromium baseline of the branch.

* Branch acceptance criteria

To be added.

* Keep [our internal buildbot](https://build-chromium.igalia.com/) green.
Loading