views: Warn if AuraTestBase SetUp/TearDown not called

I think this code was mistakenly removed when AuraTestHelper was
introduced. It's trying to warn if someone doesn't call the base
class SetUp()/TearDown().

Arguably it's not needed in AuraTestHelper, but I don't think it
hurts to keep it there as well.

BUG=none
TEST=views_unittests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196903 0039d316-1c4b-4281-b951-d872f2087c98
Placeholder fix for omnibox text shifting left with instant extended.

This moves sky's incorrectly-Aura-scoped hack out of LocationBarView::Layout() and replaces it with a similar hack in the correct place, OmniboxViewViews::TextWidth().

The real fix is still to come but will be functionally identical.  Added a TODO for that.

BUG=232303
TEST=With "views omnibox" and "instant extended" both on, type something in the omnibox that generates a grey text completion, and ensure the text does not shift left.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196905 0039d316-1c4b-4281-b951-d872f2087c98
Blacklist the GeForce GT 330M, 9400, and 9400M on OSX < 10.8

BUG=233523

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196906 0039d316-1c4b-4281-b951-d872f2087c98
Add a new pair of IPC categories for messages that need handling as input events

The compositor thread input filtering mechanism adds the possibility of
handling some IPCs in the render process main thread in a different order than
they were sent from the browser process since it filters some messages from the
IO thread.  For the most part, this is OK since the exact order of different
types of messages is not important but there are some input-related messages
that do need to processed in order - for instance MouseCaptureLost
(see crbug.com/231532).

This adds a new IPC class, InputMsg, for messages that need input-like
filtering and InputHostMsg for their ACKs. All messages of this class are
routed through the compositor thread to preserve order.

BUG=233365

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196907 0039d316-1c4b-4281-b951-d872f2087c98
Reposition notifications in the center too.

BUG=233660
R=dimich@chromium.org,dharcourt@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196908 0039d316-1c4b-4281-b951-d872f2087c98
Moved default resource choice logic in ResourceProvider.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196909 0039d316-1c4b-4281-b951-d872f2087c98
Always define the `gcc_version' variable to some value.

gcc_version previously existed only under certain conditions; currently,
os_posix==1 and OS!="mac" and OS!="ios".

These same checks had to be repeated everywhere gcc_version was used, and
they often got out of sync (many places still do not check for OS!="ios",
for example).

We now always gcc_version. Its default value is 0, and it is then changed to
something meaningful under that condition mentioned above. This allows us to
remove the duplicated checks currently spread across the .gyp files in the
tree.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196910 0039d316-1c4b-4281-b951-d872f2087c98
Add debug shortcuts that toggles options to shows paint rects.
Cleanup: Separate desktop shortcuts which are useful only on linux desktop, and debug shortcuts.

BUG=227375

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

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196911 0039d316-1c4b-4281-b951-d872f2087c98
net-internals:  Use jstemplate for QUIC view.

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

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

This was causing lots of messages of the form:

[2936:2936:0425/211915:ERROR:resource_tracker.cc(45)] -21308287 is not
a PP_Resource.

BUG=235913

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196913 0039d316-1c4b-4281-b951-d872f2087c98
gpu: Cleanup 'black-screen on Huawei' work-around.

We got a response from their driver team. The surface
is only corrupted if an FBO is bound when it is first
made-current. So we can avoid re-creating the surface
and just unbind the Fbo instead.

The work-around is still needed in the context itself
for two reasons:
- Virtual context indirections
- The first make-current for new surfaces
  is not in the decoder.

BUG=235935
NOTRY=true

No try, since this doesn't run on mac, so mac_asan bot isn't relevant.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196915 0039d316-1c4b-4281-b951-d872f2087c98
Swap Autofill owners: dhollowa -> estade

BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196916 0039d316-1c4b-4281-b951-d872f2087c98
Fade in panel callout starting when panel is over callout.

BUG=230479
TEST=Attach a panel far away from the icon for that panel. The callout should
only appear after the panel has slid over the icon.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196917 0039d316-1c4b-4281-b951-d872f2087c98
Disable MediaSource on Android.

Android's media playback engine doesn't support MediaSource yet
so the runtime feature should be disabled until proper support has
been added. This change prevents the WebKitMediaSource constructors
from being visible to JavaScript. Proper support is in the works, but
the constructors being visible right now just confuses web developers.

BUG=231485

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196918 0039d316-1c4b-4281-b951-d872f2087c98
gesture nav: Encode screenshots in a worker thread.

Screenshots can be large, and png-encoding them in the UI thread is
just a very bad idea (because it can take a long time).

BUG=235739
R=piman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196919 0039d316-1c4b-4281-b951-d872f2087c98
Disabling flaky test: WebrtcBrowserTest.CanMakeEmptyCallThenAddStreamsAndRenegotiate

BUG=236102
TBR=phoglund

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196920 0039d316-1c4b-4281-b951-d872f2087c98
jingle: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST.

It's no longer providing value as the MSVC warning is disabled during compilation. Refer to bug for details.

BUG=234765

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196921 0039d316-1c4b-4281-b951-d872f2087c98
[rAc Android dialog] Don't call ViewClosed() from within Hide().

Controller doesn't survive it.

BUG=235493
NOTRY=True

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

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

* GpuVideoDecodeAccelerator clears its reference to its parent
  GpuCommandBufferStub on GpuVideoDecodeAccelerator::OnWillDestroy(),
  then only removes its IPC channel route on destruction if the stub
  reference is valid.  This means the route is never actually removed,
  and so we leak the IPC route.  Modify OnWillDestroy() to immediately
  delete the GpuVideoDecodeAccelerator object and remove the route.
* GpuCommandBufferStub owns the GpuVideoDecodeAccelerator objects it
  creates, but does not destroy them when they are destroyed through the
  AcceleratedVideoDecoderMsg_Destroy IPC.  This causes a leak of
  GpuVDA objects as long as the GpuCommandBufferStub is alive.  Allow
  the OnDestroy() callback for AcceleratedVideoDecoderMsg_Destroy to
  destroy the GpuVDA directly, and remove the explicit owned list of
  GpuVDA objects from GpuCommandBufferStub to avoid double-deletion.

BUG=234465
TEST=local build, run on CrOS snow, desktop Linux

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196923 0039d316-1c4b-4281-b951-d872f2087c98
Move chrome/common/omaha_query_params.{h,cc} into their own directory

Also add an OWNERS file, so we don't have to keep bugging sky@ or
other toplevel reviewers.

BUG=none

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

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