summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Reference and create a RenderView when needed.jrg@chromium.org2009-02-061-23/+53
| | | | | | | | | This initiates the landslide of linker hell in Chromium.app, bringing in webkit, v8, and the kitchen sink. Review URL: http://codereview.chromium.org/21123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9335 0039d316-1c4b-4281-b951-d872f2087c98
* Initial Mac port of web_contents_view and render_widget_host_view.avi@google.com2009-02-062-102/+36
| | | | | | Review URL: http://codereview.chromium.org/20124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9330 0039d316-1c4b-4281-b951-d872f2087c98
* Make cert_store.cc compile on Mac and Linux.jhawkins@chromium.org2009-02-061-16/+0
| | | | | | Review URL: http://codereview.chromium.org/20135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9326 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out web_contents_view_gtk.estade@chromium.org2009-02-062-0/+6
| | | | | | | | Also start using the new render_widget_host_view_gtk Review URL: http://codereview.chromium.org/21119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9319 0039d316-1c4b-4281-b951-d872f2087c98
* Enable/disable buttons when the corresponding command updates in the model.pinkerton@chromium.org2009-02-061-0/+2
| | | | | | Review URL: http://codereview.chromium.org/21128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9318 0039d316-1c4b-4281-b951-d872f2087c98
* Remove many more ifdefs around un-used methods to enable more functionality ↵pinkerton@chromium.org2009-02-061-3/+14
| | | | | | | | for mac and linux. Review URL: http://codereview.chromium.org/21118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9304 0039d316-1c4b-4281-b951-d872f2087c98
* Commit my changes that simplify automation message unpacking.jam@chromium.org2009-02-062-15/+48
| | | | | | | TBR=amit Review URL: http://codereview.chromium.org/24002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9299 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Renderer Crash on OS X + update unit test.jeremy@chromium.org2009-02-061-0/+1
| | | | | | | | | | | | | | The problem was that the process shutdown_event_ was created in RenderProcess::GlobalInit() and then deleted in RenderProcess::GlobalCleanup() and was being accessed after it's deletion by the MessageLoop's destructor (which was trying to signal shutdown). MessageLoop was still retaining a reference to it since there was still an IPCSyncChannel listening on it. IPCSyncChannel hadn't stopped listening on it since it was being terminated via OnChannelError. This fix adds code that terminates listening on a channel when a Channel error occurs. Review URL: http://codereview.chromium.org/20114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9295 0039d316-1c4b-4281-b951-d872f2087c98
* Make ResourceMessageFilter compile on Mac. It stubs out a substantial part ofbrettw@google.com2009-02-062-36/+76
| | | | | | | | | the printing. It creates new base functions for converting PIDs to handles, and then closing them (since Windows requires this). This also fixes the formatting of image_util. Review URL: http://codereview.chromium.org/20109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9291 0039d316-1c4b-4281-b951-d872f2087c98
* Stub implementation of gtk browser window.estade@chromium.org2009-02-051-7/+0
| | | | | | Review URL: http://codereview.chromium.org/21107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9276 0039d316-1c4b-4281-b951-d872f2087c98
* Integrate URLPattern with Extension user scripts.aa@chromium.org2009-02-057-1/+275
| | | | | | | | | | Also refactored the UserScript class in UserScriptSlave and the UserScriptInfo structure in UserScriptMaster into a common location. Review URL: http://codereview.chromium.org/21070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9270 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup some forward declared structs that are not being used.thestig@chromium.org2009-02-052-4/+5
| | | | | | | Also do some lint removal while I'm at it. Review URL: http://codereview.chromium.org/20107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9269 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: get us to the point where we crash at browser->window()->Show()agl@chromium.org2009-02-052-0/+21
| | | | | | | Review URL: http://codereview.chromium.org/20098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9257 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up tab close menu item and plumb tab closing scaffolding through UI ↵pinkerton@chromium.org2009-02-052-15/+55
| | | | | | | | layer on Mac. Fix several unregistered prefs issues from other checkins. Review URL: http://codereview.chromium.org/21092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9250 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linker error on Linux & Mac by stubbing out a function.brettw@chromium.org2009-02-051-0/+3
| | | | | | Review URL: http://codereview.chromium.org/20100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9247 0039d316-1c4b-4281-b951-d872f2087c98
* Build bustage fixes, moved this file, didn't update the include.brettw@chromium.org2009-02-051-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9246 0039d316-1c4b-4281-b951-d872f2087c98
* Take out unnecessary include that I added in a failed effort to fix the ↵jam@chromium.org2009-02-052-1/+1
| | | | | | | | linux/mac builds. Review URL: http://codereview.chromium.org/20089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9236 0039d316-1c4b-4281-b951-d872f2087c98
* Port the ResourceDispatcherHost to Mac and linux.paul@chromium.org2009-02-052-41/+271
| | | | | | Review URL: http://codereview.chromium.org/20073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9231 0039d316-1c4b-4281-b951-d872f2087c98
* Add some more scaffolding, enable some browser_main code on linux.estade@chromium.org2009-02-052-7/+1
| | | | | | Review URL: http://codereview.chromium.org/21067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9227 0039d316-1c4b-4281-b951-d872f2087c98
* Add in NavigationController to linux and mac. pinkerton@chromium.org2009-02-052-116/+69
| | | | | | Review URL: http://codereview.chromium.org/21064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9226 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the dependency checker tool. Rules for a directory did modify their ↵stoyan@chromium.org2009-02-052-3/+19
| | | | | | | | | | directory parent rules. Using copy.copy() solves the problem.Additional fix when "allow-current-directory" rules was not applied if DEPS file is missing. Updated few DEPS file with reasonable rules. To prevent tree closing other dependencies are added. These need to be either legitimated or dependency removed. Review URL: http://codereview.chromium.org/21025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9221 0039d316-1c4b-4281-b951-d872f2087c98
* Usual round of porting in chrome/phajdan.jr@chromium.org2009-02-051-25/+5
| | | | | | | | | | | | | | | | - make following unit tests run and pass on Linux: browser/cache_manager_host_unittest.cc browser/google_url_tracker_unittest.cc - trivial cleanups needed for GCC - remove CacheManagerHost and ResolveProxyMsgHelper from temporary scaffolding stubs and use real implementations instead - update chrome.xcodeproj to reflect above change Review URL: http://codereview.chromium.org/20057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9215 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing build break.thomasvl@chromium.org2009-02-051-2/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9211 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac/linux build break.jam@chromium.org2009-02-051-0/+1
| | | | | | Review URL: http://codereview.chromium.org/21073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9210 0039d316-1c4b-4281-b951-d872f2087c98
* Finish taking out render_messages.h includes from headers.jam@chromium.org2009-02-058-155/+122
| | | | | | Review URL: http://codereview.chromium.org/20072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9209 0039d316-1c4b-4281-b951-d872f2087c98
* Make mock_render_process_host, test_web_contents, and testing_profile ↵thestig@chromium.org2009-02-051-4/+1
| | | | | | | | compile on POSIX. Review URL: http://codereview.chromium.org/23005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9200 0039d316-1c4b-4281-b951-d872f2087c98
* Convert webkit_glue::GetLocalizedString to return a string16tc@google.com2009-02-051-2/+4
| | | | | | | | | | instead of a wstring. Convert the linux data pack files to pack message strings as utf16 instead of utf8. Review URL: http://codereview.chromium.org/20060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9193 0039d316-1c4b-4281-b951-d872f2087c98
* Commiting the changes from my previous cl that are specific to not including ↵jam@chromium.org2009-02-044-6/+11
| | | | | | | | | | render_messages.h/plugin_message.h unless necessary. TBR=mpcomplete Review URL: http://codereview.chromium.org/20059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9189 0039d316-1c4b-4281-b951-d872f2087c98
* Add a very simple test for renderer_main, in the interests of bringup.jeremy@chromium.org2009-02-041-5/+5
| | | | | | | | Also bring up ipc_sync_channel_unittest on OS X. Review URL: http://codereview.chromium.org/21060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9184 0039d316-1c4b-4281-b951-d872f2087c98
* Make autofill_manager compile on POSIX.thestig@chromium.org2009-02-041-8/+0
| | | | | | Review URL: http://codereview.chromium.org/22002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9176 0039d316-1c4b-4281-b951-d872f2087c98
* Enable render_widget_host, render_view_host and backing_store. Remove the ↵pinkerton@chromium.org2009-02-042-122/+51
| | | | | | | | RenderWidgetHostManager from the scaffolding. Review URL: http://codereview.chromium.org/20044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9173 0039d316-1c4b-4281-b951-d872f2087c98
* Recommit "Make chrome/renderer/render_main.cc cross-platform + OS X bringup."jeremy@chromium.org2009-02-042-13/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9168 0039d316-1c4b-4281-b951-d872f2087c98
* Commit just the changes to make creating new IPC channel types easier.jam@chromium.org2009-02-0417-175/+118
| | | | | | | | TBR=mpcomplete Review URL: http://codereview.chromium.org/21052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9167 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some obvious not implemented linux bits so we can crash latertc@google.com2009-02-041-3/+18
| | | | | | | | | | | in Hammer/chrome. Now we crash in message loop code. Review URL: http://codereview.chromium.org/21033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9162 0039d316-1c4b-4281-b951-d872f2087c98
* Add a linux stub implementation for resource_bundle.tc@google.com2009-02-045-46/+127
| | | | | | | | | | | | | This should work except for the Load calls that should load .pak files. We don't generate .pak files yet so I left that code blank for now. Mac doesn't compile this yet and is still figuring out how they want to handle resources. Review URL: http://codereview.chromium.org/21020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9151 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Make chrome/renderer/render_main.cc cross-platform + OS X bringup."tc@google.com2009-02-042-5/+13
| | | | | | | | | | | This reverts commit r9141. TBR=jeremy Review URL: http://codereview.chromium.org/21049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9145 0039d316-1c4b-4281-b951-d872f2087c98
* Make chrome/renderer/render_main.cc cross-platform + OS X bringup.jeremy@chromium.org2009-02-042-13/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9141 0039d316-1c4b-4281-b951-d872f2087c98
* Bring many of the template_url classes into the fold for the Mac. Note that ↵avi@google.com2009-02-048-57/+61
| | | | | | | | template_url_model_unittest isn't there; it requires a working database first. Review URL: http://codereview.chromium.org/19714 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9140 0039d316-1c4b-4281-b951-d872f2087c98
* Check in the files that were deleted but not readded in my revert (forgot to ↵jam@chromium.org2009-02-043-0/+64
| | | | | | do so after doing the reverse patch). git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9133 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my change to get the tree green. Not sure why the tests became ↵jam@chromium.org2009-02-0420-1171/+1148
| | | | | | | | | | flaky. I'll try to check them in again but in smaller chunks tomorrow. TBR=mpcomplete Review URL: http://codereview.chromium.org/21039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9132 0039d316-1c4b-4281-b951-d872f2087c98
* try to fix mac buildjam@chromium.org2009-02-041-0/+3
| | | | | | Review URL: http://codereview.chromium.org/21035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9128 0039d316-1c4b-4281-b951-d872f2087c98
* Make it easier/less work/less error-prone to create new IPC channel types ↵jam@chromium.org2009-02-0422-1212/+1173
| | | | | | | | (i.e. renderer/plugin).Instead of having each message file include the internal one several times with different ifdefs, move that logic to ipc_message_macros.h. Also make the message class starting IDs come from an enum to ensure we don't use a value twice. I simplified the logging code a bit so we don't need X_messages.cc files.Clean up places that we were doing manual packing/unpacking. Most of this was in the automation code. I added a few new template functions to make it convenient to read the parameters from a message, and updated the code to use them.I also removed unnecessary includes of render/plugin_messages.h from headers to speed up compiling.I moved the traits of IPC structs beside the struct definition to make it more apparent what's going on, so we avoid people modifying the struct and forgetting to update the traits.Amit: please look at chrome/test/automation/tab_proxy.ccMarc-Antoine: chrome/browser/printing/*Matt: the rest Review URL: http://codereview.chromium.org/20015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9123 0039d316-1c4b-4281-b951-d872f2087c98
* Improved OTR avatar and popup window rendering. Neither one precisely ↵pkasting@chromium.org2009-02-042-3/+10
| | | | | | | | | | | matches the old code but IMO each looks better. Once again, the aero_glass_non_client_view changes here are hackish, and will get cleaned up later. BUG=5054 Review URL: http://codereview.chromium.org/20011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9116 0039d316-1c4b-4281-b951-d872f2087c98
* Add site_instance, navigation_entry, browsing_instance, ↵pinkerton@chromium.org2009-02-042-48/+94
| | | | | | | | renderer_security_policy, and render_widget_helper to mac and linux builds. Adds a hash for Profile so it can be put into a hash table on gcc. Review URL: http://codereview.chromium.org/21021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9115 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line flag to load a single extension from an arbitrary ↵erikkay@google.com2009-02-032-0/+4
| | | | | | | | (non-versioned) directory. This is designed for developers to iterate on extension development without having to go through the install process. Review URL: http://codereview.chromium.org/20020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9107 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out platform specific chrome_paths calls into platform specific files.tc@google.com2009-02-037-65/+166
| | | | | | | Review URL: http://codereview.chromium.org/19760 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9088 0039d316-1c4b-4281-b951-d872f2087c98
* Add NOTIMPLEMENTED(); in temporary scaffolding stubs.phajdan.jr@chromium.org2009-02-032-247/+558
| | | | | | | | | More and more things link, but we need some indication that it's just smoke and mirrors. Review URL: http://codereview.chromium.org/19754 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9087 0039d316-1c4b-4281-b951-d872f2087c98
* From agl. Cleaned up version of issue 19046.thestig@chromium.org2009-02-033-16/+70
| | | | | | | | | | | | | POSIX: bitmap data on the wire On Windows, when drawing a given rect in the renderer, we allocate memory for the bitmap, render and send a shared memory handle across IPC. In the browser, we bitblit the shared memory to the backing store and draw it to the screen. In the long term, on Linux, we want the backingstore to be shared with both X and the renderer. The renderer then draws directly to that store, sends an IPC to the browser and the browser sends a message to X to bitblit to the display. Since only cache a few backing stores we'll need messages from the browser to tell the renderer to attach and detatch from shared memory regions as they get created and evicted. In the short term, however, to get something that works, we make a BitmapWireData typedef. This will be a shared memory region on Windows, as before, and on POSIX we'll be sending the bitmap data over the wire. Obviously this'll be pretty slow but it'll work sooner. Review URL: http://codereview.chromium.org/19491 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9065 0039d316-1c4b-4281-b951-d872f2087c98
* fix output that changed due to clipboard changetc@google.com2009-02-031-2/+2
| | | | | | | | TBR=ojan Review URL: http://codereview.chromium.org/22001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9063 0039d316-1c4b-4281-b951-d872f2087c98
* first stab at scaffolding WebContents.pinkerton@chromium.org2009-02-033-40/+426
| | | | | | Review URL: http://codereview.chromium.org/19757 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9055 0039d316-1c4b-4281-b951-d872f2087c98