summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Factor the SSL state out of the main NavigationEntry into a helper class. Thisbrettw@google.com2008-08-1915-175/+187
| | | | | | | | | | | makes it easier to find stuff and also copy ssl state (just assign). I made one "real" change in web_contents where I copy the entire SSL state now to the new entry rather than just a few fields like the old one. I couldn't figure out why this was necessary: running it shows that this leaves the other two fields in the uninitialized state which seems wrong. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1032 0039d316-1c4b-4281-b951-d872f2087c98
* Update a few forgotten users of the Sys StringPiece conversion functions to ↵deanm@google.com2008-08-191-0/+1
| | | | | | include string_piece.h git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1028 0039d316-1c4b-4281-b951-d872f2087c98
* Use LF for newlines in all DEPS filesmmentovai@google.com2008-08-188-62/+62
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1011 0039d316-1c4b-4281-b951-d872f2087c98
* * Land the fix for issue 1322174 (which is not last-minute) on the trunk. ↵pkasting@google.com2008-08-181-13/+7
| | | | | | | | | | | This has already landed on branch. * Revert one of my earlier fixes to hack some RTL engine names to be "LTR-friendly" to work around bugs in the engine management dialog. We also show these names in _other_ places (like the keyword UI in the omnibox) which are not buggy, so I broke these. * Change the URLs for msn.co.il, which unlike seemingly all other MSN sites is actually really using MSN and not Live Search under the hood, and thus has a different URL layout. BUG=1322174,1329557,1329566 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1003 0039d316-1c4b-4281-b951-d872f2087c98
* First set of changes to start separating Google specific branding from ↵rahulk@google.com2008-08-1825-351/+725
| | | | | | | | | | | | | Chromium. This change mostly tries to modify installer to install Chromium or Google Chrome depending on a compile flag. The goal is to try to isolate all the differences in a single class that can be overridden for customization. There is also a lot of refactoring to make this happen. Some changes are yet to be done but I didn't want to make this change even bigger than it already is. With all these changes the default build should still work as it is (Google Chrome should get installed/uninstalled). The changes yet to be done: - Separating string resources (this is marked by TODO in one of the files) - Generate different chrome.7z (Chromium will not include rlz.dll) for mini_installer BUG=1296800 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@999 0039d316-1c4b-4281-b951-d872f2087c98
* The CL is consist of CLs(1624,1580) for bug:1281734 which are reviewed and ↵jnd@google.com2008-08-1823-43/+139
| | | | | | | | | LG by brett. I just merge them to single one for passing compilation. The CL is to fix bug http://b/issue?id=1281734. FireFox uses encoding used by the original webpage to decode the source of the webpage, Chrome does not. We need to add a new parameter which carries the override encoding when opening a view-source URL for viewing its source. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@997 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up the window icon for app windows, with a throbber etc.beng@google.com2008-08-189-37/+174
| | | | | | Also add support for OTR icon.B=1031854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@992 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup some comment typos.ericroman@google.com2008-08-181-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@984 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly include logging.h in a header that assumed it was already getting ↵maruel@google.com2008-08-161-4/+9
| | | | | | | | included. TBR=nsylvain@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@972 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the --disable-breakpad flag. It had no effect with the CRT asserts ↵maruel@google.com2008-08-161-10/+13
| | | | | | because they were simply disabled. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@970 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break.iyengar@google.com2008-08-152-0/+37
| | | | | | | TBR=joshia git-svn-id: svn://svn.chromium.org/chrome/trunk/src@965 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for PostMessage from the automation framework toiyengar@google.com2008-08-158-0/+64
| | | | | | | the renderer. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@964 0039d316-1c4b-4281-b951-d872f2087c98
* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@963 ↵brettw@google.com2008-08-1516-414/+83
| | | | 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing files from the previous changejoshia@google.com2008-08-153-0/+15
| | | | | | | TBR=iyengar git-svn-id: svn://svn.chromium.org/chrome/trunk/src@959 0039d316-1c4b-4281-b951-d872f2087c98
* Code to facilitate sending message to external host.joshia@google.com2008-08-1512-3/+203
| | | | | | | | | | Note that at this time the parameters to the message are still tentative. The call goes as a sync call from renderer to the browser. From then onwards it happens async and no return value is available yet. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@957 0039d316-1c4b-4281-b951-d872f2087c98
* Cleans up notifications for the NavigationController. There were severalbrettw@google.com2008-08-1516-83/+414
| | | | | | | | | | | | | | | | | | | | | | | | notifications before and some of them were very unclear and misused (STATE_CHANGED). This one, and PRUNED were called unnecessarily in some cases as well. I replaced STATE_CHANGED and INDEX_CHANGED with ENTRY_COMMITTED which is more clear and covers (I think!) all the cases that the callers care about. I added a simple notification testing helper class, and used in the navigation controller unit tests to make sure we get the proper notifications. I had to change NotificationSource/Details to have a = and copy constructor so I can track them easily in my helper. I don't see why this would be bad. As part of this, I got very frustrated recompiling the world whenever navigation_types.h changed. So I removed this dependency from the notification service which everybody includes. Most of the changed files are adding notification_types.h in the .cc file where it's needed. BUG=1325636,1321376,1325779 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@956 0039d316-1c4b-4281-b951-d872f2087c98
* Copy from http://chrome-reviews.prom.corp.google.com/1237 (new gcl ↵timsteele@google.com2008-08-1519-22/+232
| | | | | | | | | | | | | | | | | | | changelist model). Description was: Conditionally include personalization/ code by surrounding the hooks into this module with #ifdef CHROME_PERSONALIZATION in various .h/.cc files. Building with the module requires adding this macro as a preprocessor definition in build/internal/essential.vsprops, and adding it to the VCResourceCompiler tool's command line (using /d). We will try and make this easier in the future. TBR=darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@955 0039d316-1c4b-4281-b951-d872f2087c98
* Step 1 at making Gears run in the renderer process (enabled by switchmpcomplete@google.com2008-08-1517-7/+704
| | | | | | | | | "--gears-in-renderer"). Requires some changes to gears to work. Most things work if you disable the sandbox. One major hole is that update tasks don't report status to the appropriate renderer. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@954 0039d316-1c4b-4281-b951-d872f2087c98
* String update (maybe the last one?)tc@google.com2008-08-151-1/+1
| | | | | | TBR=mal git-svn-id: svn://svn.chromium.org/chrome/trunk/src@943 0039d316-1c4b-4281-b951-d872f2087c98
* Large patch set (159 files total) to cleanup the includes.maruel@google.com2008-08-15145-573/+987
| | | | | | | | | | - Slightly reduce the size of the generated .lib files ~3%. - Reduce the number of implicit and explicit atl and windows includes. hooray! - Help incremental build by reducing the number of unnecessary included files. - Split some template class in two, one base class for the common code and the specialization that inherits from the base class. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@937 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce MessagePump to represent the native message pump used to drive adarin@google.com2008-08-1522-84/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MessageLoop. A MessageLoop now has a MessagePump. This will make it possible to port the MessagePump interface to other platforms as well as to use an IO completion port for our worker threads on Windows. Currently, there is only MessagePumpWin, which attempts to preserve the pre-existing behavior of the MessageLoop. API changes to MessageLoop: 1. MessageLoop::Quit means return from Run when the MessageLoop would otherwise wait for more work. 2. MessageLoop::Quit can no longer be called outside the context of an active Run call. So, things like this: MessageLoop::current()->Quit(); MessageLoop::current()->Run(); are now: MessageLoop::current()->RunAllPending(); 3. MessageLoop::Quit can no longer be called from other threads. This means that PostTask(..., new MessageLoop::QuitTask()) must be used explicitly to Quit across thread boundaries. 4. No protection is made to deal with nested MessageLoops involving watched objects or APCs. In fact, an assertion is added to flag such cases. This is a temporary measure until object watching and APC facilities are removed in favor of a MessagePump designed around an IO completion port. As part of this CL, I also changed the automation system to use an IPC::ChannelProxy instead of an IPC::Channel. This moves the automation IPC onto Chrome's IO thread where it belongs. I also fixed some abuses of RefCounted in the AutomationProvider class. It was deleting itself in some cases! This led to having to fix the ownership model for AutomationProvider, which explains the changes to AutomationProviderList and so on. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@928 0039d316-1c4b-4281-b951-d872f2087c98
* Another string update.mal@google.com2008-08-155-9/+9
| | | | | | | | | | These are the latest. Reggie thinks there is a problem with tc, and that it's missing an upload of 500 strings for Arabic... so there might be one more coming. TBR= tc@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@926 0039d316-1c4b-4281-b951-d872f2087c98
* Make theme change notifications for the renderer originate from the ↵beng@google.com2008-08-1512-37/+26
| | | | | | | | | RenderWidgetHostHWND, not the frame. B=1326392 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@918 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up the system menu in new frames.erg@google.com2008-08-148-1/+139
| | | | | | BUG=1319684 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@908 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that the default download directory exists when thepaulg@google.com2008-08-143-0/+13
| | | | | | | | DownloadManager is initialized. BUG=1324355 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@907 0039d316-1c4b-4281-b951-d872f2087c98
* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@904 ↵sidchat@google.com2008-08-147-31/+170
| | | | 0039d316-1c4b-4281-b951-d872f2087c98
* If a Window is created with specified bounds, make sure its sized to them!beng@google.com2008-08-141-1/+8
| | | | | | B=1031854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@900 0039d316-1c4b-4281-b951-d872f2087c98
* Add 'util' to the list of libs we link into chrome.exe so it getssgk@google.com2008-08-141-2/+3
| | | | | | | the recently-moved google_update_settings.cc. TBR: tc,rahulk git-svn-id: svn://svn.chromium.org/chrome/trunk/src@897 0039d316-1c4b-4281-b951-d872f2087c98
* String updates for ko, fil, and uk.mal@google.com2008-08-143-14/+14
| | | | | | R= tc@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@896 0039d316-1c4b-4281-b951-d872f2087c98
* Some printers advertise longer printable length than the page length. Remove ↵maruel@google.com2008-08-141-3/+3
| | | | | | the DCHECK that was verifying this. I would have liked to had a buffer to accept ~5 inch of difference but at that point, the dpi is not known. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@893 0039d316-1c4b-4281-b951-d872f2087c98
* A first stab at testing browser close behavior when there are unload listenersojan@google.com2008-08-146-0/+86
| | | | | | | | registered. There are still a ton of tests to add as listed in the TODO, but I figured it would be good to get this reviewed first before delving too far into figuring out how to deal with beforeunload dialogs. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@890 0039d316-1c4b-4281-b951-d872f2087c98
* Fix JSC build Broken by r877.rahulk@google.com2008-08-141-0/+1
| | | | | | | TBR=maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/src@883 0039d316-1c4b-4281-b951-d872f2087c98
* Make the FindInPageController implement its own delegate interface forbrettw@google.com2008-08-149-114/+91
| | | | | | | | | | | | | RenderViewHost so that we can get rid of the pass-throughs in WebContents. I removed some redundant checks in WebContents when calling view() for render_view_host() since that internally checks the null-ness of render_view_host(). BUG=1323267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@881 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the scons build (file was moved).tc@google.com2008-08-142-1/+1
| | | | | | TBR=rahulk git-svn-id: svn://svn.chromium.org/chrome/trunk/src@880 0039d316-1c4b-4281-b951-d872f2087c98
* Add End-session handling and app modal dialog handling to BrowserView2/New ↵beng@google.com2008-08-147-8/+82
| | | | | | | | | Frames. B=1031854 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@879 0039d316-1c4b-4281-b951-d872f2087c98
* Moving GoogleUpdateSettings to util. Installer as well as Chrome needs these ↵rahulk@google.com2008-08-1410-27/+20
| | | | | | | | | settings. BUG=1296800 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@877 0039d316-1c4b-4281-b951-d872f2087c98
* Remove confusing and unnecessary information (names, old project references,pamg@google.com2008-08-146-143/+11
| | | | | | | | | | | | | etc.) from jstemplate comments. Do a little trivial code compaction (strip // comments) in compile.sh. BUG=1325652 TEST=make sure about:memory and other about: pages work and don't show bad stuff in their source (ctrl-U or View Source from the Developer menu) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@876 0039d316-1c4b-4281-b951-d872f2087c98
* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@873 ↵awalker@google.com2008-08-149-23/+23
| | | | 0039d316-1c4b-4281-b951-d872f2087c98
* Update chrome strings (he only since you got the other changes lasttc@google.com2008-08-141-2/+2
| | | | | | | | night). TBR=mal git-svn-id: svn://svn.chromium.org/chrome/trunk/src@872 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes two bugs in NavigationController:sky@google.com2008-08-141-5/+3
| | | | | | | | | | | | | | | . TabContentsWasDestroyed wasn't removing from the collector map, resulting. . The collector map wasn't cleared in Destroy when it should have been. This was the cause of random ui failures. BUG=1324555 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@870 0039d316-1c4b-4281-b951-d872f2087c98
* Restore /IMPLIB in the target lists for chrome.exe and chrome.dll,sgk@google.com2008-08-143-10/+41
| | | | | | | and /MAP in the target lists for setup.exe and mini_installer.exe. TBR: tc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@868 0039d316-1c4b-4281-b951-d872f2087c98
* Temporaly added local copy of mjsunit.js to debugger tests.sgjesse@google.com2008-08-142-1/+97
| | | | | | The Chrome debugger tests use mjsunit.js from the V8 test framework. In the transition to a new structure for V8 on code.google.com the location of this file will change. A local copy is added temporaly to the debugger tests directory which can be removed when Chrome starts to use V8 from code.google.com. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@867 0039d316-1c4b-4281-b951-d872f2087c98
* Updated DEPS for V8 to include Visual Studio project file for the thesgjesse@google.com2008-08-143-31/+31
| | | | | | | | | | | | shell sample. Removed the v8_shell project from the Chrome solution and added v8_shell_sample instead. Changed the Chrome JavaScript debugger tests to use v8_shell_sample instead of v8_shell. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@862 0039d316-1c4b-4281-b951-d872f2087c98
* reland safe portions of r625darin@google.com2008-08-143-30/+25
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@861 0039d316-1c4b-4281-b951-d872f2087c98
* More strings (final? not quite).mal@google.com2008-08-146-20/+6
| | | | | | TBR= tc@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@859 0039d316-1c4b-4281-b951-d872f2087c98
* Removing the code which enables using the renderer dib in the browser backingiyengar@google.com2008-08-145-77/+10
| | | | | | | | | store as this hurts performance. Bug=1314407 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@858 0039d316-1c4b-4281-b951-d872f2087c98
* Commit recent string changes to zh_cn.mal@google.com2008-08-141-105/+119
| | | | | | TBR= tc@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@856 0039d316-1c4b-4281-b951-d872f2087c98
* HuntForZombieChromeProcesses() is killing the child process of upgradecpu@google.com2008-08-141-1/+2
| | | | | | | | | | - remove call from MessageWindow::~MessageWindow() - fix bug in zombie killer so it recognizes own childs BUG=1323601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@851 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup spell check file to stop using reference counted pointers without need.jar@google.com2008-08-142-16/+7
| | | | | | | | | | | | | | | | | I don't really believe this will solve anything (in terms of the bug), but it did remove some needless complexity above the crash site in the stack. There is a tiny chance that there is a shutdown race, where the destruction of the containing object raced ahead of the execution (and resulting destruction) of a task. I think the destruction of the task by the containing object would probably be bad anyway, and I doubt that it even happens... so this is all about being cleaner. bug=1318039 r=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@850 0039d316-1c4b-4281-b951-d872f2087c98
* Use %ls instead of %s in wprintf format strings for wchar_t fields.mmentovai@google.com2008-08-1416-57/+66
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@846 0039d316-1c4b-4281-b951-d872f2087c98