summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Enable focus-change via tabbing on Linux.estade@chromium.org2009-03-021-0/+1
| | | | | | Review URL: http://codereview.chromium.org/28248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10725 0039d316-1c4b-4281-b951-d872f2087c98
* Implement gfx::Path on GTK.deanm@chromium.org2009-03-025-19/+52
| | | | | | Review URL: http://codereview.chromium.org/28297 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10696 0039d316-1c4b-4281-b951-d872f2087c98
* Instead of appending "Downloads" to the user document directory, let each ↵estade@chromium.org2009-02-285-15/+46
| | | | | | | | | | platform specify its own downloads directory. On mac this is unimplemented. On windows it remains the user document directory + "\Downloads\", and on linux we attempt to follow their XDG setting, but fall back to ~/Downloads if they have an unsafe value in their XDG setting. Review URL: http://codereview.chromium.org/28167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10669 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of wstring variants of StringToFoo.dsh@google.com2009-02-282-5/+5
| | | | | | Review URL: http://codereview.chromium.org/28281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10664 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor download shelf and prepare for porting.estade@chromium.org2009-02-281-1/+1
| | | | | | | | Side effect of removing some views dependencies from places they don't belong. Review URL: http://codereview.chromium.org/28252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10657 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of AudioRendererHosthclam@chromium.org2009-02-272-6/+7
| | | | | | | | | | | | | | | | Completing the implementation of AudioRendererHost in chrome/browser/renderer_host/audio_renderer_host.cc with ResourceMessageFilter actually delegating calls to it when corresponding IPC messages are received. With this patch we should be able to send audio related IPC messages to browser with working audio, but we still need to complete the singleton paradigm for AudioManager to start using it in unit test and renderer. Review URL: http://codereview.chromium.org/21494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10647 0039d316-1c4b-4281-b951-d872f2087c98
* Pull WebKit deps to get transparency fixes, and rebaseline affected layout ↵brettw@chromium.org2009-02-271-2/+5
| | | | | | | | | | | | | | | | | | | tests. Add a helper class to manage Windows' transparency issues. It will create layers and manage transforms in such a way that most effects can be achieved with fonts and form controls on Windows while looking nice. This removes the magic transparency color and associated infrastructure since it is no longer needed. This fixes semitransparent ClearType antialiasing and pngs with alpha channels with opacity applied. BUG=559,2791,3229,6372 Review URL: http://codereview.chromium.org/21201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10637 0039d316-1c4b-4281-b951-d872f2087c98
* Add "stop" image to project. Clean up project so app/theme is a proper group ↵pinkerton@chromium.org2009-02-272-2/+23
| | | | | | | | and its children could be relative to it rather than their grandparent. Plumb loading status into Mac controllers. Add more loading status info to stub TabContents. Make browser window a little taller and wider so NTP didn't show scrollbars. Review URL: http://codereview.chromium.org/31017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10621 0039d316-1c4b-4281-b951-d872f2087c98
* Prototype extension process. This is a proof of concept, with a lot ofmpcomplete@google.com2009-02-275-13/+68
| | | | | | | | | | rough edges. Mostly this just fires up a renderer with an "extension" object exposed, which right now only has a single method "getTestString". I also did some misc cleanup along the way. Review URL: http://codereview.chromium.org/27187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10620 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a few more NOTIMPLEMENTED methods.pinkerton@chromium.org2009-02-272-2/+13
| | | | | | Review URL: http://codereview.chromium.org/28263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10616 0039d316-1c4b-4281-b951-d872f2087c98
* Change locale handling to deal with mac resource bundles in the ↵pinkerton@chromium.org2009-02-274-2/+25
| | | | | | | | corresponding .lproj folder so we can more easily find them. The nibs have not yet been moved, that'll be a further step. Review URL: http://codereview.chromium.org/28259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10609 0039d316-1c4b-4281-b951-d872f2087c98
* Enable new tab page for Mac and Linuxpinkerton@chromium.org2009-02-271-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10604 0039d316-1c4b-4281-b951-d872f2087c98
* Use a dedicated command line flag for FIFO IPC channels on POSIX.phajdan.jr@chromium.org2009-02-273-1/+7
| | | | | | | | | | This fixes a problem I hit when porting startup_tests that the controlling startup_tests process didn't use FIFO, and the child chrome process did (and obviously they couldn't communicate). Review URL: http://codereview.chromium.org/27220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10593 0039d316-1c4b-4281-b951-d872f2087c98
* Add temp scaffolding stubs for automation bits to unbreak shared linking.phajdan.jr@chromium.org2009-02-271-0/+130
| | | | | | | | It would have to be done anyway as part of my startup_tests porting effort. Review URL: http://codereview.chromium.org/28212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10592 0039d316-1c4b-4281-b951-d872f2087c98
* A fix for Issue 4400 (or maybe 4222).hbono@chromium.org2009-02-271-2/+2
| | | | | | | | | Sorry for my slow change. I noticed we should use the DLU size to calculate the expected text width only when it is smaller than average character width, i.e. ave_char_width(). (The DLU size becomes smaller than the average character width only when a font contains lots of CJK characters because most of CJK characters are much wider than alphabets.) So, this change uses the DLU size only when it is smaller than the average character width. I wish this makes you happy. Also, this change replaces TAB characters with spaces. Review URL: http://codereview.chromium.org/28181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10586 0039d316-1c4b-4281-b951-d872f2087c98
* Use xdg_user_dir_lookup to lookup directories. (try 2)thestig@chromium.org2009-02-273-23/+47
| | | | | | Review URL: http://codereview.chromium.org/27259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10580 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 10555.thestig@chromium.org2009-02-272-43/+20
| | | | | | Review URL: http://codereview.chromium.org/28239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10560 0039d316-1c4b-4281-b951-d872f2087c98
* Use xdg_user_dir_lookup to lookup directories.thestig@chromium.org2009-02-272-20/+43
| | | | | | Reviewed in issue 27186. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10555 0039d316-1c4b-4281-b951-d872f2087c98
* RLZ NOTIMPLEMENTEDs -> bug.evan@chromium.org2009-02-271-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10554 0039d316-1c4b-4281-b951-d872f2087c98
* Fix GetAppLocale that is failing on posix. .dll change to .pak.tc@google.com2009-02-271-10/+17
| | | | | | | | | TBR to get the tree green. Review URL: http://codereview.chromium.org/28236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10541 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a NOTIMPLEMENTED() in l10n_util.cc from it expecting .dll in the file name.evan@chromium.org2009-02-261-11/+13
| | | | | | | | While I'm at it, remove references to .dll in comments in the file. Review URL: http://codereview.chromium.org/27223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10524 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: support displays without Xrender support.agl@chromium.org2009-02-262-3/+39
| | | | | | | | | | | VNC servers don't support Xrender. For this use case, we implement a slow fallback which byte-fiddles the Skia bitmaps as needed to support 32 and 24 bit visuals. Review URL: http://codereview.chromium.org/27227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10523 0039d316-1c4b-4281-b951-d872f2087c98
* Revert brett's code, for real this time.nsylvain@chromium.org2009-02-262-34/+24
| | | | | | Review URL: http://codereview.chromium.org/28224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10517 0039d316-1c4b-4281-b951-d872f2087c98
* Bugify another NOTIMPLMENTED.evan@chromium.org2009-02-261-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10498 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding the following:jcampan@chromium.org2009-02-261-0/+1
| | | | | | | | | | | | | | When restoring a session, the browser is shown after a tab is selected causing the focus to be on the location bar (not tab contents for web pages). This CL ensures the tab decides where the focus should be after the browser is shown. BUG=6000 TEST=See bug R=sky Review URL: http://codereview.chromium.org/28156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10488 0039d316-1c4b-4281-b951-d872f2087c98
* More URL constants replacement.brettw@chromium.org2009-02-262-0/+10
| | | | | | Review URL: http://codereview.chromium.org/28170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10487 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 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-261-3/+30
| | | | | | Review URL: http://codereview.chromium.org/28185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10479 0039d316-1c4b-4281-b951-d872f2087c98
* Make render_view_context_menu.cc compile on Posix.jhawkins@chromium.org2009-02-261-0/+26
| | | | | | Review URL: http://codereview.chromium.org/27193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10474 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting key change (again); this breaks every keyboard layout test there ↵avi@chromium.org2009-02-261-3/+0
| | | | | | | | 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
* Fixing WebKeyboardEvent. For reals this time.avi@chromium.org2009-02-261-0/+3
| | | | | | | 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-264-58/+125
| | | | | | | | | | | | | - 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
* Developer tools messages are forwarded as wrapped IPC::Messages(previously ↵yurys@google.com2009-02-262-23/+36
| | | | | | | | | | | | | | 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
* Make web_drag_source.cc compile on Posix.jhawkins@chromium.org2009-02-261-0/+3
| | | | | | Review URL: http://codereview.chromium.org/27192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10443 0039d316-1c4b-4281-b951-d872f2087c98
* Make IPC::Logging register to watch for message loop destruction.jam@chromium.org2009-02-262-2/+12
| | | | | | | | 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-261-2/+1
| | | | | | | | 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-262-0/+6
| | | | | | | | | | | | | | 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
* Coalesce more hardcoded schemes to using predefined constants.brettw@chromium.org2009-02-263-11/+39
| | | | | | 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-265-26/+20
| | | | | | Review URL: http://codereview.chromium.org/27150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10436 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
* Hide profiles behind a command-line switch since the user-data-dir stuffmunjal@chromium.org2009-02-262-0/+5
| | | | | | | | | | 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
* Add an identity (id) to system drag & drop.tc@google.com2009-02-261-0/+2
| | | | | | | | | | | | | | | | | 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
* Don't send the receiver function name in the ↵ananta@chromium.org2009-02-251-6/+1
| | | | | | | | | | ExternalHostBindings::ForwardMessageToExternalHost CPP binding exposed for sending messages from Chrome to an external host, Review URL: http://codereview.chromium.org/27125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10407 0039d316-1c4b-4281-b951-d872f2087c98
* Add the hunspell project to Chrome.app and get spellchecker compilingshess@chromium.org2009-02-251-33/+0
| | | | | | | | for Mac. Review URL: http://codereview.chromium.org/28053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10399 0039d316-1c4b-4281-b951-d872f2087c98
* This CL causes the autofill popup to hide when the browser window is moved ↵jcampan@chromium.org2009-02-251-0/+3
| | | | | | | | | | | or resized. TEST=Bring up an autofill popup in a form, move the browser. The autofill popup should be closed. BUG=7401 R=ben Review URL: http://codereview.chromium.org/28126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10384 0039d316-1c4b-4281-b951-d872f2087c98
* Change url bar text according to the model when updating the toolbar. Fix ↵pinkerton@chromium.org2009-02-251-0/+1
| | | | | | | | vtable issue in ToolbarModel by using correct declaration. Review URL: http://codereview.chromium.org/27163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10383 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: switch red and blue channelsagl@chromium.org2009-02-251-2/+2
| | | | | | | Review URL: http://codereview.chromium.org/28135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10378 0039d316-1c4b-4281-b951-d872f2087c98
* Dynamically load FFmpeg DLLs if present and --enable-video is on.scherkus@chromium.org2009-02-252-0/+26
| | | | | | | | If any of the DLLs fail to load or are not present, video is disabled. Review URL: http://codereview.chromium.org/24025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10376 0039d316-1c4b-4281-b951-d872f2087c98