summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Import traceline, a Windows performance trace event logger.deanm@chromium.org2009-02-2029-0/+121593
| | | | | | | | This imports both the hook / event logger (traceline), and the SVG based UI for displaying trace results as a timeline (svgui). Review URL: http://codereview.chromium.org/20494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10091 0039d316-1c4b-4281-b951-d872f2087c98
* Add tab content type for developer tools UI.yurys@google.com2009-02-2020-2/+507
| | | | | | | | | | | | | | | Add code routing messages between ToolsAgent and ToolsClient in the browser process. There is no direct IPC channel between inspected process and developer tools UI so all messages have to be routed through the browser process. On the side of inspected page there is ToolsAgent existing in all renderers so that we can start inspecting the page at any moment by talking to this object. On the side of developer tools renderer there is ToolsClient which is created only for RenderView that host developer tools UI. (darin: tools message representation will be later changed from id+string to just IPC::Message) Review URL: http://codereview.chromium.org/21510 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10090 0039d316-1c4b-4281-b951-d872f2087c98
* Reformat some omnibox enum comments. This helps readability a bit by using ↵deanm@chromium.org2009-02-201-8/+10
| | | | | | | | more horizontal space. Review URL: http://codereview.chromium.org/21511 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10089 0039d316-1c4b-4281-b951-d872f2087c98
* Display windowless plugins on Linux as windowed.deanm@chromium.org2009-02-201-0/+7
| | | | | | | | | Until we properly support windowless plugins, tell plugins that we don't support windowless. The plugins will have to be windowed for now. This allows a lot of wmode flash to play, instead of trying to be windowless and failing. Review URL: http://codereview.chromium.org/20418 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10088 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for Issue 6431 "Two issues about Vietnamese Spell-Checker".hbono@chromium.org2009-02-201-21/+29
| | | | | | | | | | | | This issue is caused by my stupid mistake in the SpellcheckWordIterator class. Unfortunately, the class does not treat combining characters as word characters for languages which uses combining characters (e.g. Vietnamese, Thai, etc.) because the ICU exemplar set is canonicalized and it does not include combining characters. To fix this, this change decomposes an exemplar set and also mark the decomposed characters (including combining characters) as word characters. BUG=6431 Review URL: http://codereview.chromium.org/21079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10087 0039d316-1c4b-4281-b951-d872f2087c98
* Moves the "common/child_process_info.cc" from "libbrowser.a" to "libcommon.a".hbono@chromium.org2009-02-201-2/+2
| | | | | | | While fixing a build break on Mac caused by r9935, we added "common/child_process_info.cc" to "libbrowser.a" by mistake instead of "libcommon.a" by mistake. Review URL: http://codereview.chromium.org/20450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10086 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux tests. Can't rely on directory iteration order.aa@chromium.org2009-02-201-1/+2
| | | | | | Review URL: http://codereview.chromium.org/20532 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10085 0039d316-1c4b-4281-b951-d872f2087c98
* Complain when an extension does not contain a user script it claims to.aa@chromium.org2009-02-207-6/+54
| | | | | | Review URL: http://codereview.chromium.org/21436 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10084 0039d316-1c4b-4281-b951-d872f2087c98
* Make BrowserWindowGtk work with resource bundle theme images.mmoss@chromium.org2009-02-201-16/+37
| | | | | | | | | | | This is a quick fix to allow chrome to run from outside the build tree (so I can make a demo package). More extensive reworking is underway separately by evanm. Review URL: http://codereview.chromium.org/20530 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10083 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 10080.jam@chromium.org2009-02-2037-561/+656
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10082 0039d316-1c4b-4281-b951-d872f2087c98
* Fix release build breakjam@chromium.org2009-02-201-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10081 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor code from RenderThread and PluginThread and move it to ChildThread. ↵jam@chromium.org2009-02-2037-656/+560
| | | | | | | | | ChildProcess now owns the ChildThread, which removes duplicate code and simplifies things. Clean up ChildProcess, there really was no need for all the templates and statics in it and its subclasses. Review URL: http://codereview.chromium.org/21502 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10080 0039d316-1c4b-4281-b951-d872f2087c98
* I forgot to add #include <functional> to l10n_util.h for using binary_functionjnd@chromium.org2009-02-201-0/+1
| | | | | | | | BUG=7647 Review URL: http://codereview.chromium.org/21533 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10079 0039d316-1c4b-4281-b951-d872f2087c98
* Audio related IPC messages and handlers from browser tohclam@chromium.org2009-02-208-0/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | renderer 1. Added 4 IPC messages and corresponding handlers for audio: - RequestAudioPacket(int stream_id) Browser process is hungry for audio packet, notify renderer process to provide more. - NotifyAudioStreamCreated(int stream_id, SharedMemoryHandler buffer, int len) Notify stream created event and provide buffer for filling in the future. - NotifyAudioStreamStateChanged(int stream_id, enum state, nt info) The internal state of the audio stream has chagned, notify renderer process of the change. int info provides additional information of the change, e.g. platform specific error code. - NotifyAudioStreamVolume(int stream_id, double left, double right) Notify the current volume for the audio stream. 2. Added methods to RenderView for creating audio streams and delegate audio related requests to browser process with IPC. Now the registration and bookkeeping of AudioRendererImpl happens in RenderView (see audio_renderers_). The reason being that the code is almost just an base::IDMap that doesn't worth creating a new class. Review URL: http://codereview.chromium.org/20410 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10078 0039d316-1c4b-4281-b951-d872f2087c98
* We will sort the encoding menu items according to current used UI language ↵jnd@chromium.org2009-02-207-124/+234
| | | | | | | | | | | except the UTF-8 encoding and the recently selectd encodings. For details, see Fix bug http://code.google.com/p/chromium/issues/detail?id=7647 BUG=7647 Review URL: http://codereview.chromium.org/21414 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10077 0039d316-1c4b-4281-b951-d872f2087c98
* Xcode project file changes for audio/video renderers andhclam@chromium.org2009-02-201-0/+26
| | | | | | | | | | | | | | | | | data source. Added entries in xcode project file to build audio/video renderers and data source in Chrome renderer. Files added to xcode: chrome/renderer/media/audio_renderer_impl.cc chrome/renderer/media/audio_renderer_impl.h chrome/renderer/media/video_renderer_impl.cc chrome/renderer/media/video_renderer_impl.h chrome/renderer/media/data_source_impl.cc chrome/renderer/media/data_source_impl.h Review URL: http://codereview.chromium.org/20510 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10076 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a forward declaration that is not being used.jhawkins@chromium.org2009-02-201-1/+0
| | | | | | Review URL: http://codereview.chromium.org/20528 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10075 0039d316-1c4b-4281-b951-d872f2087c98
* Make user_data_manager.cc compile on Posix.jhawkins@chromium.org2009-02-207-47/+24
| | | | | | Review URL: http://codereview.chromium.org/20525 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10074 0039d316-1c4b-4281-b951-d872f2087c98
* Unit tests fixagl@chromium.org2009-02-201-0/+3
| | | | | | | | On Mac, we allocate TransportDIBs from the browser so the unit test which tests tranport DIB allocation will never work. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10073 0039d316-1c4b-4281-b951-d872f2087c98
* Build fixagl@chromium.org2009-02-201-1/+1
| | | | | | | | When working on the comments for r10071 I typoed and changed a 50 to 1. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10072 0039d316-1c4b-4281-b951-d872f2087c98
* Bitmap transportagl@chromium.org2009-02-2045-289/+1242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch reworks bitmap transport on all platforms. Linux and Mac are switched from serialising bitmaps over the IPC channel to using shared memory. All platforms gain a shared memory mapping cache on the host side. The concept of a TransportDIB (device independent bitmap) is added to encapsulate most of the platform specifics. On Linux, we use SysV shared memory. This is because X shared pixmaps, which predate POSIX SHM, can only use SysV. By using SysV between renderer and browser, we open up the possibility to map the shared memory directly from the renderer to the X server. On Mac, we use POSIX shared memory. However, since this needs filesystem access and the Mac renderer is sandboxed from the filesystem, we add two new messages from renderer -> browser: The first, AllocTransportDIB, synchronously creates a transport DIB in the browser and passes a handle back to the renderer. The second, FreeTransportDIB, asynchronously, notifies the browser that it may close its handle to the shared memory region. On Mac, the shared memory regions are identified by their inode numbers on the wire. This means that the browser must keep handles open to all the allocated shared memory regions (since an inode number is insufficient to map the region). The alternative design is that the renderer passes the file descriptor with each paint operation. Since passing file descriptors is special case in the code, I felt that it would be best to minimise their use. Creating and freeing transport DIBs are relatively rare operations relative to paints and scrolls. On Windows, most of the code remains the same, except that Windows now uses the mapping cache added in this patch. This allows the browser to maintain a shared memory mapping for a transport DIB over several paints. Previously it mapped and unmapped for every operation, causing lots of TLB and VM churn. Review URL: http://codereview.chromium.org/21485 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10071 0039d316-1c4b-4281-b951-d872f2087c98
* Port save_package_unittest to posix.estade@chromium.org2009-02-205-99/+104
| | | | | | Review URL: http://codereview.chromium.org/20514 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10070 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a UMR in the IPC message ViewHostMsg_FrameNavigate, which occured as a ↵ananta@chromium.org2009-02-201-0/+1
| | | | | | | | | | | | | | result of revision r10023. This fixes http://code.google.com/p/chromium/issues/detail?id=7869 Bug=7869 Review URL: http://codereview.chromium.org/20519 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10069 0039d316-1c4b-4281-b951-d872f2087c98
* Enable dragging of single tab between two windows.idanan@chromium.org2009-02-204-16/+9
| | | | | | | | | | | To determine if a window is draggable, all that was needed is to call HasAvailableDrag action instead of ContainsExactlyOneTab which was not we wanted anyways. BUG=7861 Review URL: http://codereview.chromium.org/21525 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10068 0039d316-1c4b-4281-b951-d872f2087c98
* Add a line back in that was accidentally removed before the commit. Fixes ↵jhawkins@chromium.org2009-02-201-0/+1
| | | | | | | | the linux build. Review URL: http://codereview.chromium.org/21530 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10066 0039d316-1c4b-4281-b951-d872f2087c98
* Make template_url_fetcher.cc compile on Posix.jhawkins@chromium.org2009-02-203-7/+17
| | | | | | Review URL: http://codereview.chromium.org/20522 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10065 0039d316-1c4b-4281-b951-d872f2087c98
* Add a warning comment to prevent increasingwtc@chromium.org2009-02-201-1/+5
| | | | | | | | | | kCleanupInterval. R=eroman BUG=4606 Review URL: http://codereview.chromium.org/20517 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10064 0039d316-1c4b-4281-b951-d872f2087c98
* Reported crashers indicate that the autofill popup-menu is showing for a ↵jcampan@chromium.org2009-02-191-2/+17
| | | | | | | | | | | | | | detached text field. I am not sure how this could happen as when the text field has to have focus for the autofill popup to show and the popup is closed when it loses focus. This CL is a work-around the crasher. Hopefully someone will trigger the DCHECK and provide more info. BUG=7708 TEST=Exercise the autofill. Review URL: http://codereview.chromium.org/21528 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10063 0039d316-1c4b-4281-b951-d872f2087c98
* Marks the testsky@google.com2009-02-191-2/+3
| | | | | | | | | | | | | | LayoutTests/http/tests/navigation/metaredirect-basic.html as failing. This fails on the buildbot because we dump the image/text before a redirect completes. I'll investigate why that is the case. BUG=none TEST=none TBR=ojan Review URL: http://codereview.chromium.org/20518 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10062 0039d316-1c4b-4281-b951-d872f2087c98
* Defers the testsky@google.com2009-02-191-2/+3
| | | | | | | | | | | | | | | | LayoutTests/http/tests/plugins/local-geturl-from-remote.html. This test has not crashed in the last 10 or so runs. As far as I can tell we actually pass the behavior the test is testing, bug we fail the actual test because our output is different. I've filed bug http://code.google.com/p/chromium/issues/detail?id=7868 to change handling so that we give the same error code. BUG=none TEST=none Review URL: http://codereview.chromium.org/21529 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10061 0039d316-1c4b-4281-b951-d872f2087c98
* If an idle socket has received data unexpectedly, we can'twtc@chromium.org2009-02-1916-14/+118
| | | | | | | | | | | | | | reuse it. Add the IsConnectedAndIdle method, which returns true if the connection is still alive and idle (hasn't received any data unexpectedly). R=eroman BUG=4606 Review URL: http://codereview.chromium.org/21501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10060 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the home button on Linux.evan@chromium.org2009-02-192-9/+39
| | | | | | | | This actually obeys the pref, but we have no way to set the pref. Review URL: http://codereview.chromium.org/24024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10058 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some GCC 4.3 warnings.evan@chromium.org2009-02-192-3/+6
| | | | | | | | BUG=7742 Review URL: http://codereview.chromium.org/20512 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10057 0039d316-1c4b-4281-b951-d872f2087c98
* Enable SSL error handling in Linux again.dkegel@google.com2009-02-1915-487/+650
| | | | | | | | | | Evan, could you review the change since http://codereview.chromium.org/20444 : - load temporary root cert in test_shell Thanks! Review URL: http://codereview.chromium.org/20511 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10055 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselines the testsky@google.com2009-02-193-2/+3
| | | | | | | | | | | | | LayoutTests/css2.1/t1605-c545-txttrans-00-b-ag.html . The failure was the result of text differences. I don't think it's a failure that the image shows red (the upstream version does too). BUG=none TEST=none Review URL: http://codereview.chromium.org/21527 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10054 0039d316-1c4b-4281-b951-d872f2087c98
* Relocate custom button code to its own files, in anticipation of more changes.evan@chromium.org2009-02-195-114/+137
| | | | | | | | (Next is to fix the menu buttons.) Review URL: http://codereview.chromium.org/20509 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10053 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselines the testsky@google.com2009-02-194-73/+73
| | | | | | | | | | | | LayoutTests/http/tests/navigation/metaredirect-basic.html . I believe the previous baseline had our old fonts in it. BUG=none TEST=none Review URL: http://codereview.chromium.org/21526 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10052 0039d316-1c4b-4281-b951-d872f2087c98
* * Add day deletion to historyglen@chromium.org2009-02-193-48/+182
| | | | | | | | * Speed up history viewing by swapping the search depth to day rather than month - it's now orders of magnitude faster for people who visit more than 30 pages a day, and very slightly slower for people who visit less than 10 pages a day. Review URL: http://codereview.chromium.org/21182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10051 0039d316-1c4b-4281-b951-d872f2087c98
* Initial checkin of the HTML downloads UI. It's not yet complete (lacking ↵glen@chromium.org2009-02-1911-2/+1234
| | | | | | | | interface polish). But is enough for us to begin removing the native UI.ojan, please review downloads.htmlpaul, please review everything else Review URL: http://codereview.chromium.org/20110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10050 0039d316-1c4b-4281-b951-d872f2087c98
* Include entries for SOCKS in ProxyResolverMac.ericroman@google.com2009-02-193-80/+92
| | | | | | Review URL: http://codereview.chromium.org/20489 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10049 0039d316-1c4b-4281-b951-d872f2087c98
* Check in C99 compatibility headers for MSVC and FFmpeg.scherkus@chromium.org2009-02-193-1/+37
| | | | | | | | | | MSVC doesn't include <stdint.h> and <inttypes.h>, so in order for MSVC to include FFmpeg headers we need to provide them. The headers aren't complete, but contain the bare minimum for compatibility. Although we could add these types to base/basictypes.h, I'm afraid of people using C99 types by accident (uint8_t instead of uint8). Also, base/basictypes.h includes C++ code which makes including it from an extern "C" section problematic. Review URL: http://codereview.chromium.org/21521 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10048 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in basic FFmpeg import library generator project and public header ↵scherkus@chromium.org2009-02-1932-0/+6915
| | | | | | | | | | files. Similar to V8Bindings_prebuild, ffmpeg.vcproj is a Utility project that calls a .bat file to build stuff. Whenever we need to link to an FFmpeg function, we simply add it to the corresponding .def file and we're set! Review URL: http://codereview.chromium.org/23021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10047 0039d316-1c4b-4281-b951-d872f2087c98
* Defers accessibility layout tests per our discussion the other day.sky@google.com2009-02-191-1/+3
| | | | | | | | | | BUG=none TEST=none TBR=darin Review URL: http://codereview.chromium.org/21524 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10046 0039d316-1c4b-4281-b951-d872f2087c98
* Add a TabContentsContainerGtk to remove the current hack that inserts theerg@google.com2009-02-199-27/+254
| | | | | | | | | | | | RenderViewHostGtk native_view() into the widget heiarchy. (Now we're crashing on cross site instance navigation because it looks like we aren't updating some internal reference to the new renderer.) Review URL: http://codereview.chromium.org/21517 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10045 0039d316-1c4b-4281-b951-d872f2087c98
* save_package.cc: Move UI test special casing to a helper function.estade@chromium.org2009-02-192-31/+68
| | | | | | | This effectively mocks out prompt-spawning win_util calls and keeps untested lines of code to a minimum. Review URL: http://codereview.chromium.org/21492 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10044 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for a flag error introduced yesterday for non-client messages, which weidanan@chromium.org2009-02-191-6/+6
| | | | | | | | | | | | | | | | | | | do not handle actually but if we were to do it, we may have found out than an extra bit was sometimes set. For non-clicent mouse messages, the flag passed to the message procedure should not be ORed with the mouse-event because it contains the result of the last hit test instead. Added flags merged in: http://src.chromium.org/viewvc/chrome?view=rev&revision=9953 Review URL: http://codereview.chromium.org/21519 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10043 0039d316-1c4b-4281-b951-d872f2087c98
* Report malware sub resources and their containing page to thepaulg@google.com2009-02-194-2/+104
| | | | | | | | | | | | | | SafeBrowsing service for faster malware detection. Any malware resource that we detect on a page is reported if the page that contains it is not in the blacklist AND the user has opted in to reporting stats. BUG=7607 (http://crbug.com/7607) Review URL: http://codereview.chromium.org/21474 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10042 0039d316-1c4b-4281-b951-d872f2087c98
* Port TabContentsFactory to posix.estade@chromium.org2009-02-197-35/+35
| | | | | | | Enable back_forward_menu_model_unittest on linux. Review URL: http://codereview.chromium.org/21522 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10041 0039d316-1c4b-4281-b951-d872f2087c98
* Fix status bubble positioning on non-tiled window managers.evan@chromium.org2009-02-191-4/+11
| | | | | | | | | | | gtk_window_get_position includes the window decoration, so it was the wrong function to use. Also, switch to using the requisition rather than getting the top-level size, as that is what we use elsewhere. Review URL: http://codereview.chromium.org/21515 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10040 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a workaround made obsolete by Tony's l10n work.evan@chromium.org2009-02-191-1/+1
| | | | | | Review URL: http://codereview.chromium.org/20503 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10039 0039d316-1c4b-4281-b951-d872f2087c98