summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Make browser actions appear to the left of the bookmark menu.finnur@chromium.org2009-10-061-4/+4
| | | | | | | | | | | Also fixed min size of the browser to take into account the browser actions. BUG-23924 TESTS=Open Chrome with --bookmark-menu and make sure browser actions you install appear to the left. Also, resize the browser horizontally and make sure it always shows all the controls in the chrome (from Back to App menu). Review URL: http://codereview.chromium.org/246102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28191 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for BrowserActions UNLOAD not changing Omnibox length. ↵sidchat@chromium.org2009-10-061-1/+4
| | | | | | | | | | | BrowserActionsContainer is the child view of ToolBarView. When BrowserActionsContainer gets notification for LOAD/UNLOAD, it needs to re-layout ToolBarView, its parent. BUG=23381 TEST=none Review URL: http://codereview.chromium.org/246107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28190 0039d316-1c4b-4281-b951-d872f2087c98
* Fix broken extension docs due to a JSON syntax error.mpcomplete@chromium.org2009-10-063-1/+704
| | | | | | | | | BUG=no TEST=no Review URL: http://codereview.chromium.org/242168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28189 0039d316-1c4b-4281-b951-d872f2087c98
* Add an BubbleBorder to BrowserAction popups and fix positioning of theerikkay@chromium.org2009-10-069-32/+108
| | | | | | | | | | | popup. BUG=23833,23835 TEST=none Review URL: http://codereview.chromium.org/259065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28187 0039d316-1c4b-4281-b951-d872f2087c98
* GMail extension with BrowserAction. It does the following:sidchat@chromium.org2009-10-065-0/+151
| | | | | | | | | | | | | | | - Shows a Gmail logo with a strike out diagonal line when not logged in. - Allows the user to click on the BrowserAction to log in. - If there are unread emails on login, the GMail logo blinks. - Shows the number of unread emails as a Badge (red in color!). - Shows the number of unread emails as a tooltip text if hovered on. - When a new email comes, the GMail logo blinks and the badge text updates. BUG=23898 TEST=none Review URL: http://codereview.chromium.org/246093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28183 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a regression with setting the toolstrip background.mpcomplete@chromium.org2009-10-067-9/+58
| | | | | | | | | BUG=23458 TEST=Load an extension with a toolstrip. The toolstrip's background should match the shelf's background for your theme. Review URL: http://codereview.chromium.org/243114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28177 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r28050 and put the paint observer timeout back to 2 sec.tony@chromium.org2009-10-061-1/+1
| | | | | | | | | The new tab times didn't change on linux/mac so that's probably not the problem. This will speed up the new tab tests. Review URL: http://codereview.chromium.org/256083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28175 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash when a plugin file picker window is dismissed. This is aamanda@chromium.org2009-10-062-4/+13
| | | | | | | | | | | spot fix--a comprehensive fix will require http://code.google.com/p/chromium/issues/detail?id=23571 BUG=23774 TEST=upload a file via Flash (example: Gmail, YouTube). The browser should not crash after you click "OK" to dismiss the file picker. Review URL: http://codereview.chromium.org/242161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28158 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak in ExtensionAPIClientTest.mpcomplete@chromium.org2009-10-061-2/+2
| | | | | | TBR=aa git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28151 0039d316-1c4b-4281-b951-d872f2087c98
* Suppression for a leak detected by Purify in IEImporterTestjeremy@chromium.org2009-10-061-0/+6
| | | | | | | | BUG=23976 Review URL: http://codereview.chromium.org/257064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28149 0039d316-1c4b-4281-b951-d872f2087c98
* Fix double delete in NPObjectStub that I introduced.jam@chromium.org2009-10-061-1/+3
| | | | | | | | TBR=ananta BUG=23713, 23706 Review URL: http://codereview.chromium.org/251105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28147 0039d316-1c4b-4281-b951-d872f2087c98
* External protocol dialog support for the Mac.avi@chromium.org2009-10-065-4/+195
| | | | | | | | | BUG=http://crbug.com/15546 TEST=try to use an external protocol; it should put up a dialog Review URL: http://codereview.chromium.org/256065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28145 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Check the return value of CryptDestroyHash and CryptReleaseContext.jhawkins@chromium.org2009-10-061-4/+10
| | | | | | | | | CID=6309 BUG=none TEST=none Review URL: http://codereview.chromium.org/243103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28144 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Assert that socket() returned a successful value.jhawkins@chromium.org2009-10-061-0/+1
| | | | | | | | | CID=6384 BUG=none TEST=none Review URL: http://codereview.chromium.org/260010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28143 0039d316-1c4b-4281-b951-d872f2087c98
* Fix scripting during NPP_Destroy. Note that if the plugin is making a call ↵jam@chromium.org2009-10-0610-98/+164
| | | | | | | | | | to the renderer so this instance is in the callstack, destruction will have to be asynchronous and so scripting still won't work. This change also fixes use of PluginChannel after it's deleted (if this was the last instance). BUG=23713, 23706 TEST=added ui test Review URL: http://codereview.chromium.org/258026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28141 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: disable TestProfilerTab test due to flakiness.mnaganov@chromium.org2009-10-061-1/+3
| | | | | | | | | | | To fix it, a change needs to be made in V8. BUG=23768 TEST=none Review URL: http://codereview.chromium.org/256082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28140 0039d316-1c4b-4281-b951-d872f2087c98
* Make EditSearchEngineCocoaController adhere to NSWindowDelegatemark@chromium.org2009-10-061-1/+3
| | | | | | Review URL: http://codereview.chromium.org/242157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28139 0039d316-1c4b-4281-b951-d872f2087c98
* Implement browserAction.setIcon(ImageData) for extensions.mpcomplete@chromium.org2009-10-067-29/+157
| | | | | | | | | BUG=23269 TEST=load the test_browser_action sample extension, and click the browser action. Watch it dynamically update. Review URL: http://codereview.chromium.org/242150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28136 0039d316-1c4b-4281-b951-d872f2087c98
* Move runFileChooser from webview_delegate to WebViewClient.yaar@chromium.org2009-10-063-27/+50
| | | | | | | | More details here: http://code.google.com/p/chromium/issues/detail?id=23385 Review URL: http://codereview.chromium.org/259031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28134 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup some rotten references to old command line switches.nick@chromium.org2009-10-062-4/+2
| | | | | | Review URL: http://codereview.chromium.org/243105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28131 0039d316-1c4b-4281-b951-d872f2087c98
* Modify extension request IPC messages to pass a ListValue instead of a string.mpcomplete@chromium.org2009-10-0622-52/+78
| | | | | | | | | | | | This allows us to pass binary values through extension requests. I use this in my next CL to pass SkBitmaps. BUG=23269 TEST=no Review URL: http://codereview.chromium.org/251093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28130 0039d316-1c4b-4281-b951-d872f2087c98
* DOMView: avoid double-detaching.nick@chromium.org2009-10-061-1/+1
| | | | | | | | | | | | | I'm seeing ~DOMView happen after NativeViewHost::Detach has already been done as part of WM_DESTROY. BUG=20339 TEST=cancel the sync login dialog and create app shortcuts dialogs. Review URL: http://codereview.chromium.org/258028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28129 0039d316-1c4b-4281-b951-d872f2087c98
* Reword the first sentence in the sync dialog based on Fiona Chong feedback.nick@chromium.org2009-10-061-1/+1
| | | | | | | | | BUG=23136 TEST=None Review URL: http://codereview.chromium.org/255091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28127 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Fix bookmark bar resize issues.erg@chromium.org2009-10-061-4/+4
| | | | | | | | | | | | | Nib file changes: - Changed resize flags to pin the bookmark bar a fixed distance from the top of the window, not the bottom. BUG=23949 TEST=Resize the window, make sure the bookmark bar resizes correctly. Review URL: http://codereview.chromium.org/256078 Patch from rohitaro@chromium.org. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28121 0039d316-1c4b-4281-b951-d872f2087c98
* Don't show popup browser actions in the wrench menu.erikkay@chromium.org2009-10-067-19/+33
| | | | | | | | | BUG=23834 TEST=none Review URL: http://codereview.chromium.org/257048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28119 0039d316-1c4b-4281-b951-d872f2087c98
* Updates the main menu images.sky@chromium.org2009-10-062-0/+0
| | | | | | | | | BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/257062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28118 0039d316-1c4b-4281-b951-d872f2087c98
* (please review thoroughly since this touches many moving parts).jeremy@chromium.org2009-10-0621-478/+677
| | | | | | | | | | | | | | | | | | | | | | | Refactor ImporterHost as preparation for OOPprofile import. ImporterHost currently requires substantial infrastructure in order to run which we don't need or can't have in a utility process. This change splits ImporterHost into a couple of subclasses so that the profile import process can remain light weight and doesn't need to initialize Profile, etc. ImporterList: Manages the list of importers, this class will allow the utility process to locate and instantiate an importer without initializing the world. ImprterBridge/InProcessImporterBridge: Provides an abstract interface for the importers to interact with the rest of the App. The idea is to stick the IPC boundary in using this interface. There may still be some rough spots in the separation (e.g. Firefox locking and surrounding UI) but I'll sort those out in a followup CL that makes the OOP stuff work. For now I'm trying to keep these CLs as small as I can. BUG=14458 TEST=Profile import should continue to work on Windows/Linux & Mac. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27996 Review URL: http://codereview.chromium.org/242091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28117 0039d316-1c4b-4281-b951-d872f2087c98
* Turns out a cleanup change I made a while ago was wrong. This could result ↵pkasting@chromium.org2009-10-061-1/+5
| | | | | | | | | | in odd text colors in the Omnibox when typing. BUG=none TEST=Visit m/, then type a letter into the omnibox and make sure it's black. Review URL: http://codereview.chromium.org/259054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28116 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit http://codereview.chromium.org/243096 with gcc compile error fixed.erikkay@chromium.org2009-10-065-7/+44
| | | | | | | | | BUG=23832 TBR=mpcomplete Review URL: http://codereview.chromium.org/257056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28115 0039d316-1c4b-4281-b951-d872f2087c98
* Change the Windows build to statically link the sync library.nick@chromium.org2009-10-066-64/+13
| | | | | | | | | | | Update installer files so that they don't reference syncapi.dll. Add a reference to iphlpapi, and make it and pthreads lazy-loaded. BUG=23609 TEST=interactive testing of two sync clients with notifications. Review URL: http://codereview.chromium.org/242118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28112 0039d316-1c4b-4281-b951-d872f2087c98
* Changes the url of the main menu.sky@chromium.org2009-10-061-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/255088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28111 0039d316-1c4b-4281-b951-d872f2087c98
* Prevents a duplicate beforeunload dialog after window.close().creis@google.com2009-10-062-1/+26
| | | | | | | | | | | | | If the renderer tells the browser to close a window, we no longer run the unload events, because the renderer already has. BUG=11647 TEST=BrowserTest.SingleBeforeUnloadAfterWindowClose Review URL: http://codereview.chromium.org/246080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28110 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 221.7 to 222.0laforge@chromium.org2009-10-061-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28107 0039d316-1c4b-4281-b951-d872f2087c98
* Removed omnibox images from the bundle.thomasvl@chromium.org2009-10-062-10/+20
| | | | | | | | | | Update the code to pull the omnibox images from the pak files instead. TEST=Omnibox still has all the right images next to the things it lists BUG=20230 Review URL: http://codereview.chromium.org/246101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28104 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 221.6 to 221.7laforge@chromium.org2009-10-061-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28100 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: bring devtools tests back.pfeldman@chromium.org2009-10-061-17/+17
| | | | | | Review URL: http://codereview.chromium.org/243107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28099 0039d316-1c4b-4281-b951-d872f2087c98
* Revert.jorlow@chromium.org2009-10-061-2/+9
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28098 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable the DOM Storage ui tests that worked orginally.jorlow@chromium.org2009-10-061-9/+2
| | | | | | | | | | | Next step: enable ones that should work, but (for some reason) don't. TEST=It runs. BUG=none Review URL: http://codereview.chromium.org/256070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28097 0039d316-1c4b-4281-b951-d872f2087c98
* Generate IDs for --load-extension by hashing the path insteadaa@chromium.org2009-10-0611-88/+68
| | | | | | | | | | | | | of incrementing a static counter. BUG=21281 TEST=Load an unpacked extension from chrome://extensions/ that does not have an ID in its manifest. The resulting ID should be random-looking, not something like "aaaaaa". Review URL: http://codereview.chromium.org/256049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28095 0039d316-1c4b-4281-b951-d872f2087c98
* Implement --enable-web-sockets flag.ukai@chromium.org2009-10-065-1/+10
| | | | | | | | | BUG=12497 TEST=none Review URL: http://codereview.chromium.org/255075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28093 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly activeIgnoringOtherApps from IDC_NEW{,_INCOGNITO}_WINDOWsgk@google.com2009-10-062-3/+11
| | | | | | | | | | | in app_controller_mac.mm, under the assumption we're either already the foreground app or should become the foreground mac (when created from the dock menu). BUG=22595 TEST="New Window" or "New Incognito Window" from dock menu with other app in foreground Review URL: http://codereview.chromium.org/256054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28091 0039d316-1c4b-4281-b951-d872f2087c98
* Add comments setting emacs and vim tab width and expansion variables.sgk@google.com2009-10-065-0/+29
| | | | | | | | BUG=none TEST=successful builds Review URL: http://codereview.chromium.org/256059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28089 0039d316-1c4b-4281-b951-d872f2087c98
* Initial CL for fixing some of the proxy auth issues.chron@chromium.org2009-10-066-32/+87
| | | | | | | | | | | | | | Auth_cache is contained in the http session. We need to share the http session with the parent profile request context in order to retain http authentication. Weirdly enough, Profile::GetDefaultRequestContext() is not the same as profile_->GetRequestContext(), It does NOT yet pop up a dialog if the user hasn't done so already. BUG=19581 TEST=Included. Review URL: http://codereview.chromium.org/241001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28086 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for specifying the BrowserFlags DWORD value when we register ↵ananta@chromium.org2009-10-064-0/+42
| | | | | | | | | | | | | | | | | | | | | | the ChromeFrame Active Document server. This allows the document server to receive a number of menu events like Find, View->Text Size, etc. Thanks to Stoyan for helping me debug this :) Clicking on Edit->Find in the menu in IE with this causes IEFrame to call our Active document's Exec implementation with the IDM_FIND command. The handling here is to invoke our default Find handling. Added support for honoring user text size selections. The next thing to be done is to honor the current text size setting while launching Chrome. I also fixed the rgs files to have LF as the terminating character. This fixes Bug http://code.google.com/p/chromium/issues/detail?id=23667 Bug=23667 Review URL: http://codereview.chromium.org/243082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28085 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize message_loop_ in gaia authenticator.timsteele@google.com2009-10-061-1/+2
| | | | | | | | BUG=23906 Review URL: http://codereview.chromium.org/257058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28084 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: check module for NULL before calling GetProcAddress.mattm@chromium.org2009-10-061-1/+3
| | | | | | | | | | CID=5168,5169 TEST=none BUG=none Review URL: http://codereview.chromium.org/257043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28082 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build.erg@google.com2009-10-061-1/+1
| | | | | | | | TBR=nsylvain Review URL: http://codereview.chromium.org/246100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28077 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Fix crash while dragging a tab alone in a window.viettrungluu@chromium.org2009-10-062-1/+13
| | | | | | | | | | | | | Specifically, the crash could be repro'ed as follows (it also occurred under other circumstances as well): Have a window with one or more tabs in it. Create a new window with a single tab. Drag the tab in the new window, and while dragging right-click (and release). This patch also prevents right-clicks while dragging from stopping the drag. BUG=23591 TEST=See above. Review URL: http://codereview.chromium.org/242139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28075 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Implements the special bookmark bar on NTP.erg@chromium.org2009-10-0625-240/+640
| | | | | | | | | | | | | Based mostly on Ben's patch, but made it compile, work, and descoped moving the bookmark bar around the view heiarchy. XIB modification: The root view is now a BookmarkBarToolbarView instead of an NSView and is [BookmarkBarController view]. BUG=17625 Review URL: http://codereview.chromium.org/246034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28074 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Refactor some things so GTK doesn't touch the on disk image cache.erg@google.com2009-10-053-41/+64
| | | | | | | | | | Hopefully will solve crash. BUG=23588 Review URL: http://codereview.chromium.org/258020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28066 0039d316-1c4b-4281-b951-d872f2087c98