Граф коммитов

31 Коммитов

Автор SHA1 Сообщение Дата
tapted@chromium.org 80bafd02c0 [win8] Force browsers created while Chrome is in Metro mode to be on the Ash desktop.
When a user has configured Chrome to run in Metro mode, all browser
windows should open in the Ash desktop, regardless of where the request
came from. This includes browser desktop shortcuts, v1 browser-hosted
apps, OAuth windows, links from packaged apps, and DevTools windows.
Currently there are many code paths that result in a browser created in
Windows Desktop mode.

Also, if a browser is created in Ash, Metro mode does not always
activate. This may cause a user to think no window was created.

This CL adds BrowserWindow::AdjustHostDesktopType(..) to represent the
current policy decision that browser windows should only open on the Ash
desktop on Windows, when Chrome is running in Metro mode.

The policy is enforced by ensuring all constructed Browser instances are
created with a verified host desktop, which will be TYPE_ASH whenever the
ash shell is instantiated on Windows.

Then, when a browser window gains focus in the Ash desktop, if the metro
viewer process is not already the foreground window, switch to Metro
mode.

BUG=315385, 315894, 319173
TEST=Have Chrome configured in Metro mode. Then:
1. Open Chrome via the Desktop mode App Launcher.
2. Open Chrome via the context menu on the Chrome icon on the Desktop
mode App Launcher.
3. Open Chrome with a profile-badged desktop shortcut (twice).
4. (in Metro Mode) open an undocked Inspector window.
5. Open a v1 hosted app (e.g. Drive) from the Desktop mode app launcher.
6. After showing the Desktop app launcher and closing it, open a v1
hosted app desktop shortcut
===> All of these should open windows in Ash, and switch to Metro mode.

Review URL: https://codereview.chromium.org/58853004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@235906 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-19 04:00:41 +00:00
spang@chromium.org 6e0c24a6a3 Support removal of DRI platform
All ozone configurations currently build DRI support, and therefore
have a dependency on the libdrm system library. This is not needed
except when ozone_platform_dri is enabled.

This allows us to drop the link to libdrm when it is not needed.

Review URL: https://codereview.chromium.org/62953003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233671 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-07 20:10:44 +00:00
sadrul@chromium.org 147d59164f ozone: Allow building for ozone without depending on pango
Notable changes in this CL:
 * Rename files that depend on pango to have _pango suffix.
 * Add a filename gyp rule to exclude _pango* files when use_pango = 0
 * Add empty implementations for a few font-related API for ozone.

BUG=313793
R=jam@chromium.org, msw@chromium.org, rjkroege@chromium.org

Review URL: https://codereview.chromium.org/26541007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233228 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-06 06:02:45 +00:00
kalyan.kondapally@intel.com 124f828818 Add a general rule that excludes files matching auralinux on windows.
Add a general rule to exclude files ending with _auralinux 
on platforms other than Linux or when aura support is not enabled.

BUG=

Review URL: https://codereview.chromium.org/50393002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231742 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-30 04:19:15 +00:00
spang@chromium.org d912bb9927 Move evdev events support into EventFactoryDelegateEvdev
And introduce a gyp variable use_ozone_evdev to allow this feature to be
removed from the build. Additionally, the --ozone-events flag is introduced
to select an EventFactoryDelegateOzone implementation to use.

If an embedder or out-of-tree EventFactoryDelegateOzone implementation
calls SetEventFactoryDelegateOzone during initialization, the flag has no
effect.

BUG=none
TEST=Build & run content_shell, ui_unittests with use_ozone=1

Review URL: https://codereview.chromium.org/28513004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229950 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-21 23:09:48 +00:00
sadrul@chromium.org dade23a07f events: Create a separate events component out of ui.
BUG=none
R=ben@chromium.org

Review URL: https://codereview.chromium.org/24788002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226105 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-01 01:44:56 +00:00
erg@chromium.org 8fb206a369 linux_aura: Fix crash when dragging NTP icons.
While the title in a Mozilla style URL may not be optional, an empty
title is indistinguishable from one without.

BUG=277264

Review URL: https://chromiumcodereview.appspot.com/22901023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@219173 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-23 01:12:39 +00:00
jochen@chromium.org 7cd9978436 Move android filename rules to appropriate gypi file
We should only define filename based rules in filename_rules.gypi so it only affects chromium source.

BUG=none
R=bulach@chromium.org

Review URL: https://chromiumcodereview.appspot.com/19685007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@212890 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-22 16:07:49 +00:00
thestig@chromium.org fff8aa73bf Automatically exclude *_win_browsertest.* from non-Windows builds.
Review URL: https://chromiumcodereview.appspot.com/17009011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@207151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-19 03:21:15 +00:00
davemoore@chromium.org 5ee019b16c Add gyp support for ozone platform
Ozone is Linux without X, supporting aura builds.

BUG=178543
TEST=None
R=ben@chromium.org

Review URL: https://codereview.chromium.org/14816004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@198167 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-03 19:19:15 +00:00
sadrul@chromium.org 071a75293c chromeos and media: Allow building chromeos without X.
BUG=none

Review URL: https://codereview.chromium.org/12476005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@186743 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-07 18:20:22 +00:00
tbarzic@chromium.org 03bd2b642c Add filter for chromeos dirs in filename_rules.gypi (to exclude them when not on chromeos)
BUG=None
TEST=trybots

Review URL: https://chromiumcodereview.appspot.com/11973004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@177501 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-17 21:48:37 +00:00
sadrul@chromium.org 2370b47ca7 overscroll: Add a browser-test for the aura implementation.
The test verifies that overscroll performs navigation correctly on
pages with and without touch event handlers.

BUG=160668
TBR=joi@chromium.org (for content_tests.gypi)

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=168547

Review URL: https://codereview.chromium.org/11414048

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168600 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-19 20:51:37 +00:00
sreeram@chromium.org f540714bea Revert 168547 - overscroll: Add a browser-test for the aura implementation.
The test verifies that overscroll performs navigation correctly on
pages with and without touch event handlers.

BUG=160668
TBR=joi@chromium.org (for content_tests.gypi)

Review URL: https://codereview.chromium.org/11414048

Failed on Win Aura:
http://build.chromium.org/p/chromium.win/builders/Win%20Aura/builds/24496

TBR=sadrul@chromium.org

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168554 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-19 18:19:38 +00:00
sadrul@chromium.org 5af84a3cd5 overscroll: Add a browser-test for the aura implementation.
The test verifies that overscroll performs navigation correctly on
pages with and without touch event handlers.

BUG=160668
TBR=joi@chromium.org (for content_tests.gypi)

Review URL: https://codereview.chromium.org/11414048

git-svn-id: http://src.chromium.org/svn/trunk/src/build@168547 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-19 17:30:08 +00:00
jamescook@chromium.org 538ae8c633 Rename and move Ash window frame files
* AppNonClientFrameViewAura is Ash-specific, rename to AppNonClientFrameViewAsh
* Move BrowserNonClientFrameViewAsh into chrome/browser/ui/views/frame/ with
  all the other views platform-specific frames
* Add build rule to exclude _ash_browsertests for non-Ash builds

BUG=156361
TEST=compiles, browser_tests *NonClientFrameView* pass


Review URL: https://chromiumcodereview.appspot.com/11229041

git-svn-id: http://src.chromium.org/svn/trunk/src/build@163466 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-23 01:08:59 +00:00
dbeam@chromium.org 2fd0145ba6 [test fixlet] Add tests for the zoom icon in the location bar on GTK.
BUG=None
TEST=LocationBarGtkZoomTest.* and ViewIDTest.* pass on bots.


Review URL: https://chromiumcodereview.appspot.com/10985069

git-svn-id: http://src.chromium.org/svn/trunk/src/build@160294 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-05 01:47:13 +00:00
stuartmorgan@chromium.org 56977ad56f Add iOS handling to filename_rules.gypi
Includes .mm on iOS as well as Mac, and adds handling of an _ios suffix for iOS-only files.

BUG=None
TEST=None


Review URL: https://chromiumcodereview.appspot.com/10690037

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144909 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-29 15:26:46 +00:00
wangxianzhu@chromium.org 51a0219c9a Rename back _linuxish to linux.
_linuxish is ambiguous. Use 'target_conditions' to include the required files
that are for linux on Android.

(TBR because the changes in chrome/browser/ui/gtk and content/app/android are all simple changes of #include file names)

BUG=none
TEST=Build successfully
TBR=erg@chromium.org,jrg@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10532178

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144176 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-26 15:09:12 +00:00
sque@chromium.org e4c5a11bc9 filename_rules: Separate chromeos from x11 rule
The x11 exclusion rule should not be excluding chromeos files.  There is
a separate chromeos exclusion rule for that.

Also adding unit test exclusion to the chromeos rule.

BUG=chromium:134081
TEST=build w/ tests successfully

Signed-off-by: Simon Que <sque@chromium.org>

Change-Id: I2e462dcbda6ffc3636886a1f877a5554b7f6a1a9


Review URL: https://chromiumcodereview.appspot.com/10632015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@143694 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-22 20:20:31 +00:00
bbudge@chromium.org fd05f0d5c4 Add files and exclusions needed for NaCl IPC proxy to base_untrusted target.
BUG=116317
TEST=compiles

Review URL: https://chromiumcodereview.appspot.com/10544095

git-svn-id: http://src.chromium.org/svn/trunk/src/build@141613 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-12 04:02:33 +00:00
bradnelson@google.com 7c0171141a Adding base_untrusted.
Adding a nacl version of base.

BUG=None
TEST=None
R=bbudge@chromium.org


Review URL: https://chromiumcodereview.appspot.com/10389196

git-svn-id: http://src.chromium.org/svn/trunk/src/build@141144 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-08 01:01:57 +00:00
jam@chromium.org 5fa73a5de0 Tighten up DEPS some more. NaCl/service process code are including internal content files. Fix the instances other sandbox stuff, which I'll do in a followup.
BUG=98716
Review URL: https://chromiumcodereview.appspot.com/10512010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@140346 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-04 19:33:56 +00:00
carlosvaldivia@google.com 58b52e73f9 Upstream crash changes for android.
Third time is a charm.

Original Reviews:

https://chromiumcodereview.appspot.com/9838033/
http://codereview.chromium.org/9967017

Revert "Revert 131593"

This reverts commit e306ea7f630d4264075913ea3a1a728d98ca9605.

BUG=
TEST=


Review URL: http://codereview.chromium.org/9960072

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-10 22:52:44 +00:00
erg@google.com d968d16883 Revert 131593
Speculatively reverting due to gyp update error on official bots:

KeyError: 'src/breakpad/breakpad.gyp:dump_syms#target while trying to load target src/remoting/remoting.gyp:remoting_linux_symbols#target'

This is the only patch in the regression range that touches breakpad.gyp.

---
Upstream Android native crash handling changes.

This is actulaly the second time.

Revert "Revert 131404 - Upstream native crash handling changes for Android."

This reverts commit 421df96aab6267e963ddff16c9f738aa903a2cba.

Conflicts:

	chrome/browser/chrome_browser_main.cc

BUG=
TEST=


Review URL: http://codereview.chromium.org/9967017

TBR=carlosvaldivia@google.com
Review URL: https://chromiumcodereview.appspot.com/10037013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131600 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-10 19:04:43 +00:00
carlosvaldivia@google.com 2cd9d95d38 Upstream Android native crash handling changes.
This is actulaly the second time.

Revert "Revert 131404 - Upstream native crash handling changes for Android."

This reverts commit 421df96aab6267e963ddff16c9f738aa903a2cba.

Conflicts:

	chrome/browser/chrome_browser_main.cc

BUG=
TEST=


Review URL: http://codereview.chromium.org/9967017

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131593 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-10 18:34:44 +00:00
msw@chromium.org 0afc880e09 Revert 131404 - Upstream native crash handling changes for Android.
Android native crash handling is almost identical to linux handling with
some differences.

Note that even after this change Chrome on Android will not compile with
the USE_LINUX_BREAKPAD flag. Forthcomming changes in breakpad should
remedy this state of affairs.

BUG=
TEST=


Review URL: http://codereview.chromium.org/9838033

TBR=carlosvaldivia@google.com
Review URL: https://chromiumcodereview.appspot.com/9999004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131420 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-09 20:10:17 +00:00
carlosvaldivia@google.com 70f50c1a6e Upstream native crash handling changes for Android.
Android native crash handling is almost identical to linux handling with
some differences.

Note that even after this change Chrome on Android will not compile with
the USE_LINUX_BREAKPAD flag. Forthcomming changes in breakpad should
remedy this state of affairs.

BUG=
TEST=


Review URL: http://codereview.chromium.org/9838033

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131404 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-09 19:27:22 +00:00
oshima@chromium.org 89c1c390df Remove WAYLAND port
Also removed skia/ext/canvas_paint_x.h which is not in use.

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/10009024

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-07 00:33:04 +00:00
erg@chromium.org 3ab654a617 Rename chrome/browser/ui/views/{aura => ash}/
BUG=116458
R=ben
TBR=davemoore

Review URL: http://codereview.chromium.org/9570044

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124752 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-02 22:40:55 +00:00
evan@chromium.org 734901a222 build/common.gypi: split out filename exclude rules
Here's a step towards making this enormous file a little more tractable.


Review URL: http://codereview.chromium.org/9288078

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119372 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-27 04:55:13 +00:00