summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Move the core download files to content.jam@chromium.org2011-08-1529-8/+4634
| | | | | | Review URL: http://codereview.chromium.org/7618048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96829 0039d316-1c4b-4281-b951-d872f2087c98
* Virtual Cloud Print Driver for Mac.abeera@google.com2011-08-153-0/+32
| | | | | | | | | | | Includes code for the driver itself. Also modifies the browser process as well as service process to register Apple Event handlers. Also changes the service process to allow registration of driver. BUG= TEST= Review URL: http://codereview.chromium.org/7485011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96825 0039d316-1c4b-4281-b951-d872f2087c98
* Create ipc.dll.darin@chromium.org2011-08-153-0/+3
| | | | | | Review URL: http://codereview.chromium.org/7633042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96820 0039d316-1c4b-4281-b951-d872f2087c98
* Add MessageLoopProxy::currentnduca@chromium.org2011-08-1513-17/+17
| | | | | | Review URL: http://codereview.chromium.org/7583053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96819 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate geolocation settings to host content settings map and remove the ↵markusheintz@chromium.org2011-08-151-4/+0
| | | | | | | | | | | | | geolocation settings map. BUG=63656 TEST=host_content_settings_map_unittest.cc, content_settings_pref_provider_unittest.cc Review URL: http://codereview.chromium.org/7484072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96808 0039d316-1c4b-4281-b951-d872f2087c98
* base: Rename FileEnumerator::FILE_TYPE to FileEnumerator::FileType.tfarina@chromium.org2011-08-151-1/+1
| | | | | | | | | | | | | | enum types should be named using CamelCase as class and function names, not using MACRO_STYLE. BUG=None TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7618037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96766 0039d316-1c4b-4281-b951-d872f2087c98
* Rip out code for logging cross-frame property accesses.thakis@chromium.org2011-08-143-24/+0
| | | | | | | | | | | | | | | | This depends on RenderView overriding a method of WebFrameClient that was added in http://trac.webkit.org/changeset/56829 but subsequently removed in http://trac.webkit.org/changeset/56849 . Since the code has been nonfunctional for over 1 year, I figure it's safe to remove it. BUG=none TEST=none Review URL: http://codereview.chromium.org/7645015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96742 0039d316-1c4b-4281-b951-d872f2087c98
* A number of issues weren't addressed with the earlier patch for prerender + ↵cbentzel@chromium.org2011-08-1410-54/+313
| | | | | | | | | | | | | | | | | | | | browsing history, particularly for instant pages. - The "remove first entry" option used by instant was not being handled correctly when there was only one committed entry in the NavigationController. - Renderer-issued navigations which were committed in the browser but not yet known by the browser/NavigationController were being incorrectly pruned. This did not happen regularly in the prerender case, but does in the instant case, particularly when changing what's typed in the omnibox. - Some additional sanity testing to make sure that the message is sent to the correct render process. - Additional unit tests are added. BUG=89798 TEST=NavigationControllerTest.CopyStateFromAndPrune*, RenderViewTest.SetHistoryLengthAndPrune. Review URL: http://codereview.chromium.org/7618016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96724 0039d316-1c4b-4281-b951-d872f2087c98
* Make WebPluginInfo more genericcpu@chromium.org2011-08-1415-55/+53
| | | | | | | | | | | | | - To account for pepper plugins, it grows a type field - move WebPluginInfo from webkit::npapi to webkit:: and move the files as well. This will allow us to remove hacks to get pepper plugins to load soon BUG=89248 TEST=none Review URL: http://codereview.chromium.org/7648017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96718 0039d316-1c4b-4281-b951-d872f2087c98
* Don't ignore back navigations after max entry limit is reached.creis@chromium.org2011-08-133-2/+75
| | | | | | | | | | | | It's safe to proceed if the browser's page_id is newer than the renderer's, for a given offset into the history list. BUG=89798 TEST=RenderViewTest.DontIgnoreBackAfterNavEntryLimit Review URL: http://codereview.chromium.org/7628029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96701 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 96694 - Enabled scaling zoom for TOUCH_UI due to Linux Touch build ↵grt@chromium.org2011-08-131-14/+2
| | | | | | | | | | | | | | | | | | | | breakage. This patch depends on landing this WebKit patch first: https://bugs.webkit.org/show_bug.cgi?id=66067 BUG=none TEST=manually Review URL: http://codereview.chromium.org/7619015 TBR=fsamuel@chromium.org Review URL: http://codereview.chromium.org/7645012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96695 0039d316-1c4b-4281-b951-d872f2087c98
* Enabled scaling zoom for TOUCH_UI.fsamuel@chromium.org2011-08-131-2/+14
| | | | | | | | | | | | | | | This patch depends on landing this WebKit patch first: https://bugs.webkit.org/show_bug.cgi?id=66067 BUG=none TEST=manually Review URL: http://codereview.chromium.org/7619015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96694 0039d316-1c4b-4281-b951-d872f2087c98
* Handle client going away after GVDAH::Destroypiman@chromium.org2011-08-131-6/+17
| | | | | | | | | | | | Prevents crashes when destroying a decoder while messages are pending. BUG=None TEST=Pepper Flash Review URL: http://codereview.chromium.org/7629022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96679 0039d316-1c4b-4281-b951-d872f2087c98
* Fix lost context race with fullscreen pepper widget.piman@chromium.org2011-08-131-3/+4
| | | | | | | | | | | | | | | An ill-timed lost context could destroy the compositor context, while a composite has been scheduled. This makes sure we reset is_accelerated_compositing_active_ so that we don't try to use the 3D path in this case. BUG=None TEST=Fullscreen with Pepper Flash on ARM devices Review URL: http://codereview.chromium.org/7628023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96677 0039d316-1c4b-4281-b951-d872f2087c98
* Pipe "is pinned to left/right", "has horizontal/vertical scrollbar",thakis@chromium.org2011-08-135-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | "number of wheel handlers" to browser process. We want to implement two-finger-swipe for history like safari does on os x lion. The way this works is: * If a page has no horizontal scrollbars, or the page is all the way to the left, scrolling to the left will go back in history instead. * Same for right/forward. Hence, this data needs to be available in the browser process. This is modelled after the WebKit2 functions WKPageIsPinnedToLeftSide(), WKPageIsPinnedToRightSide(), WKPageHasHorizontalScrollbar(), and webPageProxy::willHandleHorizontalScrollEvents(). Depends on https://bugs.webkit.org/show_bug.cgi?id=66094 BUG=90228 TEST=No observable effect yet Review URL: http://codereview.chromium.org/7635011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96670 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 96592 - Add scroll and gesture message filters for UIPI Flash. jschuh@chromium.org2011-08-131-9/+1
| | | | | | | | | | | | | | | Flash forwards some window messages when it has no handler set. The only ones I've observed are WM_MOUSEWHEEL and WM_GESTURE (gestures are supported only on Win7). So, we need to allow these messages through the UIPI boundary. One important note is that I use per-process message filters on Vista, but per-window filters on Win7 or later (because they're supported). BUG=86810 TEST=None. Review URL: http://codereview.chromium.org/7617019 TBR=jschuh@chromium.org Review URL: http://codereview.chromium.org/7648011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96661 0039d316-1c4b-4281-b951-d872f2087c98
* Return DNS addresses when address can be resolved synchronously.sergeyu@chromium.org2011-08-121-3/+5
| | | | | | | | | BUG=92231 TEST=Second remoting connection from the same browser works. Review URL: http://codereview.chromium.org/7633036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96647 0039d316-1c4b-4281-b951-d872f2087c98
* fix include path to GLES2dpranke@chromium.org2011-08-121-2/+2
| | | | | | | | | | R=apatrick@chromium.org BUG=none TEST=everything still compiles Review URL: http://codereview.chromium.org/7634014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96616 0039d316-1c4b-4281-b951-d872f2087c98
* Support queuing input buffers when OMX's buffer list is exhausted.fischman@chromium.org2011-08-123-39/+59
| | | | | | | | | | | | | | | Previously we'd crash (DCHECK in Debug, SEGV in Release) if the client (plugin) requested more than 10 concurrent Decode()s, because that's how many input buffers the OMX component would have. Now we just queue extra Decode()s and drain them as we get buffers back from the decoder. Added test coverage. BUG=none TEST=ovdatest, gles2 Review URL: http://codereview.chromium.org/7461154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96615 0039d316-1c4b-4281-b951-d872f2087c98
* base: Rename ValueType to something less redundant as _just_ Type.tfarina@chromium.org2011-08-121-1/+1
| | | | | | | | | | | | | | | | | | | So instead of: base::Value::ValueType We write a nice: base::Value::Type BUG=None TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7634018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96614 0039d316-1c4b-4281-b951-d872f2087c98
* Add scroll and gesture message filters for UIPI Flash. jschuh@chromium.org2011-08-121-1/+9
| | | | | | | | | | | | Flash forwards some window messages when it has no handler set. The only ones I've observed are WM_MOUSEWHEEL and WM_GESTURE (gestures are supported only on Win7). So, we need to allow these messages through the UIPI boundary. One important note is that I use per-process message filters on Vista, but per-window filters on Win7 or later (because they're supported). BUG=86810 TEST=None. Review URL: http://codereview.chromium.org/7617019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96592 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 96565 - Warm up locale and KsecDD in renderer sandboxjschuh@chromium.org2011-08-121-6/+0
| | | | | | | | | | | | | | I did this in the other sandboxed processes, but missed the renderer because these susbsystems get warmed up implicitly by other initialization. However, changing initialization order (or dependency changes in the underlying libraries) could introduce random crashes. So, for consistency explicit warmup is best, and will be needed for a later patch that closes the LPC ports. BUG=None TEST=None Review URL: http://codereview.chromium.org/7629015 TBR=jschuh@chromium.org Review URL: http://codereview.chromium.org/7637014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96566 0039d316-1c4b-4281-b951-d872f2087c98
* Warm up locale and KsecDD in renderer sandboxjschuh@chromium.org2011-08-121-0/+6
| | | | | | | | | | | I did this in the other sandboxed processes, but missed the renderer because these susbsystems get warmed up implicitly by other initialization. However, changing initialization order (or dependency changes in the underlying libraries) could introduce random crashes. So, for consistency explicit warmup is best, and will be needed for a later patch that closes the LPC ports. BUG=None TEST=None Review URL: http://codereview.chromium.org/7629015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96565 0039d316-1c4b-4281-b951-d872f2087c98
* Removal of Profile from content part 8.avi@chromium.org2011-08-124-7/+7
| | | | | | | | | BUG=76788 TEST=no change visible Review URL: http://codereview.chromium.org/7622012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96554 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDEs to RenderViewHostObserver subclasses that didn't already have ↵mihaip@chromium.org2011-08-121-1/+1
| | | | | | | | | | | them. R=jam@chromium.org Review URL: http://codereview.chromium.org/7635006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96522 0039d316-1c4b-4281-b951-d872f2087c98
* Rename and document glCommandBufferEnableCHROMIUMgman@chromium.org2011-08-121-3/+1
| | | | | | | | | | | moved to gl2ext.h. Got rid of gles2_command_buffer.h BUG=none TEST=none Review URL: http://codereview.chromium.org/7623001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96507 0039d316-1c4b-4281-b951-d872f2087c98
* Send error reply to GpuVideoDecodeAccelerator::Initialize when not availablepiman@chromium.org2011-08-121-0/+8
| | | | | | | | | | BUG=None TEST=Pepper Flash on x86 with HW decoder on Review URL: http://codereview.chromium.org/7620003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96500 0039d316-1c4b-4281-b951-d872f2087c98
* Reorganize chrome/test, part #9phajdan.jr@chromium.org2011-08-1112-13/+13
| | | | | | | | | TBR=jcivelli BUG=90905 Review URL: http://codereview.chromium.org/7616019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96453 0039d316-1c4b-4281-b951-d872f2087c98
* Enable tcmalloc profiling and heap dump.stevenjb@google.com2011-08-112-0/+12
| | | | | | | | | | | BUG=chromium-os:18876 TEST=See issue. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96054 Review URL: http://codereview.chromium.org/7528016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96444 0039d316-1c4b-4281-b951-d872f2087c98
* Removal of Profile from content part 6.avi@chromium.org2011-08-112-22/+3
| | | | | | | | | | | The concept of some WebUIs not being based on TabContents lived for two weeks (added r62478, removed r63713) but this support code was never removed. BUG=76788 TEST=no change visible Review URL: http://codereview.chromium.org/7554008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96390 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Rubber-banding on Lion.asvitkine@chromium.org2011-08-117-1/+40
| | | | | | | | | BUG=88353 TEST=On Lion, scroll past the edge of the web content area and see textured over-scroll area. Review URL: http://codereview.chromium.org/7582009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96387 0039d316-1c4b-4281-b951-d872f2087c98
* Adding traces to OmxVideoDecodeAcceleratorpiman@chromium.org2011-08-111-5/+22
| | | | | | | | | | BUG=None TEST=about:tracing with GLES2 on ARM. Review URL: http://codereview.chromium.org/7587008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96333 0039d316-1c4b-4281-b951-d872f2087c98
* Destroy OmxVideoDecodeAccelerator on renderer close, too.fischman@chromium.org2011-08-112-1/+5
| | | | | | | | | | BUG=none TEST=ovdatest passes, gles2 works & closing tab mid-play tears down OVDA. Review URL: http://codereview.chromium.org/7587004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96300 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Fix the sandbox error message when the helper binary is missing.thestig@chromium.org2011-08-101-2/+6
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7590005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96256 0039d316-1c4b-4281-b951-d872f2087c98
* Delete copy_texture_to_parent_texture from GPU command buffer code.apatrick@chromium.org2011-08-104-4/+13
| | | | | | | Because we aren't using it for anything anymore. Review URL: http://codereview.chromium.org/7538008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96238 0039d316-1c4b-4281-b951-d872f2087c98
* Add a status message "Waiting for extension Foo..." when there's a requestmpcomplete@chromium.org2011-08-109-59/+46
| | | | | | | | | | | | blocked on an extension with a webrequest API event handler. BUG=82618 TEST=no Review URL: http://codereview.chromium.org/7523042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96226 0039d316-1c4b-4281-b951-d872f2087c98
* A fairly recent change introduced a history of page_ids for each RenderView, ↵cbentzel@chromium.org2011-08-106-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | to validate that Navigation's go to legitimate pages. In the prerender and instant cases, the history of page_id's was not accurate, because it was not offset to reflect the point in time when the page was swapped in. For example, if the history for the tab looks like about:blank http://www.launchprerender.com/ http://www.prerendered_page.com/first_page.html http://www.prerendered_page.com/second_page.html The history of page_id's in the prerender-page RenderView should look like [-1, -1, 13, 14] - with the first two entries being -1 since they are not captured in this render view. Before this fix, it would look like [13, 14] - and when the back navigation was attempted, the length was not as long as expected. BUG=89798 TEST=Go to prerender_test.appspot.com, do a prerender on dev.chromium.org, click on a link within dev.chromium.org, press back and see that it works instead of spinning forever. Also, browser_tests --gtest_filter=*BackToPrerenderedPage, which fails without the change. Review URL: http://codereview.chromium.org/7491096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96109 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed authorized_ to connected_ for p2p sockets host.sergeyu@chromium.org2011-08-104-11/+11
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7604014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96105 0039d316-1c4b-4281-b951-d872f2087c98
* Add load flag indicating a request is probably the result of a user gesture.joi@chromium.org2011-08-093-2/+30
| | | | | | | | | | | | | | | This gets set by ResourceDispatcherHost on URLRequest objects created soon after a user gesture is detected. Bypass anti-DDoS throttling on this load flag, with option to bypass on other load flags in the future (e.g. possibly LOAD_BYPASS_CACHE). BUG=83775 TEST=net_unittests. Also confirmed manually that the LOAD_MAYBE_USER_GESTURE load flag gets applied appropriately. Review URL: http://codereview.chromium.org/7582004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96088 0039d316-1c4b-4281-b951-d872f2087c98
* Move P2P candidate serialization/deserialization to jingle/glue.sergeyu@chromium.org2011-08-092-73/+5
| | | | | | | | | TEST=Compiles BUG=None. Review URL: http://codereview.chromium.org/7551034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96079 0039d316-1c4b-4281-b951-d872f2087c98
* Properly handle STUN requests and responses from relay servers.sergeyu@chromium.org2011-08-094-4/+9
| | | | | | | | | BUG=83242 TEST=Chromoting can connect using relay servers. Review URL: http://codereview.chromium.org/7529039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96072 0039d316-1c4b-4281-b951-d872f2087c98
* GpuInfoCollector needs to initialize gl_bindings.backer@chromium.org2011-08-091-0/+6
| | | | | | | | | | | Fixes a case where GpuInfoCollector may call a glX function without initializing the bindings. BUG=fixes NOTREACHED on touchui build in accelerated_surface_container_touch.cc TEST=none Review URL: http://codereview.chromium.org/7607004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96068 0039d316-1c4b-4281-b951-d872f2087c98
* Add IPC for DNS host address resolution.sergeyu@chromium.org2011-08-099-8/+337
| | | | | | | | | TEST=None BUG=83242 Review URL: http://codereview.chromium.org/7599003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96047 0039d316-1c4b-4281-b951-d872f2087c98
* Removal of Profile from content part 7.avi@chromium.org2011-08-0923-45/+41
| | | | | | | | | BUG=76788 TEST=no change visible Review URL: http://codereview.chromium.org/7575010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96046 0039d316-1c4b-4281-b951-d872f2087c98
* Remove idb transaction callbacks onTimeout stuff that was removed from the spec.dgrogan@chromium.org2011-08-095-20/+3
| | | | | | | | | | | | | | | | Step 1 was https://bugs.webkit.org/show_bug.cgi?id=53521 This is step 2. 3 is to remove WebIDBTransactionCallbacks::onTimeout from the webkit api. BUG= TEST=llvm/Debug/browser_tests --gtest_filter=IndexedDBBrowser* Review URL: http://codereview.chromium.org/7550055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96044 0039d316-1c4b-4281-b951-d872f2087c98
* Fix indenting in render_view.cc. No code change.brettw@chromium.org2011-08-091-6/+6
| | | | | | Review URL: http://codereview.chromium.org/7604004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96032 0039d316-1c4b-4281-b951-d872f2087c98
* Move filename determination logic to net_util so that it's not split between ↵asanka@chromium.org2011-08-091-17/+7
| | | | | | | | | | | | net_util and download_util. BUG=78085 TEST=net_unittests --gtest_filter=*Generate*FileName Review URL: http://codereview.chromium.org/7300005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96029 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some unneeded uses of wstring.torne@chromium.org2011-08-091-5/+2
| | | | | | | | | | | | | | The automation proxy launcher is only producing ASCII log messages, so regular strings are fine. In the process, fix an unwanted & in one of the log messages which causes a format string error. The video capture test is generating a filename and should be using FILE_PATH_LITERAL to get the right kind of string for the platform. Review URL: http://codereview.chromium.org/7519028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96022 0039d316-1c4b-4281-b951-d872f2087c98
* Moving the contents of chrome://gpu Profiling to chrome://tracing.dominich@chromium.org2011-08-092-0/+87
| | | | | | | | | BUG=91406 TEST=none Review URL: http://codereview.chromium.org/7555005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95998 0039d316-1c4b-4281-b951-d872f2087c98
* This is the exact same CL as in http://codereview.chromium.org/7570001 .varunjain@chromium.org2011-08-096-10/+56
| | | | | | | | | | | | | That CL was revert due to build breakage. The cause of build break should be fixed in http://codereview.chromium.org/7529031/ BUG=none TEST=none Review URL: http://codereview.chromium.org/7528009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95934 0039d316-1c4b-4281-b951-d872f2087c98