| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to Rect/Point.
Covered by existing unit tests.
R=sky
BUG=160158
Review URL: https://chromiumcodereview.appspot.com/11377068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167077 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Code moved from Platform/WebKit that implements gestural fling
and adds factory mechanisms for constructing the fling curves.
BUG=157656
Review URL: https://chromiumcodereview.appspot.com/11365013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167003 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We add gfx::ScalePoint() as a non-mutating version of the Scale method.
Tests:
ui_unittests:PointTest.Scale
R=sky
BUG=160158
Review URL: https://codereview.chromium.org/11369144
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166979 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://chromiumcodereview.appspot.com/11275210
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166882 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TEST=None
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11366038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166777 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ContentDecryptorDelegate provides accessors to PPP_ContentDecryptor_Private calls and handles PPB_ContentDecryptor_Private calls for the PluginInstance. With this new class, we can move most content decryptor related code out of PluginInstance. This makes the PluginInstance much cleaner, and make content decryptor related code much easier to manage.
With this change, now PpapiDecrytor holds a pointer to the ContentDecryptorDelegate directly.
TBR=brettw@chromium.org
BUG=none
TEST=content_browsertests:EncryptedMedia tests pass. Demo pages still work.
Review URL: https://chromiumcodereview.appspot.com/11312054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166323 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
in a separate CL.
BUG=145597
Review URL: https://codereview.chromium.org/11368057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166321 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Canceling of async operations allows to not wait for their completion
in FileStream's destructor. Other related changes include:
- Got rid of FileStream::Close() and FileStream::CloseSync() methods because
reuse of FileStream object doesn't make much sense, it should be destroyed
instead.
- Changed FileStream to always acquire ownership of the PlatformFile it was
given. Fixed usages of FileStream where no ownership was assumed, introduced
new helper functions in base/platform_file.h on the way.
- FileStream's destructor now always closes the file. If file was opened with
PLATFORM_FILE_ASYNC then actual closing is done asynchronously, destructor
doesn't wait for that and returns immediately. When file was opened without
PLATFORM_FILE_ASYNC closing is done synchronously and the thread doing that
should be allowed to do IO operations.
- Implementation of FileStream is refactored. FileStream is now just a wrapper
around internal object that does all actual work and that can be easily
orphaned in the destructor to not block on the actual file descriptor closing.
All platform-independent code is extracted into a special file and amount of
platform-dependent code is minimized.
BUG=115067, 112474
TEST=net_unittests
Review URL: https://chromiumcodereview.appspot.com/10701050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166091 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves the flash clipboard interface to the new pepper proxy. It also adds support for copying/pasting data of custom data formats (which is needed for flash).
BUG=154497
TEST=Added new pepper tests
Review URL: https://chromiumcodereview.appspot.com/11225021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165548 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add supportMultipleWindows settings for reusing the same view
when opening popups. This is required for emulating the behavior
of Android WebView.
Depends on the WebKit patch: https://bugs.webkit.org/show_bug.cgi?id=99716
R=joth@chromium.org
BUG=156600
Review URL: https://chromiumcodereview.appspot.com/11192057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164909 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
DoDeferredUpdate
BUG=152355
Review URL: https://chromiumcodereview.appspot.com/11264058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164708 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
converted to an LDML date format pattern in WebKit code.
TEST=will be tested in a WebKit layout test
BUG=none
Review URL: https://chromiumcodereview.appspot.com/11270005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164515 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TEST=video.canPlayType('video/mp4; Codecs="avc1.4D400C"', 'webkit-org.w3.clearkey'); returns "probably" in Chrome builds.
Review URL: https://chromiumcodereview.appspot.com/11304018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164493 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Enable WebKit's deferred image decoding feature through about:flags.
BUG=137085
Review URL: https://chromiumcodereview.appspot.com/11233046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164404 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=65151
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11238074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163882 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cocoa cursor calls have been supported for quite some time, and
Carbon is long-deprecated; plugins should not be using Carbon calls
to change the cursor.
This reduces the complexity of the interpose library, which should
ideally be completely eliminated at some point.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11192052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163523 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new files file_path_string_conversions.h/cc.
'dom_storage' no longer depends on 'glue'
Function declarations of RemoveForDataFromHistoryState(), RemovePasswordDataFromHistoryState(), RemoveScrollOffsetFromHistoryState(), CreateHistoryStateForURL() are moved from webkit_glue.h to glue_serialize.h. (This move is needed to export these functions without including webkit_glue.h from glue_serialize.cc)
BUG=157095
TEST=build
Review URL: https://chromiumcodereview.appspot.com/11232035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163505 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This feature was guarded by a setting after there were problems in other platforms.
This enables it for just Android.
BUG=153342
Review URL: https://chromiumcodereview.appspot.com/11226045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163432 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This syncs up preference override settings for android
BUG=155687
Review URL: https://chromiumcodereview.appspot.com/11189022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163090 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directory contents.
This is helpful for Linux distributions that remove contents
of many third_party directories to ensure no unwanted bundled
copies of libraries are used.
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/11231010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163066 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Add a "data_path" field to the struct so that files info can be returned to intent clients from browser space.
BUG=129769
TBR=jhawkins@chromium.org for gypi files.
Review URL: https://chromiumcodereview.appspot.com/11090051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162901 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace build targets 'blob' and 'fileapi' with newly introduced 'webkit_storage'
Introduce a new directory webkit/storage to host webkit_storage.gypi and webkit_storage_export.h
Replace BLOB_EXPORT and FILEAPI_EXPORT with WEBKIT_STORAGE_EXPORT
BUG=155242
TEST=build
TBR=darin@chromium.org, piman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11103031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162679 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162313 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add test for web intents host.
R=groby@chromium.org
BUG=153695
Review URL: https://chromiumcodereview.appspot.com/11026070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162239 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than requiring early registration for all method id, we can initialize
them lazily as required.
This solves the problem of building against SDK X but running against X - 1.
Also adds a microbenchmark to ensure there are no considerable regressions.
Results are a bit variable, but it hovers over:
[ERROR:jni_android_unittest.cc(125)] JNI LazyMethodIDCall (us) 1983
[ERROR:jni_android_unittest.cc(127)] JNI MethodIDCall (us) 1862
BUG=152987
TEST=JNIAndroidMicrobenchmark.MethodId
TBR=akalin
Review URL: https://chromiumcodereview.appspot.com/11038015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162186 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
We flipped the default to 1 a few weeks ago and the tree doesn't compile with
this set to 0. Time to go!
BUG=
Review URL: https://chromiumcodereview.appspot.com/11066132
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162049 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Windows, use Segoe UI Symbol as emoji font.
On CrOS, use Droid Emoji.
Simplify the defaults, they're overridden anyway.
BUG=62435
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11071011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162045 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=154465
TEST=Added a test to dom_serializer_unittest.cc
Review URL: https://chromiumcodereview.appspot.com/11103024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161824 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/11085064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161620 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All previously shipped Chrome for Android releases had a historyItem
version of 11 with two extra values added. These values are no longer
needed, but unfortunately, we will need to indefinitely have code to read
them into dummy values to prevent the deserializer from crashing when it
reads an old item.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11017067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161494 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=143330
Review URL: https://codereview.chromium.org/11086041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161166 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When scaling an integer point or size, return a floating point
result. Implicitly flooring hides design problems and bugs. Add
conversion functions to floor or ceil a SizeF or PointF
into an integer format again.
All existing behaviour has been preserved by replacing uses of
foo.Scale() with ToFlooredFoo(foo.Scale()).
R=sky
BUG=147395
Review URL: https://chromiumcodereview.appspot.com/11081007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160970 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change implements new Chrome IPC for PPB_WebSocket.
After this change, all mode including out of process
will work with new design. It doesn't depend on old SRPC design any more.
BUG=87310,116317
Review URL: https://chromiumcodereview.appspot.com/10944005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160783 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a rebased version of twiz's patch in 10916279.
Corresponding WK change: https://bugs.webkit.org/show_bug.cgi?id=93292
BUG=148816
Review URL: https://chromiumcodereview.appspot.com/11094004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160730 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This upstreams scrollFocusNodeRect implementation on ContentViewCOre and hooks it to WebKit.
The webkit side has already landed.
BUG=136737
Review URL: https://chromiumcodereview.appspot.com/11081003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160679 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Add skeleton FilePicker service.
BUG=129769
TBR=jhawkins for the gypi file changes.
Review URL: https://chromiumcodereview.appspot.com/11022003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160563 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since emoji is disabled in webkit for chromium, this has no observable effect yet.
BUG=62435
TEST=none
TBR=tony
Review URL: https://chromiumcodereview.appspot.com/10540022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160338 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The motivation for this CL is to move PasswordForm and friends (which are totally unrelated to WebKit) out of webkit/ and into a target that platforms that do not use WebKit (such as iOS) can logically depend on.
As such, this CL does three things:
1. Separates the WebKit-related code in webkit/forms from the
non-WebKit-related code. Concretely, this means having the WebKit::WebFormElement->PasswordForm conversion function in its own file.
2. Moves the core, non-WebKit-related forms code to chrome/common and content/public/common depending on where its usage points are.
3. Moves the above-mentioned conversion function to content/public/renderer. It cannot stay in webkit/ as it (now) has a dependency on content/, and as it is used only in chrome/renderer and content/renderer, this is a good place for it.
The rest of this CL is churn due to namespace, file location, and GYP target changes.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11000016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160280 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- OtherMonthLabel (for suggestion list)
- OtherTimeLabel (for suggestion list)
- OtherWeekLabel (for suggestion list)
- ThisMonthButtonLabel (for month picker)
- ThisWeekButtonLabel (for week picker)
defined in http://webkit.org/b/97878, http://webkit.org/b/97633 and http://webkit.org/b/97878
BUG=152632
TEST=done in WebKit layout tests
Review URL: https://chromiumcodereview.appspot.com/10985075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160093 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
These were never implemented.
BUG=
Review URL: https://codereview.chromium.org/11036012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159775 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Depends on this CL: http://codereview.chromium.org/10917189/
BUG=124396
Review URL: https://chromiumcodereview.appspot.com/10918174
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159037 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding prefs::kWebKitFontScaleFactor and prefs::kWebKitForceEnableZoom to the
pref_names. It will be used by font boosting on Android.
BUG=151216
Review URL: https://chromiumcodereview.appspot.com/10983010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158664 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
It will be used in WebKit for the date suggestion picker popup.
BUG=151480
Review URL: https://chromiumcodereview.appspot.com/10957032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158528 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mac OS X
This was changed by mistake in https://src.chromium.org/viewvc/chrome?view=rev&revision=139755
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10964041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158261 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=37219
Review URL: https://codereview.chromium.org/10966025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157937 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This splits out the helper functions in the in-process version to a new file: url_request_info_util. This will be moved to content/renderer when we move the url_loader.
The unit test was moved from webkit/plugins/ppapi to content/renderer/ppapi. I made it a browsertest which allowed the removal of a little boilerplate.
I had to add "internal" functions for loading stuff with just the data struct rather than a resource so the proxy doesn't have to create an in-process URLRequestInfo resource (which can't be created now when running out-of-process) just to create a request. This should be a little more efficient now anyway, and these duplicates will go away when such code moves to the new proxy design.
BUG=
Review URL: https://codereview.chromium.org/10913257
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157588 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
It asserts on mac when it's not set
BUG=150069
TEST=manual
TBR=tony@chromium.org
Review URL: https://codereview.chromium.org/10947005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157339 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
for release.
BUG=145027
Review URL: https://chromiumcodereview.appspot.com/10914321
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157189 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Move from using TestShell to content::Shell.
BUG=126514
Review URL: https://chromiumcodereview.appspot.com/10913286
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157155 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This is to turn on https://bugs.webkit.org/show_bug.cgi?id=94743.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10918079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157123 0039d316-1c4b-4281-b951-d872f2087c98
|