summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Make RenderWidget responsible for the composited view's lifetimejamesr@chromium.org2013-01-233-9/+67
| | | | | | | | | | | | | | | | | | | | | | Chromium side of https://bugs.webkit.org/show_bug.cgi?id=105071. content::RenderWidget constructs a WebLayerTreeView when WebKit asks it and then retains ownership. This has to be destroyed before the WebWidget is closed since the WLTVClient is (currently) a WebKit object. BUG=156175 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175303 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175827 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176271 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176707 Review URL: https://codereview.chromium.org/11575049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178256 0039d316-1c4b-4281-b951-d872f2087c98
* Only HistogramBase is used outside of base/metrics.kaiwang@chromium.org2013-01-236-15/+16
| | | | | | | | | | | | | | So client code of histogram will see a simpler interface. This also makes adding SparseHistogram to existing metrics framework possible. This CL depends on https://codereview.chromium.org/11682003/ So please review that one first. TBR=sky@chromium.org,erikwright@chromium.org BUG=139612 Review URL: https://chromiumcodereview.appspot.com/11615008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178242 0039d316-1c4b-4281-b951-d872f2087c98
* Move content/components/navigation_interception to src/componentskaiwang@chromium.org2013-01-2316-1030/+0
| | | | | | | | BUG=169312 Review URL: https://chromiumcodereview.appspot.com/11830043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178238 0039d316-1c4b-4281-b951-d872f2087c98
* Don't forward scroll gestures to the renderer -- they confuseccameron@chromium.org2013-01-232-42/+1
| | | | | | | | | | | | | | | the threaded compositor, and the non-threaded compositor and non-composited renderer work (in particular, with the rubber-band effect) without them. BUG=162797 TEST=Test scrolling with trackpad and scroll wheel, and rubber-banding with trackpad. Review URL: https://chromiumcodereview.appspot.com/11941026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178235 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Reduce renderer_main thread priority when prefer_smoothness is setepenner@chromium.org2013-01-232-1/+64
| | | | | | | | | | | | | | | | | This tracks how many compositors prefer smooth frame-rate, and throttles/resets the main thread's priority as appropriate. Compositors in the same process share the same thread, so we track this count in a static int. All thread priorities use #ifdefs for reduced risk and easier merging. This needs to be abstracted and enabled on other platforms (http://crbug.com/170549) BUG=164651 Review URL: https://chromiumcodereview.appspot.com/12026004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178225 0039d316-1c4b-4281-b951-d872f2087c98
* Webview: Introduce gutters around the image when resizeing contents and when ↵alexst@chromium.org2013-01-233-35/+18
| | | | | | | | | | | | | | | autosize is turned on. Adds a background layer and parents the texture_layer to it. Background layer shows a gutter when the texture layer is smaller and clips it to the size of the container when the texture layer is larger. BUG=169803 Review URL: https://chromiumcodereview.appspot.com/12047019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178215 0039d316-1c4b-4281-b951-d872f2087c98
* [Telemetry] Fix typos in Screenshot code.dtu@chromium.org2013-01-231-1/+1
| | | | | | | | | | | We can't check the Chrome branch number yet, since we don't know what it is until this change is checked in :P BUG=None. TEST=None. Review URL: https://codereview.chromium.org/12039030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178211 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Refactor MonthPickerDialog.benm@chromium.org2013-01-233-20/+2
| | | | | | | | | | | | Remove the wrapper month_picker_dialog layout resource and instead instantiate a MonthPicker View programmatically. This allows for greater reuse of the layout XML with Android WebView work, where we cannot reference custom classes in XML. Review URL: https://chromiumcodereview.appspot.com/12040013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178207 0039d316-1c4b-4281-b951-d872f2087c98
* Browser Plugin: Allocate Instance IDs in BrowserPluginEmbedder instead of ↵fsamuel@chromium.org2013-01-2317-134/+243
| | | | | | | | | | | | | | | | | | | | | | | BrowserPluginManager This patch is a step towards enabling window.open. How it works: 1. On the initial navigation, BrowserPlugin asynchronously requests a new Instance ID from the browser process. 2. The request and response BrowserPluginHostMsg_AllocateInstanceIDRequest, and BrowserPluginMsg_AllocateInstanceIDResponse are managed by BrowserPluginManager. 3. Once the browser process has allocated an instance ID and relayed it to BrowserPlugin, then BrowserPlugin collects all the current state of BrowserPlugin and stores it in a BrowserPluginHostMsg_CreateGuest_Params struct and ships it to the browser process using the new instance ID to create a new guest with that initial state. Initial state includes the current value of the src attribute. 4. Once BrowserPlugin has an instance ID, it will begin sending IPCs to the browser process as state changes, rather than merely accumulating state changes in member variables. BUG=140316 Test=BrowserPluginHostTest.*, BrowserPluginTest.*, WebViewTest.* Review URL: https://chromiumcodereview.appspot.com/11956022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178167 0039d316-1c4b-4281-b951-d872f2087c98
* Add msvs_cygwin_shell: 1 to extract_from_cab.pyiannucci@chromium.org2013-01-222-0/+2
| | | | | | | | | TBR=estade@chromium.org BUG=123026 Review URL: https://codereview.chromium.org/12042036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178155 0039d316-1c4b-4281-b951-d872f2087c98
* Use ui/gl/gl_bindings.h for content/common/gpu/media/sheu@chromium.org2013-01-2210-175/+131
| | | | | | | | | | | | | | | Use GPU process GL bindings for video decoders. This also requires video_decode_accelerator_unittest to properly set up the GL bindings now. BUG=chromium:169433 TEST=local build, run on snow; trybots Change-Id: I4087085f215960c7b67fdb1177707cf7323e7868 Review URL: https://chromiumcodereview.appspot.com/11867008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178150 0039d316-1c4b-4281-b951-d872f2087c98
* Fix touch points to scale down by DPI when creating WebTouchEventsyusufo@chromium.org2013-01-223-11/+22
| | | | | | | | | | | | | When changing the gesture related calls to scale down by dpi_scale we had missed to do the same for TouchEvents. Adding it to touch_point so that the scaling works when dpi_scale is not 1. BUG=168929 Review URL: https://chromiumcodereview.appspot.com/12038025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178126 0039d316-1c4b-4281-b951-d872f2087c98
* Support InputScope for desktop (non-Metro) Chrome. part 2Yukawa@chromium.org2013-01-221-1/+1
| | | | | | | | | | | | | I introduced a conditional flip in http://crrev.com/177801 by mistake in last one minute change after manual testing. This patch set fixes it. SetInputScopeForTsfUnawareWindow must be called when and only when TSF-aware is not required. BUG=150077 Review URL: https://chromiumcodereview.appspot.com/12018030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178121 0039d316-1c4b-4281-b951-d872f2087c98
* overscroll: Change the brightness of the overlay during overscroll gesture.sadrul@chromium.org2013-01-222-2/+47
| | | | | | | | BUG=160668 Review URL: https://codereview.chromium.org/12052013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178116 0039d316-1c4b-4281-b951-d872f2087c98
* Skip SingleWindowDoesNotExceedLimit on Win Debug.zmo@chromium.org2013-01-221-0/+5
| | | | | | | | | | | It times out on GPU win debug. BUG=171512 TEST= TBR=ccameron Review URL: https://codereview.chromium.org/12049027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178108 0039d316-1c4b-4281-b951-d872f2087c98
* Finally rip the global StackingClient bandaid off.erg@chromium.org2013-01-228-105/+134
| | | | | | | | | | | | | | | | | | | | | - Removes the aura::client::SetStackingClient(StackingClient*) interface. - Moves the ash StackingController from a singleton owned by ash::Shell to one StackingController per RootWindow owned by the ash::RootWindowController. (Also removes a spurious delegate method, where every implementation creates the same object, including tests.) - Removes the global DesktopStackingClient and related interfaces. - Fix the ChromeViewsDelegate so that it still sets context in chromeos builds. - Rename content::ShellStackingClientAsh to content::MinimalAsh to reflect what it really does. In addition, the following fix ups apply: - Previously, WebContentsViewAura asserted that it needed a context window. Now if no context window is provided, it isn't added to an aura hierarchy. There are times when that context doesn't exist: various chromeos dialogs that directly invoke WebView and toplevel extension/app windows that are created from background pages that don't have contexts. - Because of that, added a few of NULL checking to RenderWidgetHostViewAura. (Other methods NULL checked Window::GetRootWindow(), but there were a few that didn't and relied on the old NULL means lookup in the StackingClient behaviour.) BUG=161882 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177182 Review URL: https://codereview.chromium.org/11829040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178083 0039d316-1c4b-4281-b951-d872f2087c98
* Move window_open_disposition.h from webkit/ into ui/base.tfarina@chromium.org2013-01-229-11/+11
| | | | | | | | | | | | This reduces one more dependency on webkit from chrome. BUG=146251 R=jam@chromium.org,ben@chromium.org TBR=darin@chromium.org,tsepez@chromium.org Review URL: https://codereview.chromium.org/12036003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178082 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a NOTREACHED() in content::UdevLinux, since apparently it can happen.thestig@chromium.org2013-01-221-3/+2
| | | | | | | | | | The condition is already handled appropriately. BUG=167268 Review URL: https://chromiumcodereview.appspot.com/12018028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178061 0039d316-1c4b-4281-b951-d872f2087c98
* Synchronize sending of RST between server and client to avoid dropping bytes.rdsmith@chromium.org2013-01-225-38/+64
| | | | | | | | | | | | | | | | | | This is to de-flake the DownloadContentTest.ResumeInterruptedDownload test; Windows drops some bytes on the floor in the case of a 0 second linger close, which is how we trigger a RST being sent. To fix this, we do two things: a) don't send the RST until the client confirms it's received the data, and b) make sure to send enough data to defeat the buffering in the download path. BUG=169882 R=benjhayden@chromium.org R=cbentzel@chromium.org Review URL: https://chromiumcodereview.appspot.com/11968026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178053 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 178037cpu@chromium.org2013-01-222-18/+25
| | | | | | | | | | | | | | | | | | | | It broke android. > Fix official builder compile error when building aura on windows > > The error is in the chrome_frame_common project > chrome_frame_automation.cc (833) : error C2440: '=' cannot convert from HWND to gfx::NativeWindow > > That is because in aura the gfx::NativeWindow is a aura::Window* instead of HWND > > BUG=171018 > TEST=see bug > Review URL: https://codereview.chromium.org/12022038 TBR=cpu@chromium.org Review URL: https://codereview.chromium.org/12035027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178043 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of the static list of URLs in chrome_url_data_manager_backend.cc ↵jam@chromium.org2013-01-223-0/+50
| | | | | | | | | which controlled security headers. Instead specify this data through the URLDataSource and WebUIDataSource interfaces. This is needed so that webui pages can be implemented in different modules (i.e. content, chrome, chromeos), so chrome_url_data_manager_backend.cc will move to content and won't know about every type of webui page. BUG=169170 Review URL: https://codereview.chromium.org/12041014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178040 0039d316-1c4b-4281-b951-d872f2087c98
* [android] Fix size reported in contentSizeChange callback.mkosiba@chromium.org2013-01-221-1/+2
| | | | | | | | | | | | | | | | This makes the onContentSizeChanged callback take into account page scale when returning content size. This is required because the width and height values provided by the renderer are in a different coordinate space and need to be divided by the page scale factor to get "screen pixel" values. BUG=None Review URL: https://chromiumcodereview.appspot.com/12042017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178039 0039d316-1c4b-4281-b951-d872f2087c98
* Fix official builder compile error when building aura on windowscpu@chromium.org2013-01-222-25/+18
| | | | | | | | | | | | | The error is in the chrome_frame_common project chrome_frame_automation.cc (833) : error C2440: '=' cannot convert from HWND to gfx::NativeWindow That is because in aura the gfx::NativeWindow is a aura::Window* instead of HWND BUG=171018 TEST=see bug Review URL: https://codereview.chromium.org/12022038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178037 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] conditionally disable printing of console message and promptsjochen@chromium.org2013-01-222-0/+12
| | | | | | | | | | | | We're moving this functionallity to the TestRunner library. BUG=111316 R=marja@chromium.org Review URL: https://chromiumcodereview.appspot.com/12051011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178009 0039d316-1c4b-4281-b951-d872f2087c98
* During layout tests, RenderViewImpl::willSendRequest might get invoked with ↵jochen@chromium.org2013-01-221-0/+4
| | | | | | | | | | | | | | an empty request. In that case, just abort early. BUG=111316 R=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/12036006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177996 0039d316-1c4b-4281-b951-d872f2087c98
* Add two new debug URLs for Pepper Flash:yzshen@chromium.org2013-01-227-1/+73
| | | | | | | | | | | | | - chrome://ppapiflashcrash - chrome://ppapiflashhang TEST=none BUG=169915 Review URL: https://chromiumcodereview.appspot.com/11883026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177983 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Stop using drawableContentRect for occlusion.danakj@chromium.org2013-01-222-5/+0
| | | | | | | | | | | | | | | | | | | | | | The occlusion tracker has been using the drawableContentRect() which is not useful compared to the clipRect() unless queries go outside the bounds of the layer (which they would not). Also, the tests would override and fake out the layer drawableContentRect() instead of just making a clipRect() with an appropriate tree hierarchy. The unit tests are now more real, and set up clipping in legitimite ways, and drawableContentRect() is no longer used. This removes most of the usage of the drawableContentRect() outside of tests, making it easier to remove it entirely in the future if we like. Tested by all the occlusion tracker unit tests in cc_unittests. TBR=cdn@chromium.org Review URL: https://chromiumcodereview.appspot.com/11871008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177974 0039d316-1c4b-4281-b951-d872f2087c98
* Replace ASCIIToUTF16() call with UTF8ToUTF16() call.haruki@chromium.org2013-01-221-1/+1
| | | | | | | | | | BUG=171218 TEST=Verify that you can open Files App when the UI language is set to Hebrew. Review URL: https://chromiumcodereview.appspot.com/12043009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177971 0039d316-1c4b-4281-b951-d872f2087c98
* Cosmetic cleanup to texture_layer mailboxes.alexst@chromium.org2013-01-211-3/+3
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/11888010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177954 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 177842. This doesn't build in standalone webkit builds:thakis@chromium.org2013-01-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=107468 It looks like the exact same problem happened when this landed the last time: https://bugs.webkit.org/show_bug.cgi?id=105813 Please make sure this issue is fixed before you reland. The CL also likely regressed binary size by 0.25MB: http://crbug.com/171143 > Add wrapper class to media for support of VP9 video, and add a command line flag to enable the support. > > This initial version of the wrapper provides support for decoding VP9 video in WebM container files, and is disabled by default. > > New flag added: --enable-vp9-playback > > TBR=brettw,scherkus,xhwang > BUG=166094 > TEST=VP9 video in WebM containers plays back in <video> elements when --enable-vp9-playback is specified on the command line. > > > Review URL: https://chromiumcodereview.appspot.com/12025030 TBR=tomfinegan@chromium.org Review URL: https://codereview.chromium.org/11953017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177953 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Manage CVC's retained JS object set on the native side.benm@chromium.org2013-01-2115-34/+239
| | | | | | | | | | | | | | | Move management of the js retained object set to the native java bridge. BUG=169228 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177765 Reverted in https://chromiumcodereview.appspot.com/11817047 Review URL: https://chromiumcodereview.appspot.com/11817047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177948 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes issues when switching between software and compositing.alexst@chromium.org2013-01-216-30/+153
| | | | | | | | | | | | | Some buffers were sent back to the texture_image_transport_surface when it wasn't expecting them. This patch only sends and ACK when needed and destroys the buffer. BUG=169552 Review URL: https://chromiumcodereview.appspot.com/11967013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177926 0039d316-1c4b-4281-b951-d872f2087c98
* Move OpenItem/ShowItemInFolder from ContentBrowserClient to ↵hashimoto@chromium.org2013-01-2113-34/+43
| | | | | | | | | | | | | | | | | | DownloadManagerDelegate ChromeDownloadManagerDelegate provides Profile which can be used to perform drive file operations. MockDownloadOpenForTesting is moved from DownloadItem to DownloadManager. Rename DownloadManager::DownloadOpened to OpenDownload. Add DownloadManager::ShowDownloadInShell. BUG=154713 TEST=git try TBR=joth@chromium.org for android_webview Review URL: https://chromiumcodereview.appspot.com/11941015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177920 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_UDPSocket_Private is switched to the new Pepper proxy.ygorshenin@chromium.org2013-01-2119-636/+717
| | | | | | | | | | BUG=164370 TEST=browser_tests:*UDPSocketPrivate* Review URL: https://chromiumcodereview.appspot.com/11441012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177915 0039d316-1c4b-4281-b951-d872f2087c98
* Make new-style page scale work on Android.aelias@chromium.org2013-01-214-7/+19
| | | | | | | | | | | | | | | | | | | | | | | - Fix CC's PinchZoomViewport and MaxScrollOffset logic to work in fixed layout mode. Root layer max scroll offset is based on WebKit-perceived outer viewport and therefore should logically use layout_viewport_size_, whereas the inner one is the true user-visible viewport and therefore should use device_viewport_size_. - Fix Android to send down viewport size in DIP when --enable-css-transform-pinch is not specified. Default to non-CSS-transform mode when in impl-side painting. - Make ContentSize() return bounds() instead of contentBounds() and rename to ScrollableSize for clarity. This lets us avoid coordinate space conversions when computing max scroll offset. BUG=152505 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11958004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177896 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] don't use a proxy for running layout testsjochen@chromium.org2013-01-201-9/+16
| | | | | | | | | | BUG=170826 R=dpranke@chromium.org Review URL: https://chromiumcodereview.appspot.com/12025033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177867 0039d316-1c4b-4281-b951-d872f2087c98
* overscroll: Avoid flickering during history navigation.sadrul@chromium.org2013-01-204-6/+179
| | | | | | | | | | | Keep the window showing the history screenshot on top of the content window until the content window has something to paint for the newly navigated window. BUG=170700 Review URL: https://codereview.chromium.org/11956043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177863 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeOS default switches cleanup - switches::kEnableThreadedCompositing and ↵zelidrag@chromium.org2013-01-202-3/+14
| | | | | | | | | | | | switches::kEnableSmoothScrolling should not be an option on ChromeOS anymore. BUG=170948 TEST=existing tests Review URL: https://chromiumcodereview.appspot.com/11938025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177859 0039d316-1c4b-4281-b951-d872f2087c98
* Switch users of ChromeWebUIDataSource to use the content::WebUIDataSource ↵jam@chromium.org2013-01-192-0/+72
| | | | | | | | | instead. This is in anticipation of moving the implementation inside content. BUG=169170 Review URL: https://codereview.chromium.org/11871022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177854 0039d316-1c4b-4281-b951-d872f2087c98
* Add wrapper class to media for support of VP9 video, and add a command line ↵tomfinegan@chromium.org2013-01-191-0/+1
| | | | | | | | | | | | | | | | | flag to enable the support. This initial version of the wrapper provides support for decoding VP9 video in WebM container files, and is disabled by default. New flag added: --enable-vp9-playback TBR=brettw,scherkus,xhwang BUG=166094 TEST=VP9 video in WebM containers plays back in <video> elements when --enable-vp9-playback is specified on the command line. Review URL: https://chromiumcodereview.appspot.com/12025030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177842 0039d316-1c4b-4281-b951-d872f2087c98
* TextureImageTransport: Skip swaps without backbuffer.sievers@chromium.org2013-01-191-0/+10
| | | | | | | | | | | | Because of the descheduling logic, this should really only be possible for consecutive Swaps without any drawing in between. BUG=170094 Review URL: https://chromiumcodereview.appspot.com/12022007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177841 0039d316-1c4b-4281-b951-d872f2087c98
* Use EGL headers to pick up EGL definitions.sheu@chromium.org2013-01-192-8/+1
| | | | | | | | | | | | | | | * Remove forward-definitions of EGL types from ui/gl/gl_bindings.h, and use the actual EGL headers instead. * Clean up users of gl_bindings.h to not use system headers. BUG=chromium:169433 TEST=local build, run on snow; trybots Change-Id: Ibdf8f92574ff1a31389531fa462f05319b20a66f Review URL: https://chromiumcodereview.appspot.com/11961032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177834 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor FileIO to the new resource host system.bbudge@chromium.org2013-01-197-1/+710
| | | | | | | | | | | | | | | | | | Taking over from Victor's CL: https://codereview.chromium.org/11419131/ Re-landing, with a fix. The original waited to reset the file state until after the callback had completed. This is too late, as the client should be able to perform another file operation during the callback. Changeset #1 is the original patch. The fix is in change set #2 Original author=Victor Hsieh BUG=none TEST=browser_tests --gtest_filter=PPAPINaClNewlibTest.FileIO* Review URL: https://chromiumcodereview.appspot.com/11941022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177830 0039d316-1c4b-4281-b951-d872f2087c98
* Enable building of test plugin on ARM.sbc@chromium.org2013-01-191-1/+2
| | | | | | | | | | | | | | The test plugin is needed by several browser and content tests. The missing plugin was causing these to fail on the ARM linux bot. This change enables the plugin for ARM in general (e.g. chromeos and linux) while leaving it disabled for android and ios builds. BUG=169810,169813 Review URL: https://chromiumcodereview.appspot.com/11931003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177827 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed issue that the change of header file didn't rebuild the template file.michaelbai@chromium.org2013-01-191-1/+1
| | | | | | | | | | | | Previous one didn't work because only change files whose extension is same as rule's extension will make the target rebuild. BUG=170995 TBR=jam,agl Review URL: https://chromiumcodereview.appspot.com/11929032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177825 0039d316-1c4b-4281-b951-d872f2087c98
* Support InputScope for desktop (non-Metro) Chrome.Yukawa@chromium.org2013-01-182-0/+26
| | | | | | | | | | | | | | | InputScope is a metadata to describe what kind of text is expected in a text field. This info is used by IME and on-screen keyboard. On Windows 8, InputScope support is important because on-screen keyboard changes its layout based on InputScope. BUG=150077 TEST=Manually done on Windows 8 with on-screen keyboard Review URL: https://chromiumcodereview.appspot.com/12025018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177801 0039d316-1c4b-4281-b951-d872f2087c98
* Start sending synthetic keyevents for enter and tab in Android IMEyusufo@chromium.org2013-01-182-50/+52
| | | | | | | | | | | | | | | After sdk 15 Android framework no longer sends keyevents for enter and tab and the current spec says the dispatchKeyEvent call should only be used for hardware keyboard. So we stop calling ImeAdapter with dispathKeyEvent if the keyboard is not connected and also start sending these keyevents when a they are committed as a single character BUG=166233 Review URL: https://chromiumcodereview.appspot.com/11914003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177774 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 177765scottmg@chromium.org2013-01-1812-229/+33
| | | | | | | | | | | | | | | | | | | | | Failed compile on all Linux bots. > [Android] Manage CVC's retained JS object set on the native side. > > Move management of the js retained object set to the native java > bridge. > > Android only change, android bots green. > NOTRY=true > BUG=169228 > > > Review URL: https://chromiumcodereview.appspot.com/11817047 TBR=benm@chromium.org Review URL: https://codereview.chromium.org/12018025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177770 0039d316-1c4b-4281-b951-d872f2087c98
* Implement commit and abort for WebIDBDatabaseCallbacks.alecflett@chromium.org2013-01-1811-39/+304
| | | | | | | | | | | | | This includes wiring up quota tracking based on an int64-based transaction id in addition to the existing int32-based "idb_transaction" ids. BUG=161958 Review URL: https://chromiumcodereview.appspot.com/11929011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177766 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Manage CVC's retained JS object set on the native side.benm@chromium.org2013-01-1812-33/+229
| | | | | | | | | | | | | | Move management of the js retained object set to the native java bridge. Android only change, android bots green. NOTRY=true BUG=169228 Review URL: https://chromiumcodereview.appspot.com/11817047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177765 0039d316-1c4b-4281-b951-d872f2087c98