summaryrefslogtreecommitdiffstats
path: root/chrome/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge 45406 - Don't select all when autofocusing the location bar on New Tab ↵pkasting@chromium.org2010-04-232-2/+2
| | | | | | | | | | | | | creation. Users could already be typing in the omnibox before the load commits (e.g. due to a slow renderer process startup) and this typing would then be selected and overwritten. BUG=41466 TEST=On a very slow machine, typing before a new tab finishes loading should not be selected or cleared once the tab finishes loading. Review URL: http://codereview.chromium.org/1738004 TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/1741005 git-svn-id: svn://svn.chromium.org/chrome/branches/375/src@45410 0039d316-1c4b-4281-b951-d872f2087c98
* Revert Omnibox, toolbar, tab animations, and other UI changes for mstone-5.shess@chromium.org2010-04-224-19/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also ++kThemePackVersion and regenerate the cached theme pak. That subset of r45267 which applies to the branch. Reverted changes: r44775: [Mac] Centralize hack to make tests work with AutocompleteClas... r44555: GTK: Use correct button mask on reload button. r44545: [Mac] Omnibox text drag drag URL when select-all. r44519: GTK: make the primary selection include the url's scheme when ... r44492: [Mac] Fix search icon in keyword search to be right-side-up. r44415: GTK: Update top padding on icons in the autocomplete popup. r44401: GTK: Tint omnibox icons in GTK mode differently. r44380: GTK: Move reload in gtk mode and fix omnibox popup location. r44282: Fixes crash in autocomplete when typing some URLs. The problem r44269: Fix build break due to bad merge resolve r44268: Shift omnibox dropdown in and up on Windows, and square off th... r44178: GTK: fix TTS padding. r44177: Round the top left and right edges of the toolbar. r44171: Images only checkin for try server goodness. r44163: GTK: fix padding of autocomplete popup. r44152: [Mac] PDF icons for omnibox. r44145: GTK: Theme the icons in the location bar and use GTK colors fo... r44140: Strips http from the omnibox r44131: Fixes bugs in new tab strip animations where they weren't doin... r44116: Change the default theme colors. r44117: Add newline to EOF to fix CrOS builder. r44115: Make the bottom edges of the opaque frame rounded. r44091: [Mac] No star icon or page actions in omnibox on popups. r44087: Don't allow drag or click on location icon when editing in omn... r44021: [GTK] Add TTS lens graphic to linux TTS box. r44008: [Mac] Tweak location icon spacing in omnibox. r43977: GTK: don't show the star or page actions in ShouldOnlyShowLoca... r43972: Make the firstrun bubble point at a better spot now that the l... r43971: [Mac] Location icon in omnibox as drag source. r43970: Make the star and page action icons not appear on popup windows. r43954: Fixes bug in TabStrip where dragging tab out then back in rapidly r43864: Tweaks to BoundsAnimator/SlideAnimation and TabStrip: r43787: Allow location icon to be dragged & dropped. This also fixes ... r43759: Changes end cap of tab-to-search images. r43740: Change bookmark bar toggle to ctrl-shift-b. r43723: Show Page Info dialog on mouse up, not mouse down. r43680: Fix Mac build, part 2. r43677: Fix Mac build failure. r43676: Replace omnibox icons with new set that are all the same size ... r43596: Fix browser test TestStarButtonAccObj. r43593: Disables TestStarButtonAccObj. r43582: Changes tab strip to use BoundsAnimator for tab strip animatio... r43563: GTK: don't show reload button for popup/app windows. r43562: Star/reload shuffle, Windows version. r43540: [Mac] Magnifying glass in keyword-search bubble. r43482: Adds images needed for new tab animation. I'm separating this ... r43422: Add reload mask resource. r43392: GTK: make the location icon a drag source. r43376: [Mac] Move star button into page-actions area of omnibox. r43357: [Mac] Line up omnibox popup under field. r43290: gtk: fix display of icons in omnibox popup r43269: GTK: fix reload button. r43249: [Mac] Rearrange SSL status icon/label in omnibox. r43248: BrowserThemePack: Adds persistant ids for the reload endcaps. r43241: GTK: more location bar updates. r43191: Fix memory leak in BrowserThemePack. r43154: GTK: set the new star button's ID r43151: Fix bad conflict resolution for r43146. r43146: GTK: toolbar reload/star shuffle. r43025: Show the location bar icon (almost) all the time, and have its... r43023: Add new images for new reload button. No code change. r42782: Remove this icon, now that it's no longer used (due to my secu... r42502: Omnibox M5 work, part 1: Security changes r42245: Check in new icons for omnibox security changes alone, so that... BUG=none TEST=waterfall r45267 R=pkasting@chromium.org,beng@chromium.org git-svn-id: svn://svn.chromium.org/chrome/branches/375/src@45275 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 44951 - Context menu operations like Cut/Copy/Paste etc would not work ↵ananta@chromium.org2010-04-193-4/+11
| | | | | | | | | | | | | | | | | | | | | | in pages rendered by ChromeFrame. The context menu is displayed by the ChromeFrame plugin which grabs focus to ensure that the menu has focus, and then restores focus back once we select an item. The latter step sends over a notification to Chrome via an automation message which then informs the view. This resets the webview item selection which results in this bug. Fix is to send over an additional flag to Chrome in the SetInitialFocus which indicates whether we need to inform the view about the focus change or not. Fixes bug http://code.google.com/p/chromium/issues/detail?id=41523 Bug=41523 Review URL: http://codereview.chromium.org/1574033 TBR=ananta@chromium.org Review URL: http://codereview.chromium.org/1530047 git-svn-id: svn://svn.chromium.org/chrome/branches/375/src@44952 0039d316-1c4b-4281-b951-d872f2087c98
* Update NaCl revision - required to make NaCl tests work with 64-bit Linuxmsneck@google.com2010-04-192-178/+13
| | | | | | | | | | | Chrome. This is exactly the same change as Greg's http://codereview.chromium.org/1520040/show. BUG=http://code.google.com/p/nativeclient/issues/detail?id=442 TEST=nacl_ui_tests all pass Review URL: http://codereview.chromium.org/1645014 git-svn-id: svn://svn.chromium.org/chrome/branches/375/src@44949 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 44416 - Add new search engine dialog for first run process.mirandac@chromium.org2010-04-141-1/+2
| | | | | | | | | | | | BUG= 37564 TEST= start Chrome with firstrun enabled you should see a new search engine selection dialog. Review URL: http://codereview.chromium.org/1586005 TBR=mirandac@chromium.org git-svn-id: svn://svn.chromium.org/chrome/branches/375/src@44538 0039d316-1c4b-4281-b951-d872f2087c98
* Allow extensions to access chrome://favicon/.arv@chromium.org2010-04-102-0/+34
| | | | | | | | | | | | | | | An extension needs to add chrome://favicon/ to its permission to able to load favicon images. WebKit changes: https://bugs.webkit.org/show_bug.cgi?id=37228 BUG=37802 TEST=browser_tests.exe --gtest_filter=ExtensionApiTest.* Review URL: http://codereview.chromium.org/1610011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44167 0039d316-1c4b-4281-b951-d872f2087c98
* Auto restart when update available while running in the background on windows.atwilson@chromium.org2010-04-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Landing on behalf of dbelenko@google.com. This is a new version of the older patch. Main changes include: 1. Rebased to a never Git revision to make things easier to land. 2. Chrome will now preserve the command line switches except for those that are blacklisted. 3. Fixed a race condition that would cause the browser to think it didn't exit cleanly after it's been restarted. 4. Fixed minor nits and omissions (indentation, etc). This patch adds a timer which fires every 6 hours and checks whether the browser is in the "persistent" (background) mode, and whether there's an update pending restart. If both conditions are true, the browser is restarted with blacklisted command line keys and all loose values stripped. In order to restart the browser in the background mode, the --long-lived-extensions key is also added to the command line. This change is Windows-only, and it won't become fully functional until Drew (atwilson) checks in his work that enables Chrome to go into background. Additionally, this addresses an issue where a restarted browser might load its profile data before the previous browser process exited - we now load the profile data *after* trying to contact the other browser. This exposed a race condition in SessionRestoreUITest.RestoreAfterClosingTabbedBrowserWithAppAndLaunching, so we disabled that test and logged http://crbug.com/40946. BUG=40975,40946 Review URL: http://codereview.chromium.org/1618012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44121 0039d316-1c4b-4281-b951-d872f2087c98
* Adds an updated safety check for DOM UI renderers. creis@chromium.org2010-04-091-3/+0
| | | | | | | | | | | | | We should not be passing web URLs to DOM UI renderers. This CL adds a check to ensure that we only navigate to DOM-UI-permitted URLs in such renderers. BUG=40575, 40893 TEST=none Review URL: http://codereview.chromium.org/1631009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44112 0039d316-1c4b-4281-b951-d872f2087c98
* Do not prepopulate the findbar with incognito search terms.rohitrao@chromium.org2010-04-091-0/+9
| | | | | | | | BUG=32021 TEST=On win/linux, open an incognito window and search for some term. Then open a new normal tab and press Ctrl-F. Findbar should not be prepopoulated with your incognito search term. Review URL: http://codereview.chromium.org/1561018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44104 0039d316-1c4b-4281-b951-d872f2087c98
* Don't allow drag or click on location icon when editing in omnibox.shess@chromium.org2010-04-091-0/+3
| | | | | | | | | | | | | | | After editing the omnibox, clicking the location icon would provide the page info for the page being shown, though the rest of the omnibox might be inconsistent with that page. Exposes the logic used by AutocompleteEditView::GetIcon() to determine when there's a real URL for page-info (or drag). BUG=none TEST=Navigate to a page. Click location icon to see page info. Edit the omnibox, click should not show page info. Review URL: http://codereview.chromium.org/1594012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44087 0039d316-1c4b-4281-b951-d872f2087c98
* Expand a suppression to catch another variant.eroman@chromium.org2010-04-091-1/+1
| | | | | | | | | BUG=40893 TBR=creis Review URL: http://codereview.chromium.org/1520029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44061 0039d316-1c4b-4281-b951-d872f2087c98
* Add suppression for a CHECK failure happening on chrome-bot, from r43692.eroman@chromium.org2010-04-091-1/+4
| | | | | | | | BUG=40893,40575 TBR=creis git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44058 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 44049 - Enable blank document checks in dom checker.dhollowa@chromium.org2010-04-091-2/+2
| | | | | | | | | | | | | Broke dom_checker_tests on Chromium Linux and Chromium Linux x64. BUG=9394 Test=DomCheckerTest Review URL: http://codereview.chromium.org/1609015 TBR=inferno@chromium.org Review URL: http://codereview.chromium.org/1627013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44053 0039d316-1c4b-4281-b951-d872f2087c98
* Enable blank document checks in dom checker.inferno@chromium.org2010-04-091-2/+2
| | | | | | | | BUG=9394 Test=DomCheckerTest Review URL: http://codereview.chromium.org/1609015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44049 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 43989 - This is a new version of the older patch. Main changes include:atwilson@chromium.org2010-04-091-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. Rebased to a never Git revision to make things easier to land. 2. Chrome will now preserve the command line switches except for those that are blacklisted. 3. Fixed a race condition that would cause the browser to think it didn't exit cleanly after it's been restarted. 4. Fixed minor nits and omissions (indentation, etc). This patch adds a timer which fires every 6 hours and checks whether the browser is in the "persistent" (background) mode, and whether there's an update pending restart. If both conditions are true, the browser is restarted with blacklisted command line keys and all loose values stripped. In order to restart the browser in the background mode, the longlivedextensions key is also added to the command line. This change is Windowsonly, and it won't become fully functional until Drew (atwilson) checks in his work that enables Chrome to go into background. Review URL: http://codereview.chromium.org/1617001 TBR=atwilson@chromium.org Review URL: http://codereview.chromium.org/1517027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44041 0039d316-1c4b-4281-b951-d872f2087c98
* Make NaCl tests not flaky on Windows, add npapi_hw testgregoryd@google.com2010-04-082-26/+29
| | | | | | | BUG=28176,40669 Review URL: http://codereview.chromium.org/1613003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44018 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 44004 - Changes browser_tests to not run a nested message loop.sky@chromium.org2010-04-082-73/+14
| | | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1513014 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/1558033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44012 0039d316-1c4b-4281-b951-d872f2087c98
* Changes browser_tests to not run a nested message loop.sky@chromium.org2010-04-082-14/+73
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1513014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44004 0039d316-1c4b-4281-b951-d872f2087c98
* Move GetExtension() from ExtensionFunctionDispatcher to ExtensionFunction.rafaelw@chromium.org2010-04-086-0/+57
| | | | | | | | | | | | | EFD's can expire during the processing of AsyncExtensionFunctions, so this change enables them to retain access to their extension to complete their work. This fixes a bug in executeScript where when a file source was used, but the call was made from a popup which which had closed, by the time the file source was loaded, the EFD had been destroyed. Go boom. BUG=32431 TEST=All tests should pass Review URL: http://codereview.chromium.org/1549026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43999 0039d316-1c4b-4281-b951-d872f2087c98
* This is a new version of the older patch. Main changes include:atwilson@chromium.org2010-04-081-0/+5
| | | | | | | | | | | | | | | | | | | | | | | 1. Rebased to a never Git revision to make things easier to land. 2. Chrome will now preserve the command line switches except for those that are blacklisted. 3. Fixed a race condition that would cause the browser to think it didn't exit cleanly after it's been restarted. 4. Fixed minor nits and omissions (indentation, etc). This patch adds a timer which fires every 6 hours and checks whether the browser is in the "persistent" (background) mode, and whether there's an update pending restart. If both conditions are true, the browser is restarted with blacklisted command line keys and all loose values stripped. In order to restart the browser in the background mode, the --long-lived-extensions key is also added to the command line. This change is Windows-only, and it won't become fully functional until Drew (atwilson) checks in his work that enables Chrome to go into background. Review URL: http://codereview.chromium.org/1617001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43989 0039d316-1c4b-4281-b951-d872f2087c98
* Removing left over data from the old translate implementation.jcivelli@google.com2010-04-082-2860/+0
| | | | | | | | | | BUG=None TEST=None TBR=kuan Review URL: http://codereview.chromium.org/1594018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43956 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 43950 - Revert 43931 [GTTF] Clean up browser tests:viettrungluu@chromium.org2010-04-082-85/+71
| | | | | | | | | | | | | | | | | | | | | | | | [original revert broke compile; will disable tests in another CL instead] use more ui_test_utils functions to simplify the code expose more consistent and powerful utilities in ui_test_utils minor style improvements move some tests from DISABLED to FLAKY so we don't lose coverage remove redundant timeouts check more return values TEST=browser_tests BUG=none Review URL: http://codereview.chromium.org/1571002 TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/1520026 TBR=viettrungluu@chromium.org, phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/1518020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43951 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 43931 - [GTTF] Clean up browser tests:viettrungluu@chromium.org2010-04-082-71/+85
| | | | | | | | | | | | | | | | | | | use more ui_test_utils functions to simplify the code expose more consistent and powerful utilities in ui_test_utils minor style improvements move some tests from DISABLED to FLAKY so we don't lose coverage remove redundant timeouts check more return values TEST=browser_tests BUG=none Review URL: http://codereview.chromium.org/1571002 TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/1520026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43950 0039d316-1c4b-4281-b951-d872f2087c98
* Move ProcessEntry and IoCounters inside namespace base.maruel@chromium.org2010-04-083-12/+10
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/1599007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43949 0039d316-1c4b-4281-b951-d872f2087c98
* HostResolver now adds AI_CANONNAME to the hint flags if a requester needs ↵cbentzel@chromium.org2010-04-081-1/+3
| | | | | | | | | | | | | | | | the information. Requests which want the canonical name should be treated differently from requests that do not for the same host in both the HostCache as well as in the HostResolver when combining multiple outstanding requests into a job. The motivation for this is that Kerberos SPN's for a web server are typically generated using the canonical name of the server rather than a DNS alias (both Firefox and IE have this behavior). (note: I had to revert http://codereview.chromium.org/1566012/show because net_unittests were crashing/hanging on the main buildbot, even though they weren't on the trybots. Trying to figure out why). BUG=29862 TEST=net_unittests Review URL: http://codereview.chromium.org/1593015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43947 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Tests cleanup:phajdan.jr@chromium.org2010-04-0810-93/+68
| | | | | | | | | | | | | | - use timeouts correctly - use more automation methods to make test code more clear - use more reliable ways of waiting - remove unnecessary automation calls TEST=none BUG=none Review URL: http://codereview.chromium.org/1553016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43932 0039d316-1c4b-4281-b951-d872f2087c98
* [GTTF] Clean up browser tests:phajdan.jr@chromium.org2010-04-082-85/+71
| | | | | | | | | | | | | | | | - use more ui_test_utils functions to simplify the code - expose more consistent and powerful utilities in ui_test_utils - minor style improvements - move some tests from DISABLED to FLAKY so we don't lose coverage - remove redundant timeouts - check more return values TEST=browser_tests BUG=none Review URL: http://codereview.chromium.org/1571002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43931 0039d316-1c4b-4281-b951-d872f2087c98
* Add a callstack to the known_crashes list.ace@chromium.org2010-04-071-0/+4
| | | | | | | | Bug=40736 Review URL: http://codereview.chromium.org/1517023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43896 0039d316-1c4b-4281-b951-d872f2087c98
* Only disable ShutdownTest.TwentyTabsSessionEnding in Debug mode. It runs ↵thestig@chromium.org2010-04-071-1/+1
| | | | | | | | | | just fine on Windows in Release mode. BUG=40671 TEST=Enable one more test on perf bots; perf bots remain green. Review URL: http://codereview.chromium.org/1634001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43877 0039d316-1c4b-4281-b951-d872f2087c98
* Use chrome::kAboutCrashURL in a few most places.thestig@chromium.org2010-04-071-3/+3
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1612008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43871 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable ShutdownTest.TwentyTabsSessionEnding on Windows.viettrungluu@chromium.org2010-04-071-1/+7
| | | | | | | | | | | | It's making Windows Perf startup_tests red. BUG=40671 TEST=greener bot TBR=thestig@chromium.org Review URL: http://codereview.chromium.org/1599022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43852 0039d316-1c4b-4281-b951-d872f2087c98
* Remove FLAKY_ from KeyboardAccessTests now that they work on both Vista and XP.dmazzoni@chromium.org2010-04-071-2/+2
| | | | | | | | | | TBR=maruel TEST=Test has been always passing on interactive build slave for several days. BUG=http://crbug.com/39320, http://crbug.com/39213 Review URL: http://codereview.chromium.org/1542014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43841 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 43826 - HostResolver now adds AI_CANONNAME to the hint flags if a ↵cbentzel@chromium.org2010-04-071-3/+1
| | | | | | | | | | | | | | | | | | requester needs the information. Requests which want the canonical name should be treated differently from requests that do not for the same host in both the HostCache as well as in the HostResolver when combining multiple outstanding requests into a job. The motivation for this is that Kerberos SPN's for a web server are typically generated using the canonical name of the server rather than a DNS alias (both Firefox and IE have this behavior). BUG=29862 TEST=net_unittests Review URL: http://codereview.chromium.org/1566012 TBR=cbentzel@chromium.org Review URL: http://codereview.chromium.org/1629005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43833 0039d316-1c4b-4281-b951-d872f2087c98
* HostResolver now adds AI_CANONNAME to the hint flags if a requester needs ↵cbentzel@chromium.org2010-04-071-1/+3
| | | | | | | | | | | | | | | the information. Requests which want the canonical name should be treated differently from requests that do not for the same host in both the HostCache as well as in the HostResolver when combining multiple outstanding requests into a job. The motivation for this is that Kerberos SPN's for a web server are typically generated using the canonical name of the server rather than a DNS alias (both Firefox and IE have this behavior). BUG=29862 TEST=net_unittests Review URL: http://codereview.chromium.org/1566012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43826 0039d316-1c4b-4281-b951-d872f2087c98
* Use FLAKY instead of DISABLED for plugin testsphajdan.jr@chromium.org2010-04-071-4/+4
| | | | | | | | | | | to avoid losing test coverage. BUG=21538, 22666 TEST=none Review URL: http://codereview.chromium.org/1609009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43817 0039d316-1c4b-4281-b951-d872f2087c98
* Excluding a Pickle failure until the issue can be resolved.mrossetti@chromium.org2010-04-061-0/+3
| | | | | | | | | | BUG=40585 TEST=None TBR=arv@chromium.org Review URL: http://codereview.chromium.org/1589019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43773 0039d316-1c4b-4281-b951-d872f2087c98
* Changing the translate back-end to use the Google Translate element.jcivelli@google.com2010-04-063-288/+0
| | | | | | | | | | | | | | | | When the user indicates that a page should be translated, the browser first fetches the Google Translate Element JS code. It then sends it to the renderer, which injects the script in the page, waits for the Translate element to be initialized and then calls the translate method on it. The TranslationService class previously used to translate text chunks is now unused and has been removed. Some of its static methods that are still used have been moved to the TranslateManager class. This CL also implements the "revert" translation behavior. BUG=35474,37778,35553,39375 TEST=Test the translation feature extensively. Review URL: http://codereview.chromium.org/1599016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43768 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: No longer accept 'null' as signifying unset optional object property ↵rafaelw@chromium.org2010-04-061-11/+12
| | | | | | | | | | | | | | | | in extension calls This changes the json schema validation to treat a object property set to null as significant, rather than meaning the property is not specified. original review: http://codereview.chromium.org/1558021/show BUG=39465 TBR=oshima TEST=all tests should pass Review URL: http://codereview.chromium.org/1618005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43767 0039d316-1c4b-4281-b951-d872f2087c98
* Excluding ExtensionProxyUITest from valgrind tests.oshima@chromium.org2010-04-061-0/+2
| | | | | | | | | | | | They're failing on valgrind bots due to mmap failure. BUG=40584 TEST=linux/chromeos valgrind bots should cycle green. TBR=kkania@chromium.org Review URL: http://codereview.chromium.org/1578014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43762 0039d316-1c4b-4281-b951-d872f2087c98
* Add some shutdown perf tests. We measure shutdown for the combination ofthestig@chromium.org2010-04-064-66/+223
| | | | | | | | | | | shutdown method: {Close all windows, clicking exit, terminating process} and number of tabs open: {just about:blank, twenty tabs} BUG=23118 TEST=This CL adds a test. Review URL: http://codereview.chromium.org/1594008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43758 0039d316-1c4b-4281-b951-d872f2087c98
* Convert variables in chrome/common/env_vars.cc from wchar_t to char. Enable ↵thestig@chromium.org2010-04-063-9/+13
| | | | | | | | | | ChromeLoggingTest along the way. BUG=none TEST=none Review URL: http://codereview.chromium.org/1559016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43738 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for basic extension automation through the Automation Proxy.kkania@chromium.org2010-04-069-14/+543
| | | | | | | | BUG=36171 TEST=none Review URL: http://codereview.chromium.org/1048002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43730 0039d316-1c4b-4281-b951-d872f2087c98
* detect preferences errorserikkay@chromium.org2010-04-065-5/+5
| | | | | | | | | BUG=38352 TEST=none Review URL: http://codereview.chromium.org/1120006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43715 0039d316-1c4b-4281-b951-d872f2087c98
* Enable interactive_ui_testsoshima@chromium.org2010-04-063-7/+31
| | | | | | | | | | | | | | | | | | | | | | | * changed DCHECK in tree_node_model to make it easy to find how it failed. * Fixed compilation error in find_bar_host_interactive_uitest.cc on linux/views. * Disabled BrowserKeyEventsTest.AccessKeys for Chromeos Added/Changed ui_test_utils::RunAllPendingInMessageLoop where necessary. * Disabled tab_dragging_tests. I included the source so that we can catch compilation error even if tests do not run. Changed the comment from // -> /* as GCC complains the use of "\" (and potentially dangerous) * Added SleepInMessageLoop to allow event loop to execute the tasks/events while waiting. * For RunAllPendingInMessageLoop change, please see http://codereview.chromium.org/1591004 BUG=39736 TEST=interactive_ui_tests should pass with following cls http://codereview.chromium.org/1594003 http://codereview.chromium.org/1545011. Review URL: http://codereview.chromium.org/1576008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43701 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "No longer accept 'null' as signifying unset optional object property ↵rafaelw@chromium.org2010-04-051-10/+9
| | | | | | | | | | in extension calls." This reverts commit 02bd0a11dd8cee6e19c201e30b3984b638b2ddd1. Review URL: http://codereview.chromium.org/1512019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43666 0039d316-1c4b-4281-b951-d872f2087c98
* No longer accept 'null' as signifying unset optional object property in ↵rafaelw@chromium.org2010-04-051-9/+10
| | | | | | | | | | | | | extension calls. This changes the json schema validation to treat a object property set to null as significant, rather than meaning the property is not specified. BUG=39465 TEST=all tests should pass Review URL: http://codereview.chromium.org/1558021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43655 0039d316-1c4b-4281-b951-d872f2087c98
* Move extension ui test data to inside the extensions data folder.kkania@chromium.org2010-04-057-0/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1048002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43622 0039d316-1c4b-4281-b951-d872f2087c98
* Add the new extension install dialog for mac.aa@chromium.org2010-04-032-0/+4
| | | | | | | | | | | | | | There are two xibs in this change. ExtensionInstallPrompt.xib: This handles the more common case of installing an extension with one or more permission warnings. There is an NSBox with room for the warnings which are separated by \n\n. ExtensionInstallPromptNoWarnings.xib: It is also possible to install an extension with zero permission warnings. This is currently rare, but we hope to make it more common in the coming quarters. In this case, there is no NSBox and the layout is slightly different. BUG=29633 Review URL: http://codereview.chromium.org/1540013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43575 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a few places where we were incorrectly classifyingaa@chromium.org2010-04-034-0/+26
| | | | | | | | | notifications and storage permissions as "access to your browsing history". Review URL: http://codereview.chromium.org/1526007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43573 0039d316-1c4b-4281-b951-d872f2087c98
* Star/reload shuffle, Windows version.pkasting@chromium.org2010-04-031-0/+0
| | | | | | | | BUG=27570 TEST=Star should be moved to right hand end of location bar, reload to left endcap. Review URL: http://codereview.chromium.org/1561009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43562 0039d316-1c4b-4281-b951-d872f2087c98