[rAc Android] Add a sandbox wallet environment flag.

TEST=manual.
NOTRY=True

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@274956 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Enable touch text selection by default on desktop Aura

--disable-touch-editing can be used to disable touch text selection.

BUG=304872

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@274972 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Set up flags for the malware and ssl interstitial trials

BUG=331453,380238

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@274989 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix Views web-modal dialog widget creation.

r272016 regressed web-modal dialog shadow styling.
Use CreateDialogWidget for dialog creation to fix that.
Only set SHADOW_TYPE_NONE for new-style dialogs there.
(removes the double border, consolidates dialog widget init)
Take WidgetDelegate for ConstrainedWebDialogDelegateViewViews.
Mark web-modals as ui::MODAL_TYPE_CHILD and child widgets.

Remove now unused Widget::CreateWindowAsFramelessChild.
(keep a copy for the system-modal captive portal dialog)
(that dialog is very odd, system-modal and "web-modal"?)

Add [Create|Show]WebModalDialogViews helper functions.
Use these for c/b/ui/views web-modal dialog init/show.
(cannot be used by c/b/chromeos, so cleanup less there)
Cleanup includes, cached widgets, using statements, etc.

BUG=376646,378970
TEST=Views tab-modal dialogs appear as expected.
R=wittman@chromium.org,sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@274991 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Restore missing menu item on Win, fix separator

BUG=371094

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@274992 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[Safe browsing] Initialize safe browsing preference properly.

In Finch trial, we'd like to enable safe browsing for users
in the 'Enabled' group, but disalbe it for uses in controlled
group and not in trial.

BUG=379256
R=davemoore@chromium.org, mariakhomenko@chromium.org, shess@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@274993 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[Hotword] Remove unused popup code.

BUG=355027

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275002 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
drive: Replace GetResourceEntryCallback in DriveServiceInterface with FileResourceCallback

Rename DriveServiceInterface::GetResourceEntry() to GetFileResource().
Change the callback type of CopyResource(), UpdateResource() and AddNewDirectory() to FileResourceCallback.

BUG=231125
TEST=git cl try

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275006 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add Runtime Instrumentation for onButtonClicked Failures

BUG=379994

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275014 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Convert SyncAuthTest cases to FakeServer

BUG=323265

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275018 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Preference dis/allowing supervised users creation is now available as owner setting, not only as device policy.

BUG=243341
TBR=phajdan.jr@chromium.org,bartfab@chromium.org,davidroche@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275033 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add more test for chrome.filesystem Drive support.

This CL adds test cases for multiple-file selection in the open dialog and
the save dialog (onto a new or existing file.)

The test code JS code is 100% shared with tests for local files
for checking the consistency. The test setup part introduces
the stuff specific to Drive.

BUG=223464

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275034 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
- Make the V2 interstitial support non-overridable errors.
- Make the V2 interstitial the default, and the V1 non-default (Finch-controlled).

BUG=331453

for chrome/browser/browser_resources.grd:
TBR=sky@chromium.org

everything passes except the broken android gn thing:
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275035 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
drive: Remove WAPI legacy from DriveServiceInterface and DriveUploader

BUG=231125
TEST=git cl try

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275038 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
ChromeOS login webui refactoring: split user selection/gaia login screens.
Phase two : move user list processing to UserSelectionScreen

BUG=373314
R=nkostylev@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275046 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Remove inspect element when <webview> is in a packed (.crx) app.

This is done for non-mac builds for now as I'm encountering
multiple issues there.

BUG=319424

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275049 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Password bubble: Update the blacklisted-bubble text.

This patch brings the password bubble text up to date with the latest UI proposal:

Title: Passwords won't be saved
Description: You chose not to allow passwords to be saved on this site.
Buttons: Undo | Done

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275054 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move kStandardSchemeSeparator from //content to //url

This constant is used in code shared by iOS, and is general enough to be placed
in //url.

TBR=benm,yoz

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move MetricsLog into the Metrics component.

Also moves the prefs that MetricsLog uses. Leaves the unittest in //chrome for
the time being as it has //chrome dependencies that will need to be worked
through.

BUG=374208

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275057 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Eliminate GoogleURLTracker having a Profile ivar

This CL eliminates GoogleURLTracker needing to have a Profile ivar by adding
APIs to GoogleURLTrackerClient to get the PrefService and
URLRequestContextGetter to use.

This CL additionally eliminates GoogleURLTracker's dependence on //chrome-level
prefs by moving the kLastKnownGoogleURL and kLastPromptedGoogleURL prefs into
the google component.

BUG=373222,373239
TBR=thakis

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@275060 4ff67af0-8c30-449e-8e8b-ad334ec8d88c