[telemetry] Rename multi_page_benchmark* to page_benchmark*.

BUG=168429
TEST=./run_tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184555 0039d316-1c4b-4281-b951-d872f2087c98
Ensure that flash fullscreen mode works in Chrome desktop AURA.

Currently fullscreen flash only works in Chrome ASH.

When fullscreen mode is requested by a plugin (flash) a new RenderWidgetHostViewAura
instance is created and its RenderWidgetHostViewAura::InitAsFullscreen method is invoked.

In Chrome ASH on Windows 8 and Chrome OS we find a root window with matching bounds as
those passed in and also eventually resize the aura::Window instance maintained by the
RenderWidgetHostViewAura created above after reparenting it to the RootWindow found above.

In desktop Chrome we create a top level fullscreen widget and set it as the parent of the
aura::Window instance hosted by the RenderWidgetHostViewAura class.

The code to create a temporary top level fullscreen widget is provided by a new class
DesktopNativeWidgetFullscreenHandler which is created as a singleton. This class watches the
RenderWidgetHostViewAura window and when it is destroyed destroys the top level fullscreen widget.

I also fixed the DCHECK which was occurring in the RenderWidgetHostViewAura::TransientWindowObserver
class on Windows due to setting an observer on an aura::Window instance which was already
setup in the contructor of this class. The DCHECK fires because of attempting to add the 
same observer twice.

Fixes bugs https://code.google.com/p/chromium/issues/detail?id=174753 and 
http://code.google.com/p/chromium/issues/detail?id=177478

BUG=174753,177478
TEST=Covered by existing ppapi browser test FlashFullscreen which was disabled originally
for AURA and two new tests
1. WidgetTest.DesktopAuraFullscreenChildParentDestroyed 
2. WidgetTest.DesktopAuraFullscreenChildDestroyedBeforeParentTest
Review URL: https://codereview.chromium.org/12320046

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184560 0039d316-1c4b-4281-b951-d872f2087c98
Fix prefs registration/migration for TranslatePrefs.

All preferences should be registered _before_ a PrefService is created,
so reading other prefs during registration is a no-no.

BUG=155525


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184565 0039d316-1c4b-4281-b951-d872f2087c98
Remove SyncSessionJob::DidReachServer() flag

This flag was added in r140885 to address issue 131414.  The problem was
that SyncSessionJobs that did not contact the server would succeed and
attempt to reset the backoff interval. The commits r149052 and r143088
removed the job types that do not attempt to contact the server, so we
no longer need to worry about them accidentally distrupting backoff.

BUG=175024


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184566 0039d316-1c4b-4281-b951-d872f2087c98
[net/dns] Limit maximum timeout after backoff to 5s.

Intermittent network issues could result in timeouts in excess
of 30s which puts HostResolverImpl in a virtually stalled state.

This CL caps the maximum time spent waiting on a single DNS
query to 5s, although resolving a hostname could still take long
time due to suffix search and nameserver fallback.

BUG=110197,177558

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184567 0039d316-1c4b-4281-b951-d872f2087c98
Disable test that times out: ExtensionWebRequestApiTest.WebRequestDeclarative2

TBR=mpcomplete@chromium.org
NOTRY=true
BUG=178296

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184568 0039d316-1c4b-4281-b951-d872f2087c98
Added support for passing WindowOpenDisposition into BrowserInstantController::OpenURL() from the omnibox in GWS.

BUG=159328


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184570 0039d316-1c4b-4281-b951-d872f2087c98
[Autofill] Don't override content/ interfaces in chrome/ test code.

BUG=178213


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184571 0039d316-1c4b-4281-b951-d872f2087c98
Remove close_on_deactivate=false for tray bubbles.

Actually we want to close those bubbles on deactivation (like, opening
settings page or opening the chat window for a notification). To deal
with the race condition of close-on-deactivate and button action,
a static delay is introduced.

BUG=177075, 169940
TEST=manually checked with goobuntu, see the bugs for the actual steps


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184572 0039d316-1c4b-4281-b951-d872f2087c98
Avoid TabStripModelTest.Apps unittest accessing the private members of Extension class.

BUG=none


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184573 0039d316-1c4b-4281-b951-d872f2087c98
Canary test for push messaging.

This test will run on a modified buildbot (NOT in the normal checkin flow)
which our team will monitor.  It will be used to detect checkins that pass
our unit tests, but break our scenario.

BUG=159757


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184574 0039d316-1c4b-4281-b951-d872f2087c98
Add an IPC to disable hiding the top controls.

Needed to notify the render to disable/enable this functionality if
a page is loaded with invalid HTTPS certificates.

BUG=174361


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184575 0039d316-1c4b-4281-b951-d872f2087c98
cc: Flip textures in vertex rather than fragment shader

BUG=178254


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184576 0039d316-1c4b-4281-b951-d872f2087c98
Fix net::FileStream to handle all errors correctly.

This CL adds FileStream::Context::IOResult struct that's used to pass
results of IO operations inside FileStream::Context. Following bugs are
fixes:

1. On POSIX net::FileStream::Read() and net::FileStream::Write() would
return a positive result in case of an error. This happens because
POSIX errors are positive integers and FileStream was written with
assumption that they are negative.
2. On Windows Seek() and Flush() errors were not handled correctly.
This is because CheckForIOError() was assuming that all error codes
are negative, but RecordAndMapError() was mapping positive errors.
3. On Windows results of asynchronous ReadFile() and WriteFile() were
not handled correctly - ERR_IO_PENDING would be returned even when
operation completes synchronously.
4. On Windows OVERLAPPED struct wasn't set to zeros as necessary.

Also added unittests to check that error codes are handled correctly
now.

TBR=mmenke@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184577 0039d316-1c4b-4281-b951-d872f2087c98
add OWNERS to third_party/khronos

BUG=None
TBR=darin@chromium.org,gman@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184580 0039d316-1c4b-4281-b951-d872f2087c98
Notifications refactor step 2. 

Moved notification_types.* from ui/notifications -> ui/message_center (ui/notifications is removed)

Made message_center::Notification a class rather then a struct. Its lifetime is managed by NotificationList.

Moved UnpackOptionalFields from NotificationList to Notification, it is a private member used in ctor.

Removed 2-level collections (set<list>), now all notifications are stored in a std::list (the ScopedVector didn't work since it can't be sorted)

Use stable sort() to figure out the order of notifications in popups and NotificationCenter.

Changed order of notifications in NotificationListUnittest::MarkSinglePopupAsShown - need mukai@ to verify correctness.

NotificationList::RemoveNotification is now void since its bool result was not used.

In NotificationListUnittest, instead of /gtest.gyp:gtest_main include base.gyp:run_all_unittests to initialize ICU etc.

BUG=174164

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184581 0039d316-1c4b-4281-b951-d872f2087c98
Cleanup: Add fileapi::AreSameFileSystem(url1, url2) utility function

BUG=none
TEST=FileSystemUtilTest.AreSameFileSystem

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184582 0039d316-1c4b-4281-b951-d872f2087c98
Allow frameless app windows to be resized on GTK.


BUG=169010


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184583 0039d316-1c4b-4281-b951-d872f2087c98
cc: Remove the pageScalePinchZoomEnabled flag.

This flag hides dead code, as it is always on now for all
platforms.

Notably one unit test fails when moved to the new code path,
so I've disabled the test and filed http://crbug.com/178295
regarding fixing it.

R=aelias


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184584 0039d316-1c4b-4281-b951-d872f2087c98
Fix crash on negative tab id for chrome.tabs.insertCSS.

BUG=177850

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

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