summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* IB outlets only get filled in during awakening, not initialization. D'oh!avi@chromium.org2009-02-122-1/+4
| | | | | | Review URL: http://codereview.chromium.org/20302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9681 0039d316-1c4b-4281-b951-d872f2087c98
* Step one on fixing the dynamic run.evan@chromium.org2009-02-121-0/+6
| | | | | | | Review URL: http://codereview.chromium.org/21295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9679 0039d316-1c4b-4281-b951-d872f2087c98
* Undo the double listing of include paths (ie-only add the extra values, don'tthomasvl@chromium.org2009-02-121-18/+0
| | | | | | | list what's coming in via var sub in the first place). Review URL: http://codereview.chromium.org/20309 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9677 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Rename DescriptorSet to FileDescriptorSetagl@chromium.org2009-02-1212-286/+58
| | | | | | | This is just following up on a code review promise. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9676 0039d316-1c4b-4281-b951-d872f2087c98
* Fix comment of silent-dump-on-dcheck.huanr@chromium.org2009-02-121-2/+3
| | | | | | Review URL: http://codereview.chromium.org/20307 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9675 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Make copies of descriptor_set.[cc|h] in preparation of a renameagl@chromium.org2009-02-122-0/+226
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9674 0039d316-1c4b-4281-b951-d872f2087c98
* Implement UpdateToolbar from BrowserWindow on Mac without dragging in too ↵pinkerton@chromium.org2009-02-127-1/+57
| | | | | | | | much of the Omnibar code. Review URL: http://codereview.chromium.org/20306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9673 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add chrome/browser/ssl/ssl_manager.cc to the build."tc@google.com2009-02-126-91/+56
| | | | | | | | | This reverts commit 9656. Review URL: http://codereview.chromium.org/20308 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9672 0039d316-1c4b-4281-b951-d872f2087c98
* Porting in chrome/phajdan.jr@chromium.org2009-02-129-37/+14
| | | | | | | | | | | | | | - make following unit tests compile and pass on Linux: browser/history/expire_history_backend_unittest.cc browser/history/history_backend_unittest.cc browser/history/history_querying_unittest.cc browser/history/starred_url_database_unittest.cc - #include cleanup (less #ifdefs, more explicit deps) Review URL: http://codereview.chromium.org/21247 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9671 0039d316-1c4b-4281-b951-d872f2087c98
* fix mac buildtony@chromium.org2009-02-121-1/+27
| | | | | | | | | | | | The app target needs to have $(CONFIGURATION_TEMP_DIR)/generated/grit in the include path. TBR=awalker Review URL: http://codereview.chromium.org/20305 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9669 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bugs related to making Chrome default browser on Vista and also do some ↵kuchhal@chromium.org2009-02-125-82/+57
| | | | | | | | | | | | | | | | cleanup. - Stupid bug where we were failing if there was a space or '-' in the path to setup.exe - Some application still read default browser from Software\Classes\http even on Vista so set that - Some refactoring of apppaths changes to make a method private that doesn't need to be public. - Move constants in shell_util where rest of the shell related constants are. - Remove duplicate attempts to create ChromeHTML key BUG=7568,6732,6504 Review URL: http://codereview.chromium.org/21259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9667 0039d316-1c4b-4281-b951-d872f2087c98
* fix linux buildtc@google.com2009-02-121-1/+1
| | | | | | | | | we need the debugger lib on linux Review URL: http://codereview.chromium.org/20303 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9666 0039d316-1c4b-4281-b951-d872f2087c98
* Add some options to the EOL cleanup script that were handy when dealing withpamg@google.com2009-02-121-18/+47
| | | | | | | | | | | | CRLFs in WebKit merges: --force-lf and --file-list. The latter changes the default interpretation of command-line arguments from a file holding a list of files to check, to a file that itself should be checked. BUG=none TEST=none Review URL: http://codereview.chromium.org/21251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9665 0039d316-1c4b-4281-b951-d872f2087c98
* Second try of landing chrome_resources project. Changes from last time:tc@google.com2009-02-1274-808/+515
| | | | | | | | | | | | | | | | | | | | | | | | | | - fix scons dependencies by adding a target for grit/theme_resources.h - fix mac build by adding grit to unittest include path - fix check deps by adding rules for /grit dir. Create a chrome_resources.vcproj that holds grd files that hold non-string resources. Put browser_resources.grd into this vcproj. Port theme_resources.rc/theme_resources.h to theme_resources.grd and put it in the vcproj too. I did a find/replace on the theme_resources include line. Modify grit so header files go in grit_generated_resources/grit/ so the include path can be cleaner. I'll migrate the others in follow up patches. theme_resources.rc had a conditional include of distribution_resources.rc so I had to add support for preprocessor defines to visual studio. Review URL: http://codereview.chromium.org/24011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9664 0039d316-1c4b-4281-b951-d872f2087c98
* Drop some libraries that don't work yet on Linux.evan@chromium.org2009-02-121-4/+11
| | | | | | | Review URL: http://codereview.chromium.org/21287 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9662 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out ~ScopableCPRequest().evan@chromium.org2009-02-121-0/+5
| | | | | | | Review URL: http://codereview.chromium.org/20295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9660 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome/browser/ssl/ssl_manager.cc to the build.tc@google.com2009-02-126-56/+91
| | | | | | | Review URL: http://codereview.chromium.org/21275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9656 0039d316-1c4b-4281-b951-d872f2087c98
* This is an attempt at finding the reason for the page_cycler slowness caused bymad@chromium.org2009-02-1236-171/+331
| | | | | | | | | | | | | | | the new resize corner. Local experiment led me to believe that it is WebKit that is slower when we specify a resize corner area. To validate this hypothesis, I always return an empty rect to WebKit, but I still compute and push the rect to the render widget and I also draw the bitmap even if this will cause it to be drawn on top of the scroll bars when there is only one. TBR=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9654 0039d316-1c4b-4281-b951-d872f2087c98
* Validate HWNDs that the renderer asks to be moved.deanm@chromium.org2009-02-121-0/+7
| | | | | | | | | | We make sure any window is a child of the render view window before moving it. BUG=7590 Review URL: http://codereview.chromium.org/24012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9651 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress error dialog in headless mode whenhuanr@chromium.org2009-02-122-1/+4
| | | | | | | | running with --enable-dcheck. Review URL: http://codereview.chromium.org/20292 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9649 0039d316-1c4b-4281-b951-d872f2087c98
* Add the first unit-test that tests our IME backend.hbono@chromium.org2009-02-122-0/+56
| | | | | | | | | This change is the first unit-test that tests our IME backend in the RenderWidget class. Thanks to the unit-test framework for the RenderView class created by Carlos and Brett, we can now implement this unit test. (I'm not sure I use this framework correctly, though. Please blame me if I use it improperly.) Currently, this IME test just tests if our IME code can properly activate (or de-activate) IMEs for an <input> element and the initial position of a candidate window. I'm going to add more practical cases to this test. Review URL: http://codereview.chromium.org/20014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9648 0039d316-1c4b-4281-b951-d872f2087c98
* Make fav_icon_helper compile on POSIX, remove some unneeded #includes.thestig@chromium.org2009-02-127-22/+25
| | | | | | Review URL: http://codereview.chromium.org/20286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9647 0039d316-1c4b-4281-b951-d872f2087c98
* For now, turn off the Mac sandbox.jrg@chromium.org2009-02-121-0/+5
| | | | | | | | (WebKit fonts choke with it on) Review URL: http://codereview.chromium.org/20288 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9645 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Clean up DescriptorSetagl@chromium.org2009-02-126-63/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | In general, the IPC Message objects are const and the iterator state is a void* kept by the code which is doing the deserialisation. However, now that we have an array of file descriptors, the index of the next file descriptor is part of the iteration state and is kept /inside/ the Message (in the DescriptorSet). This means that it's a mutable member, which is never too nice and also, since the logging functions want to parse a message multiple times, we've had to turn off returning an error when one runs off the end of the array. Also, the Message copy constructor and assignment function alters the /source/ Message, by stealing all of its descriptors This patch encodes the index of each file descriptor on the wire. So the state is moved from inside the DescriptorSet into the serialised data. Additionally, the DescriptorSet is made into a lazyily created scoped_refptr, solving the problems with copying messages. Review URL: http://codereview.chromium.org/20275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9644 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: basic IPC loggingagl@chromium.org2009-02-128-42/+135
| | | | | | | | | | For the moment, we enable IPC logging with an environment variable (CHROME_IPC_LOGGING) and log everything to stderr. Review URL: http://codereview.chromium.org/20156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9643 0039d316-1c4b-4281-b951-d872f2087c98
* OSX: Workaround CMSG_FIRSTHDR bugagl@chromium.org2009-02-121-17/+41
| | | | | | | | | | | | | | | | | | | | | | | On OSX, CMSG_FIRSTHDR will return a pointer into the control buffer space when controllen == 0. We work around by testing for a non-zero controllen before trying to parse control messages. Test case: int main() { struct msghdr msg; msg.msg_control = &msg; msg.msg_controllen = 0; if (CMSG_FIRSTHDR(&msg)) printf("Bug found!\n"); } Review URL: http://codereview.chromium.org/21283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9640 0039d316-1c4b-4281-b951-d872f2087c98
* Remove VisitedLink NOTIMPLEMENTED() now that history is fixed.evan@chromium.org2009-02-121-10/+0
| | | | | | | Review URL: http://codereview.chromium.org/20291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9638 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak caused by AudioRenedererHost.hclam@chromium.org2009-02-123-5/+10
| | | | | | | | | | | | BUG=7608 AudioManager::CreateAudioManager() saves the instance in a static variable and let it leak, so don't call it until there's a better lifetime management of it. Review URL: http://codereview.chromium.org/21277 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9636 0039d316-1c4b-4281-b951-d872f2087c98
* Change url wstrings to GURLSestade@chromium.org2009-02-1230-157/+161
| | | | | | Review URL: http://codereview.chromium.org/20273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9635 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Create a chrome_resources.vcproj that holds grd files that hold"tc@google.com2009-02-1271-511/+807
| | | | | | | | | | This reverts commit r9631. TBR=deanm Review URL: http://codereview.chromium.org/23023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9634 0039d316-1c4b-4281-b951-d872f2087c98
* Make tab_restore_service.cc compile on Mac and Linux.jhawkins@chromium.org2009-02-128-16/+25
| | | | | | Review URL: http://codereview.chromium.org/23022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9632 0039d316-1c4b-4281-b951-d872f2087c98
* Create a chrome_resources.vcproj that holds grd files that holdtc@google.com2009-02-1271-807/+511
| | | | | | | | | | | | | | | | | | | | | non-string resources. Put browser_resources.grd into this vcproj. Port theme_resources.rc/theme_resources.h to theme_resources.grd and put it in the vcproj too. I did a find/replace on the theme_resources include line. Modify grit so header files go in grit_generated_resources/grit/ so the include path can be cleaner. I'll migrate the others in follow up patches. theme_resources.rc had a conditional include of distribution_resources.rc so I had to add support for preprocessor defines to visual studio. Review URL: http://codereview.chromium.org/20247 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9631 0039d316-1c4b-4281-b951-d872f2087c98
* Make previous change actually work.evan@chromium.org2009-02-121-27/+1
| | | | | | | Review URL: http://codereview.chromium.org/25002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9629 0039d316-1c4b-4281-b951-d872f2087c98
* Fix totally broken include set.evan@chromium.org2009-02-121-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9628 0039d316-1c4b-4281-b951-d872f2087c98
* Blind build fix?evan@chromium.org2009-02-121-0/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9627 0039d316-1c4b-4281-b951-d872f2087c98
* janitorial: browser_render_process_host header/lint cleanup. (try 2)thestig@chromium.org2009-02-1113-25/+31
| | | | | | Review URL: http://codereview.chromium.org/21272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9624 0039d316-1c4b-4281-b951-d872f2087c98
* Bring history.cc and dependents into the build.evan@chromium.org2009-02-117-85/+43
| | | | | | | Review URL: http://codereview.chromium.org/20284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9622 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor plugin process code in the browser process so that the ↵jam@chromium.org2009-02-1125-600/+549
| | | | | | | | browser/about:memory/task manager/metrics code doesn't depend on PluginProcessHost pointers. In a future changelist I'll add one central child process registry in the browser process. Review URL: http://codereview.chromium.org/20196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9621 0039d316-1c4b-4281-b951-d872f2087c98
* Remove leaks that are now fixed.rvargas@google.com2009-02-111-112/+0
| | | | | | | | BUG=7374 Review URL: http://codereview.chromium.org/20270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9617 0039d316-1c4b-4281-b951-d872f2087c98
* Enable the ResourceDispatcherHost unittest for Mac and linux.paul@chromium.org2009-02-112-1/+4
| | | | | | Review URL: http://codereview.chromium.org/23017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9615 0039d316-1c4b-4281-b951-d872f2087c98
* Renderer and test shell now handle --enable-video with SetMediaPlayerAvailable.scherkus@chromium.org2009-02-111-0/+5
| | | | | | Review URL: http://codereview.chromium.org/20268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9614 0039d316-1c4b-4281-b951-d872f2087c98
* Port CrossSiteResourceHandler to Mac and Linux.paul@chromium.org2009-02-114-42/+3
| | | | | | | | (Was http://codereview.chromium.org/23019) Review URL: http://codereview.chromium.org/20274 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9612 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Change FD passing test to send many messagesagl@chromium.org2009-02-111-17/+26
| | | | | | | | | | | | (This is mostly an adoption of Jeremy's patch.) Also, switch from using /dev/random to /dev/zero. Reading from /dev/random can drain the system entropy pool and block. Review URL: http://codereview.chromium.org/21269 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9609 0039d316-1c4b-4281-b951-d872f2087c98
* Make session_service.cc compile on Mac and Linux.jhawkins@chromium.org2009-02-119-28/+105
| | | | | | Review URL: http://codereview.chromium.org/23018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9608 0039d316-1c4b-4281-b951-d872f2087c98
* Make it clear the dictionary .delta files are included under the existing ↵ifette@google.com2009-02-111-1/+1
| | | | | | | | GPL/LGPL/MPL tri-license Review URL: http://codereview.chromium.org/20283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9607 0039d316-1c4b-4281-b951-d872f2087c98
* Implement more of the TabContentsDelegate to hook up loading URLs from the ↵pinkerton@chromium.org2009-02-115-46/+114
| | | | | | | | location bar where there is UI to do so. Review URL: http://codereview.chromium.org/21264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9601 0039d316-1c4b-4281-b951-d872f2087c98
* Call InitWebCoreSystemInterface() on OS X.jeremy@chromium.org2009-02-111-0/+3
| | | | | | Review URL: http://codereview.chromium.org/21266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9600 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 9594.thestig@chromium.org2009-02-1112-29/+25
| | | | | | Review URL: http://codereview.chromium.org/20276 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9599 0039d316-1c4b-4281-b951-d872f2087c98
* Fetch SDCH dictionary as soon as current URL fetch completesjar@chromium.org2009-02-112-5/+7
| | | | | | | | | | | | | Rather than just waiting for 15 seconds, this patch fetches the "suggested dicitionary" as soon as the current download completes. This avoids stealing bandwidth from the original download, but works as quickly as possible to get the dictionary, so that the user can receive compression results asap. r=wtc Review URL: http://codereview.chromium.org/20254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9597 0039d316-1c4b-4281-b951-d872f2087c98
* Remove final traces of IE from cross-platform password manager.evan@chromium.org2009-02-113-1/+12
| | | | | | | | | (It's still there for Windows, but not on other platforms.) Review URL: http://codereview.chromium.org/21168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9596 0039d316-1c4b-4281-b951-d872f2087c98