- 30 Apr, 2012 40 commits
-
-
derat@chromium.org authored
This makes Chrome listen for messages from the power manager asking it to dim or undim the screen. We'll use this on desktop devices with external displays to dim the screen just before blanking it when the user is idle. BUG=125176 TEST=added, also did manual testing with powerd changes Review URL: http://codereview.chromium.org/10263011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134638 0039d316-1c4b-4281-b951-d872f2087c98
-
sergeyu@chromium.org authored
LibjingleTransport transport instances will be sharing a single PortAllocator, so config needs to be passed to TransportFactory. BUG=103991 Review URL: https://chromiumcodereview.appspot.com/10160012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134637 0039d316-1c4b-4281-b951-d872f2087c98
-
garykac@chromium.org authored
Review URL: http://codereview.chromium.org/10266019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134636 0039d316-1c4b-4281-b951-d872f2087c98
-
jianli@chromium.org authored
In this patch, I moved more panel-specific logic out of the base classes: * Title decoration to draw the title with pango markup * SendEnterNotifyToCloseButtonIfUnderMouse I overrode UsingCustomPopupFrame in PanelBrowserWindowGtk to always return false. That way, panels are always painted with custom frame. Now no matter which theme the user picks and which state (drawing attention or not) the panel is at, we paint the frame in the same code path. I also fixed the extra line shown in title-only panel by adding IsMinimized check to BrowserWindowGtk::ShouldDrawContentDropShadow. BUG=117205 TEST=Manual test by verifying panels being painted with correct theme Review URL: https://chromiumcodereview.appspot.com/10180011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134635 0039d316-1c4b-4281-b951-d872f2087c98
-
simonmorris@chromium.org authored
The typos are caught by jscompile. Review URL: https://chromiumcodereview.appspot.com/10262013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134633 0039d316-1c4b-4281-b951-d872f2087c98
-
hshi@google.com authored
Ben recently added support in cros-disks for an optional mount label. (https://gerrit.chromium.org/gerrit/#change,21171) Make use of this option to display a user-friendly file name for the mounted archive, instead of the actual file name of the cache blob "<resource_id>.<md5>.mounted". BUG=chromium-os:28678 TEST=Tested mounting archives (both local and on gdata). Review URL: http://codereview.chromium.org/10231010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134632 0039d316-1c4b-4281-b951-d872f2087c98
-
nsylvain@chromium.org authored
Review URL: http://codereview.chromium.org/10261017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134631 0039d316-1c4b-4281-b951-d872f2087c98
-
zmo@google.com authored
Below are a few tests that are crashing (the list is not complete): compositing/plugins/composited-plugin.html compositing/plugins/1x1-composited-plugin.html compositing/plugins/small-to-large-composited-plugin.html compositing/plugins/large-to-small-composited-plugin.html This allows us to show a nicer placeholder when loading a plug-in fails then the one coming from WebKit. BUG=123580 TEST=manual Review URL: http://codereview.chromium.org/10093011 TBR=bauerb@chromium.org Review URL: https://chromiumcodereview.appspot.com/10274020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134630 0039d316-1c4b-4281-b951-d872f2087c98
-
garykac@chromium.org authored
Addresses follow-up comments from 10197005. Review URL: http://codereview.chromium.org/10221027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134629 0039d316-1c4b-4281-b951-d872f2087c98
-
nirnimesh@chromium.org authored
To be re-enabled tomorrow. R=dennisjeffrey@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10265019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134628 0039d316-1c4b-4281-b951-d872f2087c98
-
benwells@chromium.org authored
This broke as a result of r134028, where we iterate all RVHs associated with an extension instead of just ExtensionHosts. BUG=125306 TEST=Test hosted app menus, extension popup menus and platform app popups work correctly. Review URL: http://codereview.chromium.org/10253021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134627 0039d316-1c4b-4281-b951-d872f2087c98
-
cevans@chromium.org authored
BUG=125635 Review URL: https://chromiumcodereview.appspot.com/10260024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134626 0039d316-1c4b-4281-b951-d872f2087c98
-
stevet@chromium.org authored
This requires a change to the ChromeNetworkDelegate where we feed the incognito state (a bool) into the object at creation time, so we can check that field when doing our header setting. BUG=123609 TEST=With UMA enabled (not Chromium), visit www.google.com and ensure that the request header includes X-Chrome-UMA-Enabled with value "1". Ensure that disabling UMA also disables the transmission of this header entirely. Also, ensure that unit_tests GoogleUtilTests all pass. TBR=ivankr@chromium.org Review URL: http://codereview.chromium.org/10108026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134625 0039d316-1c4b-4281-b951-d872f2087c98
-
sullivan@chromium.org authored
This copy was fetched from: hg.mozilla.org/projects/kraken/ Modifications made: The python script make-hosted.py was run to update the hosted/ directory, and the unused tests, sunspider, and sunspider-compare-results files were deleted. BUG= TEST= Review URL: http://codereview.chromium.org/10070009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134624 0039d316-1c4b-4281-b951-d872f2087c98
-
satorux@chromium.org authored
Instead use GetFileInfoByPathAsync(). This is in preparation for making FindEntryByPathAsync() private. Along the way, get back |file_name| field in GDataFileProto, which was once removed in crrev.com/134405, as this info was needed. BUG=chromium-os:30251 TEST=can open both regular files hosted documents on gdata as before Review URL: https://chromiumcodereview.appspot.com/10270025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134623 0039d316-1c4b-4281-b951-d872f2087c98
-
dennisjeffrey@chromium.org authored
Also changed the name of the function from _GetMemoryStats to GetCrosMemoryStats. This change allows autotests (that import pyauto) to invoke the memory collection function using something like this: mem_info_dict = self.pyauto.GetCrosMemoryStats(20) (except replace '20' with a suitable duration for the given test). BUG=None TEST=Verified that autotest graphics_WebGLPerformance can successfully invoke GetCrosMemoryStats(), given the change to pyauto.py in this CL. Review URL: https://chromiumcodereview.appspot.com/10271023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134622 0039d316-1c4b-4281-b951-d872f2087c98
-
simonjam@chromium.org authored
BUG=119287 TEST=Follow steps in bug Review URL: http://codereview.chromium.org/10095024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134621 0039d316-1c4b-4281-b951-d872f2087c98
-
bauerb@chromium.org authored
This allows us to show a nicer placeholder when loading a plug-in fails then the one coming from WebKit. BUG=123580 TEST=manual Review URL: http://codereview.chromium.org/10093011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134620 0039d316-1c4b-4281-b951-d872f2087c98
-
mseaborn@chromium.org authored
I moved sel_ldr_launcher_chrome.cc into the Chromium repo in r134552 but I forgot to update build.scons. This update is necessary for removing sel_ldr_launcher_chrome.cc from the NaCl repo because it ensures that the 'launch_nacl_process' variable (which module_ppapi.cc assigns to) will be defined. (The alternative would be to conditionalise the assignment of 'launch_nacl_process' in module_ppapi.cc.) BUG=http://code.google.com/p/nativeclient/issues/detail?id=2750 TEST=NaCl's Scons build Review URL: http://codereview.chromium.org/10261016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134619 0039d316-1c4b-4281-b951-d872f2087c98
-
stevenjb@google.com authored
Win fix for CL: http://codereview.chromium.org/10235010/ TBR=sadrul BUG=124269 TEST=win aura compiles Review URL: https://chromiumcodereview.appspot.com/10269015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134616 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134615 0039d316-1c4b-4281-b951-d872f2087c98
-
zmo@google.com authored
BUG= TEST=tree Review URL: https://chromiumcodereview.appspot.com/10261018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134614 0039d316-1c4b-4281-b951-d872f2087c98
-
stevenjb@google.com authored
The following cleanup was done in preparation for notifications which may require multiple SystemTrayBubble instances: * Separate out SystemTrayBubbleView from SystemTrayBubble * Move SystemTray.popup_ -> SystemTrayBubble.bubble_widget_ * Remove scoped_ptr for views (views are owned by the view hierarchy) * Changed behavior to not close when focus is lost so that the default view can be reused. BUG=124269 TEST=All tests should pass; system tray behavior should be unchanged. Review URL: https://chromiumcodereview.appspot.com/10235010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134612 0039d316-1c4b-4281-b951-d872f2087c98
-
kevers@chromium.org authored
BUG=102482 TEST= Review URL: http://codereview.chromium.org/10260016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134611 0039d316-1c4b-4281-b951-d872f2087c98
-
avi@chromium.org authored
BUG=124843 TEST=as in bug Review URL: http://codereview.chromium.org/10269003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134610 0039d316-1c4b-4281-b951-d872f2087c98
-
satorux@chromium.org authored
The function is no longer used. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/10263012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134609 0039d316-1c4b-4281-b951-d872f2087c98
-
sergeyu@chromium.org authored
Host will have host-specific port allocator, so PortAllocator creation has to be moved out of protocol code. Since PortAllocator needs to be configured with network settings (nat traversal and port range), I refactored how these settings are passed between layers. BUG=103991 Review URL: https://chromiumcodereview.appspot.com/10233021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134608 0039d316-1c4b-4281-b951-d872f2087c98
-
kkania@chromium.org authored
Revert 134604 - Add unit_tests_run that (mostly) works for all of linux, OSX and Windows. Reverted because of build failures. E.g.: make: *** No rule to make target `chrome/test/data/osdd/bogus.xml', needed by `out/Release/unit_tests.results' Revert r134508 "Revert 134507, broke the main builders:" This reapplies r134507. The dependencies were retrieved with trace_inputs.py and merged with merge_isolate.py. Manual edits: - Added <(EXECUTABLE_SUFFIX) to two executables: unit_tests and xdisplaycheck. - Removed testserver.log and unit_tests.log. - Added copyright. - Removed *.db-journal files. R=rogerta@chromium.org BUG=98636 TEST= Review URL: http://codereview.chromium.org/10271012 TBR=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/10274016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134607 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Revert r134508 "Revert 134507, broke the main builders:" This reapplies r134507. The dependencies were retrieved with trace_inputs.py and merged with merge_isolate.py. Manual edits: - Added <(EXECUTABLE_SUFFIX) to two executables: unit_tests and xdisplaycheck. - Removed testserver.log and unit_tests.log. - Added copyright. - Removed *.db-journal files. R=rogerta@chromium.org BUG=98636 TEST= Review URL: http://codereview.chromium.org/10271012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134604 0039d316-1c4b-4281-b951-d872f2087c98
-
vclarke@chromium.org authored
BUG=125480 TEST=none NOTRY=true Review URL: http://codereview.chromium.org/10269011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134603 0039d316-1c4b-4281-b951-d872f2087c98
-
ananta@chromium.org authored
window message. This is done by overriding the WindowImpl::OnWndProc virtual function in the BrowserFrameWin class which subclasses the NativeWidgetWin instance for the browser frame. BUG=118641 R=sky,cpu Review URL: https://chromiumcodereview.appspot.com/10275002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134602 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome://tcmallocnirnimesh@chromium.org authored
Also, restart the browser so that each URL gets a fresh instance in the test. BUG=88574 TEST= Review URL: https://chromiumcodereview.appspot.com/10178028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134601 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
On Windows XP, the new font must be picked such that the font height, not the font size, is the same as the previous font. Add a PlatformFontWin::DeriveFontWithHeight() function that provided the functionality needed for the above and modifies PlatformFontWin to support the above by not assuming LOGFONT.lfHeight is always negative. Instead, it now gets the font size from TEXTMETRIC. One side effect of this change is that the GetFontSize() will now return the actual font size that will be used, rather than the input parameter when creating the font. A test in label_unittest.cc depended on this and is updated as part of this CL. BUG=122143, 105550 TEST=Run Chrome on English Windows XP with CJK languages installed. Go to a website with a Chinese title. The size of the Chinese text in the tab title should be the same as in Chrome 19 (which has use_canvas_skia=0 setting). Also, existing unit tests and newly-added platform_font_win_unittest.cc. Review URL: http://codereview.chromium.org/10228009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134600 0039d316-1c4b-4281-b951-d872f2087c98
-
scottmg@chromium.org authored
Avoids spurious rebuilds when building with ninja on Windows, as it's expecting "yasm" to exist, rather than "yasm.exe". In VS, the dependency check happens to work because there's a directory named "yasm" parallel to yasm.exe which it seems to accept. Also fix minor typo in compile message. Review URL: http://codereview.chromium.org/10206010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134599 0039d316-1c4b-4281-b951-d872f2087c98
-
dennisjeffrey@chromium.org authored
When perf.MemoryTest used to log out/in (for a fresh ChromeOS login), this caused a problem running the test via autotest because the log out cannot be done as user chronos. However, in discussions with nirnimesh@ and sonnyrao@, the agreement is that there's no strong need for a fresh login anyway in this test. This has now been removed from the test. BUG=chromium-os:29815 TEST=None Review URL: https://chromiumcodereview.appspot.com/10273015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134598 0039d316-1c4b-4281-b951-d872f2087c98
-
mihaip@chromium.org authored
R=nirnimesh@chromium.org Review URL: https://chromiumcodereview.appspot.com/10272016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134597 0039d316-1c4b-4281-b951-d872f2087c98
-
mpcomplete@chromium.org authored
Manifest restriction violations are now warnings instead of fatal errors. Add background.persistent subkey and restrict it to dev mode. BUG=122459 TEST=no Review URL: https://chromiumcodereview.appspot.com/10217017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134596 0039d316-1c4b-4281-b951-d872f2087c98
-
binji@chromium.org authored
BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10271013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134595 0039d316-1c4b-4281-b951-d872f2087c98
-
wez@chromium.org authored
* MouseInputFilter is moved from remoting/client/ to remoting/protocol/. * ClientSession now implements clamping using MouseInputFilter. * EventExecutors no longer drop out-of-bounds events. BUG=118511 Review URL: http://codereview.chromium.org/10255007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134594 0039d316-1c4b-4281-b951-d872f2087c98
-
zelidrag@chromium.org authored
BUG=chromium-os:30248 TEST=make sure that canceling downloads does not cause stack overflow (crash) Review URL: https://chromiumcodereview.appspot.com/10262015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134593 0039d316-1c4b-4281-b951-d872f2087c98
-