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

560 Коммитов

Автор SHA1 Сообщение Дата
jschuh@chromium.org 54476b5bd1 Update Windows version macros to Win 7
BUG=92941
Review URL: http://codereview.chromium.org/8004004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102735 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-26 16:06:47 +00:00
sadrul@chromium.org d0ac9c0cb5 touchui: support XInput2 multitouch
Use XI2 multitouch events instead of mouse events as touch event input for touchui build.

Note: XI MT will be supported in X server 1.12 and XI2.2. Please use build switch "use_xi2_mt=<minor version number>" to specify the minimum XI2 minor version. It is useful to test on experimental XI2.1 with MT support (e.g. build with use_xi2_mt=1).

BUG=95150
TEST=(1) build with touchui=1 use_xi2_mt=1 (2) test on ubuntu 11.04 (X server 1.10 and XI2.1 with experimental MT support). (3) manually test if touch works on browser UI and JS touch events.

Review URL: http://codereview.chromium.org/7792094
Patch from Ningxin Hu <ningxin.hu@intel.com>.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102668 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-25 00:04:35 +00:00
saintlou@chromium.org b35b9c2677 + renamed window_snapshot_x.cc => window_snapshot_gtk.cc
+ added window_snapshot_aura.cc
+ added missing members to icon_loader_aura.cc
+ fixed a couple of minor issues with #includes

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102659 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-24 18:32:49 +00:00
epoger@google.com 9dfcbb32fd Change default on Mac to use_skia=1
For context, see http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/f8d4f43b6e66ab83#
Review URL: http://codereview.chromium.org/8002009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102532 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-23 18:18:14 +00:00
tony@chromium.org 28e023ec89 On Windows, force the output directories to be src/build/{Debug,Release}.
This allows develoeprs to build from any sln file and not have to rebuild the
world.  This is more like how XCode projects are generated.

We choose src/build/{Debug,Release} because this is where all.sln generates
files and this is what the bots use.  This shouldn't require any changes to
the bots.

BUG=95278

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102514 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-23 17:15:32 +00:00
sadrul@chromium.org eb44487d8e aura: Have aura and aura_demo build and run without gtk on linux.
BUG=97131
TEST=manually

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102403 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-23 00:08:46 +00:00
thakis@chromium.org 3a140855ab mac: Don't build with debug information on the trybots.
Locally, a full build is 50% faster with this.

BUG=none
TEST=mac trybot build time should go down at least 7 minutes.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102343 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-22 20:23:14 +00:00
davemoore@chromium.org 8b69126dac These are the changes necessary for views to be able to build w/ use_aura implying no gtk.
BUG=97131
TEST=views_unittests

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102335 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-22 19:39:52 +00:00
bradnelson@google.com 0f3b860b98 Temporarily turning off stripping for mac builds on the main waterfall to
debug intermittent crash seen only there.

BUG=None
TEST=None
R=bradchen@chromium.org
Review URL: http://codereview.chromium.org/7976042

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102221 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-22 01:09:01 +00:00
jamescook@chromium.org 0b31c3206c Aura: Use extension-based file picker from CrOS for pure-views builds.
Removes the dependency on chromeos-specific code in the extension-based file picker.  Compiles, links, and runs, but the dialog doesn't function yet - there's still some work to do to wire up the private JavaScript API calls.  See crbug.com/97424

BUG=chromium-os:20583
TEST=On plain ChromeOS, can still open a file with control-O file picker.

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102113

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102156 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 20:26:19 +00:00
jamescook@chromium.org d79a0b0dba Revert 102113 - Aura: Use extension-based file picker from CrOS for pure-views builds.
Removes the dependency on chromeos-specific code in the extension-based file picker.  Compiles and links, but does not yet run - the extension subsystem is not finding the resources for the file_manager component extension.  The Aura build currently won't process keyboard or mouse events, so I don't have a good way to debug this.  For now, added logging, and we'll get back to it when Aura is in better shape.

BUG=chromium-os:20583
TEST=On plain ChromeOS, can still open a file with control-O file picker.

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

TBR=jamescook@chromium.org
Review URL: http://codereview.chromium.org/7976025

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102116 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 16:44:47 +00:00
jamescook@chromium.org e71037fab5 Aura: Use extension-based file picker from CrOS for pure-views builds.
Removes the dependency on chromeos-specific code in the extension-based file picker.  Compiles and links, but does not yet run - the extension subsystem is not finding the resources for the file_manager component extension.  The Aura build currently won't process keyboard or mouse events, so I don't have a good way to debug this.  For now, added logging, and we'll get back to it when Aura is in better shape.

BUG=chromium-os:20583
TEST=On plain ChromeOS, can still open a file with control-O file picker.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102113 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 16:27:13 +00:00
sadrul@chromium.org f3bba76ca4 aura: Make GTK a dependency again for chrome/aura etc. to make things buildable.
BUG=97131
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102078 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 03:01:09 +00:00
flackr@chromium.org a16a345354 Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs (Patch set 1 Reverts revert of http://codereview.chromium.org/7670041/)
This adds the flag --use-more-webui to allow turning on WebUI replacements for native dialogs. This flag is automatically set when --use-pure-views is specified. Modifies replaced native dialogs to be toggled based on flag value. BookmarkEditor has also been refactored to use static constructors to EditDetails to describe what is being edited to make the code more readable.

BUG=96935
TEST=Tested that webui dialogs can be turned on or left off with --use-more-webui.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102071 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 02:03:38 +00:00
sadrul@chromium.org ef323b60a0 Reland 102005 and 102009: aura: Explicitly disable GTK.
Explicitly disable GTK by setting TOOLKIT_USES_GTK. This is the first in a
series of changes required to have chrome on aura build and link without GTK.
This CL makes base/ build without GTK. Subsequent CLs will do this for other
components.

TBR=evan@chromium.org
BUG=97131
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102058 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 00:17:19 +00:00
saintlou@chromium.org 6a24e6d188 Making TOOLKIT_USES_GTK orthogonal to USE_AURA.
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102019 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-20 21:20:33 +00:00
nsylvain@chromium.org 3e5d0ac178 Add a gyp flag to enable dcheck by default in release without
having the pass a flag. This will be used on the try bots.

BUG=96753
Review URL: http://codereview.chromium.org/7719007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102017 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-20 20:59:01 +00:00
sky@chromium.org 39c9343ddc Revert 102005 - aura: Explicitly disable GTK.
Explicitly disable GTK by setting TOOLKIT_USES_GTK. This is the first in a series of changes required to have chrome on aura build and link without GTK. This CL makes base/ build without GTK. Subsequent CLs will do this for other components.

BUG=97131
TEST=none

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

TBR=sadrul@chromium.org
Review URL: http://codereview.chromium.org/7978007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102015 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-20 20:56:51 +00:00
michaelbai@google.com 10e10ee112 Upstream: The Common.gypi change for Android.
BUG=
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102007 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-20 20:35:01 +00:00
sadrul@chromium.org be2c499b31 aura: Explicitly disable GTK.
Explicitly disable GTK by setting TOOLKIT_USES_GTK. This is the first in a series of changes required to have chrome on aura build and link without GTK. This CL makes base/ build without GTK. Subsequent CLs will do this for other components.

BUG=97131
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102005 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-20 20:29:52 +00:00
scherkus@chromium.org 49a36b92da Revert 101785 - Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs.
This adds the flag --use-more-webui to allow turning on WebUI replacements for native dialogs. This flag is automatically set when --use-pure-views is specified. Modifies replaced native dialogs to be toggled based on flag value. BookmarkEditor has also been refactored to use static constructors to EditDetails to describe what is being edited to make the code more readable.

BUG=96935
TEST=Tested that webui dialogs can be turned on or left off with --use-more-webui.

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101581

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

TBR=flackr@chromium.org
Review URL: http://codereview.chromium.org/7957001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101789 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-19 18:49:47 +00:00
flackr@chromium.org 9cacad61ce Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs.
This adds the flag --use-more-webui to allow turning on WebUI replacements for native dialogs. This flag is automatically set when --use-pure-views is specified. Modifies replaced native dialogs to be toggled based on flag value. BookmarkEditor has also been refactored to use static constructors to EditDetails to describe what is being edited to make the code more readable.

BUG=96935
TEST=Tested that webui dialogs can be turned on or left off with --use-more-webui.

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101581

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101785 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-19 18:33:23 +00:00
saintlou@chromium.org 300f01fe76 Aura under Linux is enabled with:
'use_aura': 1,

BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101704 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-18 17:28:50 +00:00
rsimha@chromium.org 315f1523fb Revert 101581 - Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs.
Reason for revert: Broke compile on linux touch.

This adds the flag --use-more-webui to allow turning on WebUI replacements for native dialogs. This flag is automatically set when --use-pure-views is specified. Modifies replaced native dialogs to be toggled based on flag value. BookmarkEditor has also been refactored to use static constructors to EditDetails to describe what is being edited to make the code more readable.

BUG=None
TEST=Tested that webui dialogs can be turned on or left off with --use-more-webui.

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

TBR=flackr@chromium.org
Review URL: http://codereview.chromium.org/7919028

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101585 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-16 22:31:20 +00:00
flackr@chromium.org 27bd099576 Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs.
This adds the flag --use-more-webui to allow turning on WebUI replacements for native dialogs. This flag is automatically set when --use-pure-views is specified. Modifies replaced native dialogs to be toggled based on flag value. BookmarkEditor has also been refactored to use static constructors to EditDetails to describe what is being edited to make the code more readable.

BUG=None
TEST=Tested that webui dialogs can be turned on or left off with --use-more-webui.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101581 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-16 22:09:29 +00:00
ben@chromium.org 77a8380c08 Adds some features to the shell:
- desktop background
- stub launcher
- clicking the background opens test windows

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7903018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101496 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-16 16:37:30 +00:00
thakis@chromium.org 77909dd432 mac: Turn style plugin on by default.
BUG=none
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101494 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-16 16:11:07 +00:00
thestig@chromium.org aa6c57f90c Remove an unused seccomp sandbox gyp variable.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7889056

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101354 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-15 19:18:56 +00:00
thakis@chromium.org 0aa8184c5d mac: Switch the default compiler to clang for everyone.
Also commit http://codereview.chromium.org/7890052/ as part of this CL,
so that new pch files are created for clang automatically.

BUG=none
TEST=devs get happier, not too many bots break

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101239 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-15 03:58:11 +00:00
rsleevi@chromium.org aad0b3763b When cross-compiling for ia32, do not build 'host' targets with -m32
BUG=94852
TEST=it (cross-)compiles


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101014 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-14 02:36:21 +00:00
nduca@chromium.org 42e853781d Retry 3 to split WebGraphicsContext3DCommandBufferImpl::initialize() into two stages.
This CL splits out creation of the context from channel creation.  The
WebGraphicsContext3D will not be fully initialized until MakeCurrent is called
on it, at which point it is tied to the calling thread.

As compared to previous land attempts, this has:
- Protection against isContextLost being called on a dead context
- WebKit-side protection to ensure that GraphicsContext3Ds get made current
- Pepper modified to makeCurrent new contexts

Original review URL: http://codereview.chromium.org/7713015

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@100955 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-13 20:06:17 +00:00
saintlou@chromium.org c425704c24 Up to now the only touch UI was running Pure Views. However, we want to improve Pure Views for Chromium and ChromiumOS benefit independently of Touch. And therefore make the "use_only_pure_views" orthogonal so that it can be enabled with chromeos==0 or ==1 and/or with touchui==0.
The ultimate goal is to have toolkit_views <==> use_only_pure_views when all the GTK code has been removed from Views.

Note: as a side-effect this should  reduce the need to use #ifdef TOUCH_UI which in many cases shall be replaced by USE_ONLY_PURE_VIEWS.

BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@100846 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-13 02:50:22 +00:00
mihaip@chromium.org cc0d79aec0 Remove CHROME_V8 #define and related javascript_engine gyp variable.
BUG=94282
R=tfarina@chromium.org


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@100692 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-12 15:39:19 +00:00
joth@chromium.org 8609ddc544 Refactor ScopedJavaRef
- introduces JavaRef<> base class to allow passing refs without knowledge of their scope
- makes the ScopedJavaLocalRef and ScopedJavaGlobalRef consistent, in name, in methods available, and in conversions allowed.
Also updates some other minor base API changes whilst I'm in those files.

BUG=
TEST=doesn't break build...

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@100383 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-09 10:17:35 +00:00
mark@chromium.org 927eb1f97d Disable PIE for dump_syms. The framework is too big to reliably be able to
mmap it in a 32-bit process with PIE on. There may not be a big enough gap in
the address space to mmap it.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7840040

git-svn-id: http://src.chromium.org/svn/trunk/src/build@100149 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-08 15:33:17 +00:00
thakis@chromium.org daf3d79f22 clang/make: Set LINK to $(CXX).
Fixes clients that set CXX to a custom clang, such as ASAN.

BUG=none
TEST=asan bot goes green again.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99868 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-06 23:51:07 +00:00
thakis@chromium.org 73235a9581 Set CC to clang when GYP_DEFINES=clang=1.
This makes it a lot easier to build with clang, since setting the GYP_DEFINES
is now the only thing one has to do. The rest is set automatically.
In preparation of setting clang=1 in build/common.gypi on mac.

Depends on http://codereview.chromium.org/7779041/ . Idea and xcode
part of the patch by Mark.

BUG=none
TEST= Set GYP_DEFINES=clang=1, create xcode and make projects
1.) Building with Xcode 3.2 uses clang
2.) Building with Xcode 4 gives functional fixits
3.) Building with make uses clang both for host and target
4.) Building with xcodebuild and goma still works on mac
5.) Building with make and goma still works

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99835 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-06 21:53:30 +00:00
thakis@chromium.org 26dfaaa88a Revert 99673 (didn't help) - mac: Use stabs instead of dwarf when fastbuild=1
libbase_i18n.a goes from 1MB to 300kB with this. I could imagine that
this CL makes the trybot compile time quite a bit faster.

BUG=none
TEST=none
TBR=mark

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

TBR=thakis@chromium.org
Review URL: http://codereview.chromium.org/7834036

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99697 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-06 05:00:01 +00:00
thakis@chromium.org 1ff51ba02c mac: Use stabs instead of dwarf when fastbuild=1
libbase_i18n.a goes from 1MB to 300kB with this. I could imagine that
this CL makes the trybot compile time quite a bit faster.

BUG=none
TEST=none
TBR=mark

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99673 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-05 21:46:51 +00:00
scottbyer@chromium.org 1049802386 Smooth scrolling
Smooth scrolling compiled in behind a flag on Windows.

BUG=61140
TEST=build chrome, launch, check about:flags for Smooth Scrolling


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99525 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-03 03:09:40 +00:00
glider@chromium.org ddbba0674f If the 'asan' GYP variable is set to 1 on Mac, do not strip the __asan_init symbol from the binaries.
Review URL: http://codereview.chromium.org/7828043

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99371 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-02 15:34:00 +00:00
thakis@chromium.org b2b175e465 Enable smooth scrolling on mac
This confuses a few unit tests, so add some machinery to disable the feature in tests and do so in the tests that need it.

BUG=61140,575
TEST=Go to en.wikipedia.org, hit space. Scroll should be animated.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99186 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-01 15:23:56 +00:00
pkasting@chromium.org b7b65c0810 Reduce number of unnamed-type-template-args violations (mostly when passing values to DCHECK(), ASSERT_EQ(), etc.), generally by naming previously-anonymous enums. We've decided not to eliminate the warning entirely because doing so is only possible with tons of ugly static_cast<>()s in Mac code.
BUG=92247
TEST=Compiles
Review URL: http://codereview.chromium.org/7605019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@99086 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-01 00:46:33 +00:00
gbillock@chromium.org 6db18b2111 Revert 97966 : Revert 97955 - First pass on intents options UI.
Original review URL: http://codereview.chromium.org/7624012

R=groby@chromium.org,vandebo@chromium.org
BUG=none
TEST=*Intents*


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98340 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-25 23:02:07 +00:00
ben@chromium.org 4381f95b49 Add Aura support to views:
- change aura GYP_DEFINE to use_aura to be consistent with other switches
- add gfx::NativeView/Window typedefs
- add NativeWidgetAura/etc.
- update some ifdefs and includes to build on windows.

http://crbug.com/93944
TEST=none
Review URL: http://codereview.chromium.org/7741001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98234 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-25 15:39:58 +00:00
ben@chromium.org 7d47acb8ff Add support for GYP_DEFINES aura_wm=1 which also defines views_compositor=1.
This build flag will control which set of native types views builds with on various platforms.

Also fixes mouse event handling in the demo app so that the window can be moved.

http://crbug.com/84070
TEST=none
Review URL: http://codereview.chromium.org/7717015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98086 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 19:03:35 +00:00
mark@chromium.org 94f879ec90 Turn off PIE when building for Valgrind.
BUG=90221, 93551
TEST=Valgrind
Review URL: http://codereview.chromium.org/7724002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98046 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 14:59:13 +00:00
mark@chromium.org 33b38ff9ef Give plug-in processes an executable heap and disable PIE/ASLR for Native
Client loader processes.

Some plug-ins depend on having an executable heap. They write code to data
pages and attempt to execute it without calling mprotect to mark this code
as executable.

Native Client needs to allocate a contiguous 1GB of address space. ASLR may
interfere with there being a "hole" this large in the address space by the
time NaCl makes its request.

Non-executable heaps are only available in 10.7 and later for 32-bit
processes.

PIE/ASLR was formerly disabled for all processes other than the browser
process. This change reenables it for all processes other than the NaCl
loader. PIE/ASLR is available on 10.5 and later, although the implementation
is stronger in 10.7 than in earlier releases.

This change results in two new helpers in addition to the existing
Chromium Helper.app: Chromium Helper EH.app (for executable heaps) and
Chromium Helper NP.app (for no PIE). libplugin_carbon_interpose.dylib moves
out of the helper .app and directly into the versioned directory. The
InfoPlist.strings have been removed from the helper app, but empty .lproj
directories remain.

BUG=90221, 93551
TEST=everything
Review URL: http://codereview.chromium.org/7714018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97984 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 03:33:36 +00:00
mattm@chromium.org 3860ca64c4 Revert 97955 - First pass on intents options UI.
Copies the cookies view handler for intents.
Add pass-throughs to grit for flag.
Optionalize intents options page JS/CSS.
Fix up data model to read title. Working test.

R=jhawkins@chromium.org
BUG=None
TEST=*Intents*


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

TBR=gbillock@chromium.org
Review URL: http://codereview.chromium.org/7717016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97966 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 01:11:41 +00:00
gbillock@chromium.org 77262bdbcd First pass on intents options UI.
Copies the cookies view handler for intents.
Add pass-throughs to grit for flag.
Optionalize intents options page JS/CSS.
Fix up data model to read title. Working test.

R=jhawkins@chromium.org
BUG=None
TEST=*Intents*


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97955 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 00:32:29 +00:00