summaryrefslogtreecommitdiffstats
path: root/chrome/browser
Commit message (Collapse)AuthorAgeFilesLines
* Temporarily disable the printing test while I find out what I did wrong.maruel@chromium.org2009-02-051-2/+2
| | | | | | | TBR=brettw Review URL: http://codereview.chromium.org/20105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9262 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: get us to the point where we crash at browser->window()->Show()agl@chromium.org2009-02-051-0/+6
| | | | | | | Review URL: http://codereview.chromium.org/20098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9257 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add a big, stubby RenderWidgetHostViewagl@chromium.org2009-02-054-0/+287
| | | | | | | | | | | This implementation is a lot of NOTIMPLEMENTEDs with a little bit of drawing code. It provides a skeleton for future implementation efforts and does, at least, build. Review URL: http://codereview.chromium.org/21091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9253 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up tab close menu item and plumb tab closing scaffolding through UI ↵pinkerton@chromium.org2009-02-052-1/+6
| | | | | | | | 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 the build due to conflict with Paul's changebrettw@chromium.org2009-02-051-1/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9245 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the build from my previous file move.brettw@chromium.org2009-02-052-2/+2
| | | | | | Review URL: http://codereview.chromium.org/20096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9243 0039d316-1c4b-4281-b951-d872f2087c98
* Move resource_message_filter and resource_request_details to the renderer_host.brettw@chromium.org2009-02-0517-115/+121
| | | | | | | | | | Make the repost form warning portable by abstracting the show function from the view. Rename the Windows repost form warning and move it to browser/views. This also fixes a comment in browser_process.h Review URL: http://codereview.chromium.org/20066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9242 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly spawn render process for posix.pinkerton@chromium.org2009-02-052-1/+24
| | | | | | Review URL: http://codereview.chromium.org/20088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9240 0039d316-1c4b-4281-b951-d872f2087c98
* Remove black magic and >100 lines. Unhook a lot of dead code.maruel@chromium.org2009-02-059-321/+73
| | | | | | Review URL: http://codereview.chromium.org/21057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9237 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compiler warning with GCC 4.3. Patch by Craig Schlenter (see ↵pkasting@chromium.org2009-02-051-2/+2
| | | | | | http://codereview.chromium.org/20075 ), r=me. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9232 0039d316-1c4b-4281-b951-d872f2087c98
* Port the ResourceDispatcherHost to Mac and linux.paul@chromium.org2009-02-0511-23/+63
| | | | | | 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-051-8/+15
| | | | | | 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-059-17/+41
| | | | | | Review URL: http://codereview.chromium.org/21064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9226 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Backing store scrolling.agl@chromium.org2009-02-051-2/+132
| | | | | | | | | | | | | | | | | | | | | | | | | In the long term, we plan to get rid of all this code and "do things properly". However, for now we are implementing several shortcuts to get something which can render. Part one of this was BitmapWireData (r9065) which transported updates from the renderer over the IPC channel. This patch implements the fast-scrolling path, slowly. It might seem that this is something which Skia should be doing. However, copying from one bitmap to the same bitmap needs to be handled very differently from bitblitting from one to another to save writing to locations that you'll need to read from later on. I can't see any indication in the Skia code that it handles this case so, in order to get something working quickly, we write our own, small, bitblitter. Since this code hasn't been tested, it's almost certainly buggy. However, we don't get to test it until we get a little more of the browser up and running. Review URL: http://codereview.chromium.org/21050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9223 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the dependency checker tool. Rules for a directory did modify their ↵stoyan@chromium.org2009-02-051-0/+7
| | | | | | | | | | 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
* Fix unintentional edit from r9218.kuchhal@chromium.org2009-02-051-1/+1
| | | | | | Review URL: http://codereview.chromium.org/21083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9219 0039d316-1c4b-4281-b951-d872f2087c98
* Open Chrome Window instead of tab when it is launched from a shortcut.kuchhal@chromium.org2009-02-051-4/+7
| | | | | | | | | BUG=7356 Review URL: http://codereview.chromium.org/20074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9218 0039d316-1c4b-4281-b951-d872f2087c98
* Usual round of porting in chrome/phajdan.jr@chromium.org2009-02-054-29/+28
| | | | | | | | | | | | | | | | - 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
* Remove the stale ifdef/comment since the it's using the command line class nowthomasvl@chromium.org2009-02-051-7/+0
| | | | | | | for building up the launch of a renderer. Review URL: http://codereview.chromium.org/20071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9212 0039d316-1c4b-4281-b951-d872f2087c98
* Finish taking out render_messages.h includes from headers.jam@chromium.org2009-02-0539-86/+77
| | | | | | 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-2/+9
| | | | | | | | 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
* Commiting the changes from my previous cl that are specific to not including ↵jam@chromium.org2009-02-0419-62/+47
| | | | | | | | | | 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
* Make autofill_manager compile on POSIX.thestig@chromium.org2009-02-042-3/+2
| | | | | | Review URL: http://codereview.chromium.org/22002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9176 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly removing WS_POPUP after initialization so that users of the ↵tommi@chromium.org2009-02-041-1/+5
| | | | | | | | 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-0410-11/+22
| | | | | | | | 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
* Commit just the changes to make creating new IPC channel types easier.jam@chromium.org2009-02-042-17/+17
| | | | | | | | 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
* 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
* This CL adds macro used to track the creation and destructionjcampan@chromium.org2009-02-042-0/+5
| | | | | | | | | | | 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
* AudioRendererHost and unit test fileshclam@chromium.org2009-02-044-0/+336
| | | | | | | | | | | 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
* Make render_view_host_manager.cc compile on POSIX.thestig@chromium.org2009-02-043-12/+6
| | | | | | | 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
* 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
* Bring many of the template_url classes into the fold for the Mac. Note that ↵avi@google.com2009-02-0410-599/+762
| | | | | | | | 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
* Revert my change to get the tree green. Not sure why the tests became ↵jam@chromium.org2009-02-0423-73/+88
| | | | | | | | | | 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
* 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
* Make it easier/less work/less error-prone to create new IPC channel types ↵jam@chromium.org2009-02-0423-88/+73
| | | | | | | | (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-047-146/+122
| | | | | | | | | | | 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-043-4/+17
| | | | | | | | 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
* Fix a leak in the extension installation code.erikkay@google.com2009-02-042-3/+6
| | | | | | Review URL: http://codereview.chromium.org/21027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9113 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 9109.ojan@google.com2009-02-032-5/+0
| | | | | | | Broke the build. Review URL: http://codereview.chromium.org/20029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9110 0039d316-1c4b-4281-b951-d872f2087c98
* This CL adds macro used to track the creation and destructionjcampan@chromium.org2009-02-032-0/+5
| | | | | | | | | | | | 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 Review URL: http://codereview.chromium.org/21018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9109 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line flag to load a single extension from an arbitrary ↵erikkay@google.com2009-02-035-23/+74
| | | | | | | | (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
* Remember change in Spell Check language by putting it in the list of accept ↵sidchat@google.com2009-02-033-0/+47
| | | | | | | | | | | languages when the user changes the language from languages options menu. It also includes a fix (required for this change to work) when existing users are updated to use language only code for spellcheck languages instead of languages+region. Issue=5829 Review URL: http://codereview.chromium.org/19520 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9106 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 9090.ojan@google.com2009-02-0314-532/+645
| | | | | | | Broke chromium full build. Review URL: http://codereview.chromium.org/21024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9094 0039d316-1c4b-4281-b951-d872f2087c98
* Move the about:ipc tab to a dialog. This patch is kind of a hack, the Windowsbrettw@chromium.org2009-02-0314-645/+532
| | | | | | | | | specific code for the settings dialog and the table view are just copied from the old dialog. I tried to change as little as possible. The only significant change should be that I commented out saving the settings in the profile. Review URL: http://codereview.chromium.org/19741 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9090 0039d316-1c4b-4281-b951-d872f2087c98
* Extension loading improvements.erikkay@google.com2009-02-032-30/+74
| | | | | | | | | | | Add a method that allows loading a single specific extension. Load extensions upon successful install. Review is for which ever one of you gets in first, or both if you care. ;-) Review URL: http://codereview.chromium.org/19759 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9082 0039d316-1c4b-4281-b951-d872f2087c98
* From agl. Cleaned up version of issue 19046.thestig@chromium.org2009-02-037-33/+92
| | | | | | | | | | | | | 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 some of the most egregious problems with Aero glass frames. These ↵pkasting@chromium.org2009-02-032-30/+30
| | | | | | | | | | | changes are basically hacks, but they're hacks that get our frame width, tabstrip layout (in non-OTR mode), and client edge drawing to exactly match pre-Magic-BrowzR code. In subsequent changes I will clean this all up to work better. This also fixes windows refusing to become activated. BUG=5054,6174 Review URL: http://codereview.chromium.org/19548 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9062 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a divide by zero crash with a temporary workaround (until we have themes).ben@chromium.org2009-02-031-0/+6
| | | | | | | | http://crbug.com/6294 Review URL: http://codereview.chromium.org/19767 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9058 0039d316-1c4b-4281-b951-d872f2087c98
* first stab at scaffolding WebContents.pinkerton@chromium.org2009-02-037-47/+96
| | | | | | Review URL: http://codereview.chromium.org/19757 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9055 0039d316-1c4b-4281-b951-d872f2087c98