Fix IWYU violation in password_store_consumer.h

std::vector was used without \#include <vector>. This broke libc++ builds.

TBR=isherman@chromium.org
BUG=318770

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249748 0039d316-1c4b-4281-b951-d872f2087c98
Always copy touch event's LatencyInfo into gesture event's LatencyInfo

Previously we only copy touch event's LatencyInfo into gesture event's
LatencyInfo when the touch event does not cause any rendering. This is
based on the assumption that if the touch event causes any rendering,
it should be consumed so no gesture event is actually generated.
This could be wrong that touch event is not prevented default, but it
still causes rendering and turns into gesture event.

So the simple solution is we always copy some of the touch event's
LatencyInfo that we are interested in into gesture event's LatencyInfo,
regardless of whether the touch event causes rendering or not.

BUG=338819
TEST=Follow the test in the bug and make sure the first GestureScrollUpdate
     contains the some key latency components from the TouchMove's LatencyInfo.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249749 0039d316-1c4b-4281-b951-d872f2087c98
Use validating form of IPC enum macros for frame messages.

This is part of a long-running background task to remove the remaining
uses of the unchecked IPC_ENUM_TRAITS() macro.

BUG=246708

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249750 0039d316-1c4b-4281-b951-d872f2087c98
Use validating form of IPC enum macros for audio messages.

This is part of a long-running background task to remove the remaining
uses of the unchecked IPC_ENUM_TRAITS() macro.

BUG=246708

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249751 0039d316-1c4b-4281-b951-d872f2087c98
Use validating form of IPC enum macros for video capture messages.

This is part of a long-running background task to remove the remaining
uses of the unchecked IPC_ENUM_TRAITS() macro.

BUG=246708

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249752 0039d316-1c4b-4281-b951-d872f2087c98
Widen ChromeBlacklistTrialTest.* exclusion to all sub-tests for Dr. Memory.

BUG=340837
TBR=zhaoqin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249753 0039d316-1c4b-4281-b951-d872f2087c98
Use validating IPC enum macros in drag_traits.h

This is part of a long-running background task to remove the remaining
uses of the unchecked IPC_ENUM_TRAITS() macro.

BUG=246708

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249754 0039d316-1c4b-4281-b951-d872f2087c98
Add 64-bit support to browser blacklisting

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249755 0039d316-1c4b-4281-b951-d872f2087c98
Attempt to fix crash in base::android::MethodID::Get()

BUG=336600

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249756 0039d316-1c4b-4281-b951-d872f2087c98
Enhanced support for strings in the Windows installer.

create_string_rc.py now takes the .grd files it parses on the command
line. Additionally, strings with single replacements are now
supported. This change also moves from using a DOM parser to a Sax
parser for the .grd and .xtb files. As a consequence, the script can now
parse generated_resources.grd and its .xtb files in a reasonable time.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249757 0039d316-1c4b-4281-b951-d872f2087c98
Add d8 to the chromium_builder_asan target.

BUG=
R=inferno@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249758 0039d316-1c4b-4281-b951-d872f2087c98
Let chrome_prefs handle Preferences initialization from master_preferences.

chrome_pref_service_factory owns implementation details of how prefs+metadata should be stored, let it handle initialization of its prefs.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249759 0039d316-1c4b-4281-b951-d872f2087c98
Remove unnecessary cc::FakeWebGraphicsContext3D interface

TestGLES2Interface forwards to TestWebGraphicsContext3D, so this base class
is never actually used in tests. This copies the stubs we use to TWGC3D and
deletes the rest of the class.  The next step is to start folding TWGC3D in
to TestGLES2Interface.

5 files changed, 280 insertions(+), 972 deletions(-)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249760 0039d316-1c4b-4281-b951-d872f2087c98
Remove favicon-handling logic from prerender.

The normal FaviconTabHelper logic kicks in fine on WebContentses not attached
to a Browser yet. Prerender's custom logic duplicates the image candidate logic
and, e.g., loses touch icons.

To preserve the Android behavior where favicon fetches are delayed until swap,
use the PrerenderResourceThrottle. Favicons on Android also seem to have been
broken by the original version of that change.  This fixes them.

Fix PrerenderBrowserTest.PrerenderFavicon to account for the race where the
favicon is ready before we start listening for the update.

BUG=341180,249179,171073
TEST=PrerenderBrowserTest.PrerenderFavicon

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249761 0039d316-1c4b-4281-b951-d872f2087c98
Ensure that the dummy Chrome_RenderWidgetHostHWND HWND does not grab activation when we click on it if the parent specifies
WS_EX_NOACTIVATE in its styles.

This style is passed in by some top level widgets like select boxes, to ensure that they don't grab activation away from the parent
when they are clicked on.

BUG=341799
R=sky@chromium.org
TBR=cpu, sky

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249762 0039d316-1c4b-4281-b951-d872f2087c98
Fix the painting issue observed with windowed NPAPI Flash plugins when we switch away from a tab which has an instance of
the plugin and switch back to it.

When we switch back to the tab with the plugin, the flash RVHWA window becomes visible. The code which runs in the visible notification
handler runs through the plugin cutout rects calculation, which basically tries to remove areas where the plugin should not paint from its
clip region. In this case the cutout rects comes out as empty and the clip region in the plugin window moves structure is NULL. We end up
setting the window region to NULL which basically causes the plugin window to become useless.

Fix is to not mess with the window region of the plugin if the cutout rects are empty.

BUG=341564
R=cpu@chromium.org, cpu
TBR=jam

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249763 0039d316-1c4b-4281-b951-d872f2087c98
Open links in correct profile if we are the system default browser.

When a link is clicked in a packaged app it will be launched into the
system default browser. This change adds detection logic to see if
we are the default browser, and if so, open the URL directly without
going through the system handler to launch externally.

BUG=337022
TEST=Manual testing needed for all platforms:
- Find helper app http://crbug.com/337022#c9
- Test with both Chrome as default and non default browser
1. Open multiple profile windows
2. Load and Launch app from one profile (chrome://extensions, developer mode)
3. Activate another profile's window
4. Click on link in app, verify that link is opened in correct profile
   (old behavior would open link in last active browser window, wrong profile)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249764 0039d316-1c4b-4281-b951-d872f2087c98
Do not show 'Minimize' item if the window cann't be maximized.

This is because WidgetDelegate does not have a CanMinimize() method and
some code depends on this to make sure that the minimize item isn't
shown when it should not. The right fix would be to introduce a
CanMinimize() method in WidgetDelegate but we need to fix the regression
first.

BUG=341010

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249765 0039d316-1c4b-4281-b951-d872f2087c98
Fix SyncedNotification tags in Python test server

This CL removes the incorrect setting of server_defined_unique_tag
for SyncedNotification entries in the Sync Python test server. Only one
of the client/server tags should be set.

Two other no-op changes were also made in the server (fix documentation
and indentation).

BUG=248332

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249766 0039d316-1c4b-4281-b951-d872f2087c98
Revert 249756 "Attempt to fix crash in base::android::MethodID::..."
Reason: bug pointed out in codereview after CQ box was checked failed to stop the CQ from landing the patch.

> Attempt to fix crash in base::android::MethodID::Get()
> 
> BUG=336600
> 
> Review URL: https://codereview.chromium.org/156353003

TBR=henrika@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249767 0039d316-1c4b-4281-b951-d872f2087c98