summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly removing WS_POPUP after initialization so that users of the ↵tommi@chromium.org2009-02-042-2/+6
| | | | | | | | ExternalTabContainer class can control whether or not it's set. Review URL: http://codereview.chromium.org/19768 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9174 0039d316-1c4b-4281-b951-d872f2087c98
* Enable render_widget_host, render_view_host and backing_store. Remove the ↵pinkerton@chromium.org2009-02-0413-133/+79
| | | | | | | | 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
* Fix two variables that were renamed but no changed on win.jhawkins@chromium.org2009-02-042-3/+2
| | | | | | | | TBR=tony Review URL: http://codereview.chromium.org/21056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9172 0039d316-1c4b-4281-b951-d872f2087c98
* Use gfx::NativeView instead of gfx::NativeWindow where appropriate. Switch ↵jhawkins@chromium.org2009-02-0412-38/+38
| | | | | | to platform-specific types in the implementation files and change variable names to match the header. Based on cl 8783 by Evan Martin. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9171 0039d316-1c4b-4281-b951-d872f2087c98
* Get windowed plugins (Flash) limping along on Linux.evan@chromium.org2009-02-048-13/+686
| | | | | | | | | | | We still crash when you navigate away from the page. (PS: the plan is to unfork the _gtk.cc file once it gets closer to what we want, so you don't need to look at that too closely. I just wanted to check in what I have since it's getting big.) Review URL: http://codereview.chromium.org/19413 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9170 0039d316-1c4b-4281-b951-d872f2087c98
* This test is still failing on the mac. TBR to green builder.ojan@google.com2009-02-041-0/+1
| | | | | | Review URL: http://codereview.chromium.org/21055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9169 0039d316-1c4b-4281-b951-d872f2087c98
* Recommit "Make chrome/renderer/render_main.cc cross-platform + OS X bringup."jeremy@chromium.org2009-02-048-53/+197
| | | | 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-0423-220/+139
| | | | | | | | 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
* Add fast/encoding/char-encoding-mac.html to tests_ignored list even on Mac.jungshik@google.com2009-02-041-1/+3
| | | | | | | | | For sure, we don't intend to support them on Linux/Win and perhaps it's a good idea to be consistent although we can support them by building platform/text/mac. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9166 0039d316-1c4b-4281-b951-d872f2087c98
* Paper over a crash that I think is due to the way we shut down the view ↵ben@chromium.org2009-02-041-0/+7
| | | | | | | | | | hierarchy in a window. http://crbug.com/6260 Review URL: http://codereview.chromium.org/20051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9165 0039d316-1c4b-4281-b951-d872f2087c98
* Autocomplete popup should not handle the Home and end key messages, they ↵jcampan@chromium.org2009-02-042-12/+31
| | | | | | | | | should be left to the text edit to proceed. BUG=4874 Review URL: http://codereview.chromium.org/20046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9164 0039d316-1c4b-4281-b951-d872f2087c98
* Added missing DEPS for fixing buildshclam@chromium.org2009-02-041-0/+1
| | | | | | | | Added +media/audio to chrome/browser/DEPS. Review URL: http://codereview.chromium.org/21053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9163 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some obvious not implemented linux bits so we can crash latertc@google.com2009-02-042-8/+25
| | | | | | | | | | | 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
* This CL adds macro used to track the creation and destructionjcampan@chromium.org2009-02-0411-13/+132
| | | | | | | | | | | of HWNDs, in an attempt to detect potential double-delete. A double-delete of a HWND might be responsible for the crasher http://crbug.com/4714 Note: this CL was previously committed and reverted because it broke the sandbox integration module. Review URL: http://codereview.chromium.org/21032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9161 0039d316-1c4b-4281-b951-d872f2087c98
* Add render_view to the mac build.brettw@google.com2009-02-041-1/+3
| | | | | | Review URL: http://codereview.chromium.org/20049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9160 0039d316-1c4b-4281-b951-d872f2087c98
* AudioRendererHost and unit test fileshclam@chromium.org2009-02-045-0/+340
| | | | | | | | | | | AudioRendererHost provide service in browser process for AudioRenderer to access hardware in render process. There will be one AudioRendererHost for every RenderProcessHost, each one of AudioRendererHost will service multiple AudioRenderer in the related render process. The main functionality of AudioRendererHost is to group audio related services and provide access to AudioRenderer through IPC. It maps an internal stream id to the actual AudioOutputStream which most calls are delegated to. AudioRendererHost::IPCAudioSource is to implement audio data source using IPC. Review URL: http://codereview.chromium.org/21008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9159 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for 8 Indian languages. jungshik@google.com2009-02-0413-9/+41
| | | | | | | | | | | | | | | * Add entries for 8 Indian languages to grd files (<translations> section) * Change the default spellcheck language for new languages to en-US for now. They'll be switched back to the UI language when we have spell check dictionaries for them * Add entries for 8 languages to installer's string offset table. This change will go in after http://codereview.chromium.org/19545 goes in with DEPS file for ICU updated. BUG=4473 Review URL: http://codereview.chromium.org/19761 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9158 0039d316-1c4b-4281-b951-d872f2087c98
* Make render_view_host_manager.cc compile on POSIX.thestig@chromium.org2009-02-044-12/+8
| | | | | | | Get rid of forward-declared enums in render_view_host.h and unneeded headers in render_view_host_manager.h. Review URL: http://codereview.chromium.org/21048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9157 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to fix a crash in case the TabContents gets destroyed somehow.ben@chromium.org2009-02-041-4/+12
| | | | | | | | http://crbug.com/6702 Review URL: http://codereview.chromium.org/20032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9155 0039d316-1c4b-4281-b951-d872f2087c98
* Defers the layout testsky@google.com2009-02-041-2/+3
| | | | | | | | | | | | | LayoutTests/editing/spelling/spelling-linebreak.html as it relies on showing spelling errors, which we've decided to defer for now. BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/20050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9154 0039d316-1c4b-4281-b951-d872f2087c98
* The autocomplete popup menu was using the style of the edit field it is ↵jcampan@chromium.org2009-02-041-6/+18
| | | | | | | | | | associated with. This is wrong, its font should be independent of the edit field. TEST=Open a page with a form that has an input field that uses a huge font. Bring up the autocomplete popup, the items should use a normal size font. BUG=7372,6326 Review URL: http://codereview.chromium.org/20030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9153 0039d316-1c4b-4281-b951-d872f2087c98
* Add RenderWidget to the Mac build and sort the renderer compile sources.brettw@google.com2009-02-041-6/+8
| | | | | | Review URL: http://codereview.chromium.org/20047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9152 0039d316-1c4b-4281-b951-d872f2087c98
* Add a linux stub implementation for resource_bundle.tc@google.com2009-02-046-53/+128
| | | | | | | | | | | | | 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
* Update test lists after the webkit merge (r40124) that jungshik@google.com2009-02-042-3/+3
| | | | | | | | | | | | included the fix for char-encoding.html. fast/encoding/char-encoding.html should pass on all platforms. fast/encoding/char-encoding-mac.html should be ignored on Linux and Windows. Review URL: http://codereview.chromium.org/18700 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9150 0039d316-1c4b-4281-b951-d872f2087c98
* Partial porting of the about handler.brettw@chromium.org2009-02-042-24/+18
| | | | | | Review URL: http://codereview.chromium.org/20045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9149 0039d316-1c4b-4281-b951-d872f2087c98
* Templatizing set_quote_chars method in tokenizer.robertshield@chromium.org2009-02-041-1/+1
| | | | | | Review URL: http://codereview.chromium.org/21045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9148 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Make chrome/renderer/render_main.cc cross-platform + OS X bringup."tc@google.com2009-02-048-204/+60
| | | | | | | | | | | 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
* Include test_web_contents in windows scons build, take 2.estade@chromium.org2009-02-041-2/+5
| | | | | | Review URL: http://codereview.chromium.org/20008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9144 0039d316-1c4b-4281-b951-d872f2087c98
* Marking a few more test statuses on the mac from bot runs.thomasvl@chromium.org2009-02-041-1/+7
| | | | | | Review URL: http://codereview.chromium.org/20043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9143 0039d316-1c4b-4281-b951-d872f2087c98
* Hands off the intercept if 'unpatch' failsjoshia@google.com2009-02-041-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | If IATPatchFunction::Unpatch fails during RestoreImportedFunction it means that we cannot safely unpatch the import address table patch. In this case its better to be hands off the intercept as trying to unpatch again in the destructor of IATPatchFunction is not going to be any safer. In real world, when we patch a plugin's SetCursor, we intercept npswf.dll's IAT entry of SetCursor. It seems that our unpatch fails when the plugin ref count goes to 0. It could be because some one else has patched on top of us. Then, during CRT uninitialization at process shutdown, the destructor of IATPatchFunction is called. It detects that we haven't unpatched yet and tries to unpatch. But at this time the plugin DLL is unloaded and the IAT thunk is invalid. There's no point in trying to unpatch unloaded DLL's IAT :) BUG=6886 Review URL: http://codereview.chromium.org/21044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9142 0039d316-1c4b-4281-b951-d872f2087c98
* Make chrome/renderer/render_main.cc cross-platform + OS X bringup.jeremy@chromium.org2009-02-048-60/+204
| | | | 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-0421-665/+870
| | | | | | | | 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
* Remove non-existent file reference.maruel@chromium.org2009-02-041-94/+12
| | | | | | Review URL: http://codereview.chromium.org/20037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9139 0039d316-1c4b-4281-b951-d872f2087c98
* Add tests that started failing with r9120 to green linux build.ojan@google.com2009-02-041-0/+11
| | | | | | Review URL: http://codereview.chromium.org/21047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9138 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the SecondLaunch test. It fails all the timensylvain@chromium.org2009-02-041-1/+2
| | | | | | | | | now. See bug 5671 Review URL: http://codereview.chromium.org/21046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9137 0039d316-1c4b-4281-b951-d872f2087c98
* Remove test that has been disabled upstream from expected failures toager@chromium.org2009-02-041-1/+2
| | | | | | | | | | make sure that we take another look if we fail it when they enable it again. Annotate test with description and bug number. Review URL: http://codereview.chromium.org/21043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9136 0039d316-1c4b-4281-b951-d872f2087c98
* Annotate a test in test_fixable.ager@chromium.org2009-02-041-1/+3
| | | | | | Review URL: http://codereview.chromium.org/20017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9135 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore all profiler tests in LayoutTests/fast/profiler. These tests are ↵sgjesse@chromium.org2009-02-042-7/+5
| | | | | | | | specific to the JSC profiler and the current approach to profiling with V8 will not make these tests pass. Review URL: http://codereview.chromium.org/21016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9134 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-0461-1534/+1796
| | | | | | | | | | 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
* Fix delete to be delete[].mbelshe@google.com2009-02-041-1/+1
| | | | | | | (fix from craig.schlenter@gmail.com) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9131 0039d316-1c4b-4281-b951-d872f2087c98
* Disable SecondLaunch which started failing after I did a clean build.jam@chromium.org2009-02-041-1/+1
| | | | | | | | I verified that this was broken before my changes by syncing to r9122. Review URL: http://codereview.chromium.org/21036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9130 0039d316-1c4b-4281-b951-d872f2087c98
* This change list fix issue 5926 -- RTL: Text in [New Tab] should be ↵xji@chromium.org2009-02-042-19/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | truncated from RightToLeft instead of LeftToRight. (http://crbug.com/5926) Basically, the issue is that in RTL locales, the thumbnail title etc. text will always be truncated from left, even if they are pure English. For example, "mail.yahoo.com" whose title is "Yahoo! the best web based email!" will be truncated to "best web-based email!". We should be able to truncate the title as "Yahoo! the be...". The fix is to set the direction style of each title in the [New Tab] html page for title to be displayed and truncated correctly. The fix consists 2 part: new_tab_ui.cc in backend and new_tab.html in frontend. 1. new_tab_ui.cc For thumbnail title, recent bookmark title, and recently closed tab titles, originally, we set "title" and "url" into the data we pass to JS in new_tab.html. The fix added the title's "direction" to the data. The direction is by default "ltr" and is set as "rtl" when there is character having strong directionality in the title. 2. new_tab.html 2.1 set text-alignment in thumbnail-title, bookmark container, and recently closed container to be "right" for RTL locales. 2.2 explicitly set title's directionality in the above 3 sections. Test: 1. open Chrome in RTL locales. 2. open the following pages: http://yahoo.com http://gmail.com http://mail.yahoo.com http://wikipedia.com http://msdn.microsoft.com/en-us/default.aspx http://arabic.arabia.msn.com/default.aspx http://he.wikipedia.org/ 3. bookmark, close some of them. 4. open [New Tab] Review URL: http://codereview.chromium.org/19738 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9129 0039d316-1c4b-4281-b951-d872f2087c98
* try to fix mac buildjam@chromium.org2009-02-042-4/+3
| | | | | | Review URL: http://codereview.chromium.org/21035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9128 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ui test failurejam@chromium.org2009-02-041-2/+1
| | | | | | TBR=mpcomplete git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9125 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a passing test.ericroman@google.com2009-02-041-1/+0
| | | | | | | | | | (fixed by 40464:40500 webkit merge). TBR=levin@chromium.org Review URL: http://codereview.chromium.org/20034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9124 0039d316-1c4b-4281-b951-d872f2087c98
* Make it easier/less work/less error-prone to create new IPC channel types ↵jam@chromium.org2009-02-0461-1854/+1535
| | | | | | | | (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
* The first step towards Turkish spell-checker.This is a set of fixes for ↵hbono@chromium.org2009-02-043-15/+36
| | | | | | | | | supporting the Turkish dictionary provided by the tr-spell project (*1).As I wrote in http://crbug.com/4782, this issue consists of three issues: one is against our convert_dict tool, and two are against our hunspell client.(*1) http://code.google.com/p/tr-spell/Unfortunately, the BDIC file converted from this Turkish dictionary is huge (7.1MB) because the dictionary has a lot of affix rules (> 18,000) and the most of the BDIC file is occupied by "AF" lines. BUG=4782 Review URL: http://codereview.chromium.org/18041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9122 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 40474:40500 [chromium-side].ericroman@google.com2009-02-047-35/+38
| | | | | | Review URL: http://codereview.chromium.org/21029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9121 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes MOST of a layout test. Before the font was WAY off because itdsh@google.com2009-02-044-1/+10
| | | | | | | | | | | couldn't find the correct font. Now the font is perfect, but the listbox controls are different. This is expected, so I'm rebaselining the pixel test. The text diff is still off by one number, so I'm leaving that alone until we figure it out. Review URL: http://codereview.chromium.org/23001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9120 0039d316-1c4b-4281-b951-d872f2087c98