summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Remove view_source_contents.cc from the porting list as this file was ↵jhawkins@chromium.org2009-02-261-1/+0
| | | | | | | | | removed in r10346. TBR=brettw Review URL: http://codereview.chromium.org/28195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10486 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent the display of the resize corner bitmap on top of the download shelf ↵mad@chromium.org2009-02-261-5/+14
| | | | | | | | | when the browser window is maximized. BUG=8025 Review URL: http://codereview.chromium.org/28168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10485 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix XRENDER support for NXagl@chromium.org2009-02-261-2/+7
| | | | | | | | | | | | | | | The NX X server doesn't support xRGB32 XRENDER picture formats. So, if we don't find one of those formats, fall back on ARGB32, which is fine, except that the X server will spend time dealing with an alpha channel which is all 254 or 255. ARGB32 support is required by the XRENDER spec. (This doesn't fix VNC, a patch for that is forthcoming.) Review URL: http://codereview.chromium.org/28192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10484 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the base64 stop sign graphic and use CSS instead. (R=agl)evan@chromium.org2009-02-261-13/+18
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10483 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak in extension install.erikkay@google.com2009-02-261-1/+11
| | | | | | Review URL: http://codereview.chromium.org/27215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10482 0039d316-1c4b-4281-b951-d872f2087c98
* remove chrome_kjs.sln and related filestc@google.com2009-02-262-2715/+0
| | | | | | | Review URL: http://codereview.chromium.org/28169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10481 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary include. Also add copyright to the new files.tc@google.com2009-02-263-3/+8
| | | | | | | Review URL: http://codereview.chromium.org/28127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10480 0039d316-1c4b-4281-b951-d872f2087c98
* properly initialize resource manager on mac for unittests.thomasvl@chromium.org2009-02-262-12/+30
| | | | | | Review URL: http://codereview.chromium.org/28185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10479 0039d316-1c4b-4281-b951-d872f2087c98
* Handle repack.py and .pak files in the GYP-based build.mark@chromium.org2009-02-261-0/+71
| | | | | | Review URL: http://codereview.chromium.org/27216 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10478 0039d316-1c4b-4281-b951-d872f2087c98
* Adds ability for tree model to reorder its children. I'm going to usesky@google.com2009-02-263-15/+68
| | | | | | | | | | | this when sorting the contents of a bookmark folder. BUG=1750 TEST=none Review URL: http://codereview.chromium.org/28175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10477 0039d316-1c4b-4281-b951-d872f2087c98
* Do not map virtual keycodes (VK_0 - VK_9) to characters when accelerators in ↵jungshik@google.com2009-02-261-2/+11
| | | | | | | | | | | | | | | the UI. If we do that, the result is the layout-dependent. For instance, in fr-FR layout, we get 'a with grave' in place of '0' for Ctrl+0 (normal in Zoom menu). Besides, in Slovak lazout, we get 'e with accent' This CL does not affect the actual behavior of accelerators (see issue 8043 for that), but only change the way they're displayed in the menu (even without this CL, ctrl-0 works fine in fr-FR AZERY layout and Slovak layout). BUG=7444 TEST=Change your kbd layout to French Azery and see what key is shown next to 'Normal' in Page-Zoom menu. It should be 'Ctrl+0'. Review URL: http://codereview.chromium.org/28121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10476 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling ThirtyFourTabs test.kuchhal@chromium.org2009-02-261-2/+2
| | | | | | | | | | TBR=jam BUG=8119 Review URL: http://codereview.chromium.org/28190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10475 0039d316-1c4b-4281-b951-d872f2087c98
* Make render_view_context_menu.cc compile on Posix.jhawkins@chromium.org2009-02-266-10/+45
| | | | | | Review URL: http://codereview.chromium.org/27193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10474 0039d316-1c4b-4281-b951-d872f2087c98
* Add the IDC_GO mapping for the go button widget.deanm@chromium.org2009-02-261-0/+5
| | | | | | | | We previously crashed with a NOTREACHED() when you clicked the go button. Review URL: http://codereview.chromium.org/27205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10473 0039d316-1c4b-4281-b951-d872f2087c98
* Remove zombie hunting on startup.deanm@chromium.org2009-02-261-2/+0
| | | | | | | | | | | We are hopefully over our zombie problems, and this can cause other troubles. This should also improve startup performance, since we don't need to iterate all processes on the system on startup. BUG=6468 Review URL: http://codereview.chromium.org/27203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10471 0039d316-1c4b-4281-b951-d872f2087c98
* We have localization (w00t!). Using it.avi@chromium.org2009-02-261-3/+8
| | | | | | Review URL: http://codereview.chromium.org/28188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10470 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting key change (again); this breaks every keyboard layout test there ↵avi@chromium.org2009-02-265-9/+12
| | | | | | | | is. Will fix and recommit. Review URL: http://codereview.chromium.org/28186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10469 0039d316-1c4b-4281-b951-d872f2087c98
* Bring the GYP-based build up to the current state of the trunk.mark@chromium.org2009-02-261-0/+7
| | | | | | Review URL: http://codereview.chromium.org/27212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10468 0039d316-1c4b-4281-b951-d872f2087c98
* Try a new approach to fixing IAT unpatch crashes when the DLL is gone.deanm@chromium.org2009-02-262-44/+70
| | | | | | | | | | | | Have the IAT patcher take some "ownership" of the DLL, by taking a library name and then calling LoadLibrary() / FreeLibrary() to manage the reference count. This means as long is there isn't some other reference count balancing bug happening in the process, the DLL will never be unloaded while we are patched. This effectively reverts r9929, the VirtualQuery additional checks are removed. BUG=7701 Review URL: http://codereview.chromium.org/21453 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10467 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing WebKeyboardEvent. For reals this time.avi@chromium.org2009-02-265-12/+9
| | | | | | | A recommit of http://codereview.chromium.org/27056 . Review URL: http://codereview.chromium.org/28136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10464 0039d316-1c4b-4281-b951-d872f2087c98
* fix up one include to be an importthomasvl@chromium.org2009-02-261-1/+1
| | | | | | | TBR=mark@chromium.org Review URL: http://codereview.chromium.org/27209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10462 0039d316-1c4b-4281-b951-d872f2087c98
* Wire up resource bundles on the mac:thomasvl@chromium.org2009-02-269-66/+232
| | | | | | | | | | | | | - compile resource_bundle - add resource_bundle_mac by cloning the linux and using some NSBundle to find the files. - enable resource bundles on the mac in the calling code. - added script to app target to repack .pak files into larger chunks (chrome, theme, and localized bits). - added script to copy repacked files into the app bundle. Review URL: http://codereview.chromium.org/28171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10460 0039d316-1c4b-4281-b951-d872f2087c98
* DevToolsAgent provides IPC access to the inspected page from developer tools.yurys@google.com2009-02-2611-0/+465
| | | | | | | | | | | | | RenderView running developer tools front-end instantiates DevToolsClient that handles IPC communication with DevToolsAgent. All messages are wrapped and routed through browser process. darin: please look at changes related to messages handling in RenderView jam: please review handling of forwarded messages in DevToolsClient and DevToolsAgent. Review URL: http://codereview.chromium.org/21543 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10459 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 10456.hbono@chromium.org2009-02-262-21/+1
| | | | | | Review URL: http://codereview.chromium.org/28180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10458 0039d316-1c4b-4281-b951-d872f2087c98
* Sandbox warmup - localtime().jeremy@chromium.org2009-02-261-0/+4
| | | | | | Review URL: http://codereview.chromium.org/28120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10457 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes Issue 7377: Regression: Omnibox trims URL ending with 0x85hbono@chromium.org2009-02-262-1/+21
| | | | | | | | | | To fix this issue, this change adds a new function TrimWhitespaceUTF8(), which trims space characters (including non-printable characters and broken UTF-8 characters) from either end of a UTF-8 string. Please feel free to give me your comments since I'm not sure this implimentation is correct. (Maybe this implementation trims too aggressively.) BUG=7377 Review URL: http://codereview.chromium.org/20219 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10456 0039d316-1c4b-4281-b951-d872f2087c98
* Developer tools messages are forwarded as wrapped IPC::Messages(previously ↵yurys@google.com2009-02-2626-26/+510
| | | | | | | | | | | | | | they were represented as int type+string body). I stole IPC::Message serialization code from jam's CL(http://codereview.chromium.org/20413). jam: please look at message forwarding code. When tools messages are send from browser to renderer they are also wrapped(unlike worker messages which are unwrapped and sent as is). It allows to describe developer tools messages in its own file instead of putting all of them into render_messages_internal.h brettw: please check if it's OK to have ForwardMessageToToolsClient in WebContentsView Review URL: http://codereview.chromium.org/21540 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10455 0039d316-1c4b-4281-b951-d872f2087c98
* Add hunspell.gyp and add spellchecker.cc to chrome.gyp:browsermark@chromium.org2009-02-262-1/+59
| | | | | | Review URL: http://codereview.chromium.org/28177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10454 0039d316-1c4b-4281-b951-d872f2087c98
* Un-exclude chrome_plugin_host.cc and chrome_plugin_util.cc from the gyp-basedmark@chromium.org2009-02-261-2/+0
| | | | | | | build following r10436. Review URL: http://codereview.chromium.org/28176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10453 0039d316-1c4b-4281-b951-d872f2087c98
* Add webkit.gyp:webkit target.mark@chromium.org2009-02-261-0/+1
| | | | | | Review URL: http://codereview.chromium.org/27196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10451 0039d316-1c4b-4281-b951-d872f2087c98
* Add a test case to be sure that InstallerUtil::IsOSSupported returnsnsylvain@chromium.org2009-02-261-0/+6
| | | | | | | | | | true for all the versions we support (or test on) bug: 7735 Review URL: http://codereview.chromium.org/27171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10444 0039d316-1c4b-4281-b951-d872f2087c98
* Make web_drag_source.cc compile on Posix.jhawkins@chromium.org2009-02-265-19/+43
| | | | | | Review URL: http://codereview.chromium.org/27192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10443 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add splash screenagl@chromium.org2009-02-266-3/+106
| | | | | | | | In preparation for an internal launch, this adds a splash screen as the startup URL for Linux which has a few FAQs. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10442 0039d316-1c4b-4281-b951-d872f2087c98
* Make IPC::Logging register to watch for message loop destruction.jam@chromium.org2009-02-263-5/+13
| | | | | | | | BUG=8029 Review URL: http://codereview.chromium.org/28154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10441 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fixes for tab contents switchingagl@chromium.org2009-02-265-7/+8
| | | | | | | | Previously, removing a view_ from its container destroyed it. We fix this by disabling GTK's auto reference stealing. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10440 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix GDK error when switching tab contentsagl@chromium.org2009-02-265-17/+24
| | | | | | | | | | | | | | When we remove a drawing area from a container, GTK destroys the X window. However, the BackingStore remembers the old X window id and emits X requests using the wrong id. This change makes the window id an argument to ShowRect and makes the pixmaps from the root window instead. Review: http://codereview.chromium.org/27169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10439 0039d316-1c4b-4281-b951-d872f2087c98
* OS_MAC should be OS_MACOSX.wtc@chromium.org2009-02-261-1/+1
| | | | | | | R=brettw Review URL: http://codereview.chromium.org/28157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10438 0039d316-1c4b-4281-b951-d872f2087c98
* Coalesce more hardcoded schemes to using predefined constants.brettw@chromium.org2009-02-2632-94/+140
| | | | | | Review URL: http://codereview.chromium.org/31008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10437 0039d316-1c4b-4281-b951-d872f2087c98
* Make chrome_plugin_host.cc and chrome_plugin_util.cc compile on Posix.jhawkins@chromium.org2009-02-2613-49/+64
| | | | | | Review URL: http://codereview.chromium.org/27150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10436 0039d316-1c4b-4281-b951-d872f2087c98
* Implements a method to enable/disable the "Remove All" buttontc@google.com2009-02-262-0/+8
| | | | | | | | | | | | | | | | in the password manager. This method is called whenever the password manager window is opened and disables the button if there are no passwords stored. It is also called when all of the stored passwords are removed. BUG=7228 Original patch by Kyle Nahrgang <kpn24@drexel.edu> in http://codereview.chromium.org/28063/show Review URL: http://codereview.chromium.org/27191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10435 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the jankometer NOTIMPLEMENTED()s into a bug.evan@chromium.org2009-02-261-2/+2
| | | | | | Review URL: http://codereview.chromium.org/27177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10434 0039d316-1c4b-4281-b951-d872f2087c98
* Create ProfilePersonalization in the ctor of ProfileImpl instead of lazily ↵munjal@chromium.org2009-02-261-3/+5
| | | | | | | | creating it. Review URL: http://codereview.chromium.org/28143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10433 0039d316-1c4b-4281-b951-d872f2087c98
* Hide profiles behind a command-line switch since the user-data-dir stuffmunjal@chromium.org2009-02-265-3/+20
| | | | | | | | | | wouldn't work on Mac. See bug http://code.google.com/p/chromium/issues/detail?id=7987 Review URL: http://codereview.chromium.org/28093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10432 0039d316-1c4b-4281-b951-d872f2087c98
* Fix fullscreen mode opacity issues on Aero glass. We need to not extend the ↵pkasting@chromium.org2009-02-265-41/+64
| | | | | | | | | | | glass into the client area at all in fullscreen mode or text over it becomes semitransparent. Because I can't use "IsTabStripVisible()" to indicate "do we need to goof with the window frame" anymore, I've introduced "IsNormalMode()" instead, and tried to change callers of the former to use the latter where appropriate. BUG=8066 Review URL: http://codereview.chromium.org/28159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10431 0039d316-1c4b-4281-b951-d872f2087c98
* Add an identity (id) to system drag & drop.tc@google.com2009-02-262-1/+9
| | | | | | | | | | | | | | | | | Used for gears file drag & drop in chrome, assign a drag id (identity) to each drag and drop session. Send the identity to the renderer WebViewImpl in drag enter notifications, provide a getter method. BUG=7995 Original patch by noel.gordon@gmail.com in: http://codereview.chromium.org/28108/show Review URL: http://codereview.chromium.org/28158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10430 0039d316-1c4b-4281-b951-d872f2087c98
* fix unit_tests and perf_tests on linuxtc@google.com2009-02-262-0/+2
| | | | | | | | | TBR=darin Review URL: http://codereview.chromium.org/27189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10429 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux build bustage.darin@chromium.org2009-02-261-0/+1
| | | | | | | | TBR=tony Review URL: http://codereview.chromium.org/28161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10418 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium changes to use new WebKit, WebKitClient, and WebClipboard interfaces.darin@chromium.org2009-02-267-11/+114
| | | | | | | | | | | | | | | | | | | A new WebKitClientImpl class is added to webkit/glue that consumers can use to help implement WebKitClient. In the future, consumers will likely subclass WebKitClientImpl. For now, that is not necessary. Since a WebImage may not hold a SkBitmap, I needed to modify ScopedClipboardWriterGlue to not deal in SkBitmaps. So, I just added a WriteBitmapFromPixels method in place of the WriteBitmap method. That method is actually named the same as the one from the base class, which is perhaps kind of nice since the purpose of ScopedClipboardWriterGlue is to override the default way of sending an image to the clipboard! R=dglazkov Review URL: http://codereview.chromium.org/28119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10416 0039d316-1c4b-4281-b951-d872f2087c98
* We can get into a state where the automation framework presses the Close ↵finnur@google.com2009-02-261-11/+15
| | | | | | | | | | | | | button in the Find box after the tab has been destroyed. This causes the Find box to act on a NULL web_contents_ pointer. We now guard against this by checking for NULL web_contents before performing any work that relies on it. (I can't reproduce this bug manually or by running the automation testing locally, but this is an attempt to fix the crash by using the information gathered from looking at the crash dump). Review URL: http://codereview.chromium.org/27173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10414 0039d316-1c4b-4281-b951-d872f2087c98
* We can get into a state where the automation framework sends a search ↵finnur@google.com2009-02-261-0/+4
| | | | | | | | | | | | string, which ends up in a handler in the FindBarView that has already been destroyed, causing a crash. We now explicitly null the controller for the text field when destroying the view so that if it is still receiving messages they will be ignored by the view. (I can't reproduce this bug manually or by running the automation testing locally, but this is an attempt to fix the crash by using the information gathered from looking at the crash dump). Review URL: http://codereview.chromium.org/27172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10413 0039d316-1c4b-4281-b951-d872f2087c98