- 03 Dec, 2013 11 commits
-
-
tapted@chromium.org authored
Using the accessibility inspector on the Mac App Launcher in Mavericks currently causes Chrome to crash. This is due to an AppKit bug that triggers an unrecognized selector exception to be thrown on -[NSButtonCell item], inside NSCollectionView code. This adds a method to the NSButtonCell subclass used by the app launcher for its NSCollectionView that provides a dummy implementation of the method AppKit tries to call. BUG=324365 TEST=Open Mac's Accessibility Inspector, then show the App Launcher. Hovering over items in the grid should not crash Chrome. Review URL: https://codereview.chromium.org/96103002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238249 0039d316-1c4b-4281-b951-d872f2087c98
-
dominikg@chromium.org authored
Touchscreen devices typically have a 'touch slop', i.e. a certain distance a pointer has to move before it is considered moving. The touch slop is subtracted from the distance a pointer moves. So if the touch slop is 10 pixels and a pointer moves by 100 pixels on the screen, the resulting move is registered as having covered only 90 pixels. This patch adds the 'GetTouchSlopInDips' to SyntheticGestureTargets. This value is used by the gestures to increase the distances covered by touch pointers. For example, to scroll 100 pixels with a touch slop of 10 pixels, the pointer will cover 110 pixels. Touch-based synthetic gestures are updated to take the touch slop into account. BUG=321114 Review URL: https://codereview.chromium.org/95153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238248 0039d316-1c4b-4281-b951-d872f2087c98
-
groby@chromium.org authored
Tooltips for requestAutocomplete should use the Chrome bubble look. BUG=315966 Review URL: https://codereview.chromium.org/84343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238247 0039d316-1c4b-4281-b951-d872f2087c98
-
brettw@chromium.org authored
This makes base, ui, and net compile without the "using base::string16" directive that's currently checked in. BUG= Review URL: https://codereview.chromium.org/100303003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238246 0039d316-1c4b-4281-b951-d872f2087c98
-
binji@chromium.org authored
There were a couple of issues here: * make doesn't support spaces, so you have to escape them. * xterm doesn't exist on mac, use osascript to create a new Terminal window instead. Also, use the correct basename/default paths for Chrome on each platform. BUG=322549 R=sbc@chromium.org Review URL: https://codereview.chromium.org/86053005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238245 0039d316-1c4b-4281-b951-d872f2087c98
-
dkrahn@chromium.org authored
This feature has not landed, the button should not be shown. BUG=chromium:324078 TEST=manual R=mukai@chromium.org Review URL: https://codereview.chromium.org/93273002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238244 0039d316-1c4b-4281-b951-d872f2087c98
-
derat@chromium.org authored
Move the code that checks whether the command-line flag or pref to disable extensions is set into ExtensionsBrowserClient, and make ExtensionPrefFactory work with a BrowserContext instead of requiring a Profile. BUG=313284 Review URL: https://codereview.chromium.org/89253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238243 0039d316-1c4b-4281-b951-d872f2087c98
-
groby@chromium.org authored
When a field is modified, the dialog must update the 'editable' status for all fields in the section. BUG=321331 TEST=See bug. CVC should now be editable after editing expiration. R=isherman@chromium.org Review URL: https://codereview.chromium.org/88943003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238242 0039d316-1c4b-4281-b951-d872f2087c98
-
oshima@chromium.org authored
* Fix button class detection (added CustomButton::AsCustomButtton) * Removed obsolete touch specific color scheme. Instead, use NativeTheme as that's what MenuItemView is using. BUG=177228 Review URL: https://codereview.chromium.org/82113004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238241 0039d316-1c4b-4281-b951-d872f2087c98
-
dalecurtis@chromium.org authored
> CHECK for adding duplicate converter inputs. > > CHECK to see if we're getting into weird states due to inputs > being added twice. > > BUG=233026 > TEST=none > > Review URL: https://chromiumcodereview.appspot.com/14083011 TBR=scherkus NOTRY=true Review URL: https://codereview.chromium.org/100583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238239 0039d316-1c4b-4281-b951-d872f2087c98
-
brettw@chromium.org authored
BUG= R=scottmg@chromium.org Review URL: https://codereview.chromium.org/99783006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238238 0039d316-1c4b-4281-b951-d872f2087c98
-
- 02 Dec, 2013 29 commits
-
-
vigneshv@chromium.org authored
vpx_video_decoder does not allow odd videos with odd height/width to playback since it is not valid YV12. But ffmpeg currently supports it by merely rounding up (and so does the libvpx library). Changing vpx_video_decoder to behave the same way as ffmpeg and getting rid of the Checks. BUG=315817 TEST=media_unittests Review URL: https://codereview.chromium.org/92073002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238237 0039d316-1c4b-4281-b951-d872f2087c98
-
varkha@chromium.org authored
Allows a tab dragged out of a maximized browser to get properly side-snapped (similar to how docking is allowed). BUG=319205 Review URL: https://codereview.chromium.org/80323002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238236 0039d316-1c4b-4281-b951-d872f2087c98
-
tapted@chromium.org authored
There's currently a #include cycle between view.h and border.h Also removes some redundant forward-declares in view.h BUG=None Review URL: https://codereview.chromium.org/93843002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238235 0039d316-1c4b-4281-b951-d872f2087c98
-
wangxianzhu@chromium.org authored
This reverts commit 6aa58b85. Fixed double-close issue when ending recording. > Revert 237280 "Remove TraceController" > > Seems to have broken trace-based telemetry benchmarks on android. > > BUG=323749 > > > Remove TraceController > > > > TraceController is obsoleted by TracingController. > > Changed all remaining clients to use TracingController. > > > > BUG=none > > > > Review URL: https://codereview.chromium.org/67683003 > > TBR=wangxianzhu@chromium.org > > Review URL: https://codereview.chromium.org/89753004 > > git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237452 0039d316-1c4b-4281-b951-d872f2087c98 TBR=wangxianzhu@chromium.org Review URL: https://codereview.chromium.org/99103004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238234 0039d316-1c4b-4281-b951-d872f2087c98
-
michaelpg@chromium.org authored
When the Chrome hotdog menu button is focused by pressing Alt-Shift-T or F6 on Windows/ChromeOS and tabbing over to itr, show the rectangular focus indicator. BUG=320759 Review URL: https://codereview.chromium.org/83513004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238233 0039d316-1c4b-4281-b951-d872f2087c98
-
mattm@chromium.org authored
BUG=324158 Review URL: https://codereview.chromium.org/93613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238231 0039d316-1c4b-4281-b951-d872f2087c98
-
acolwell@chromium.org authored
The "increase preroll capacity on underflow" logic was disabled for MSE playbacks a while ago because it was causing unwanted garbage collections and was allowing the capacity to grow too large. This change restores the capacity increase logic, but restricts the capacity so that it never grows beyond 3 seconds worth of data. This will avoid the GC issues encountered before. This change also resets the capacity on flush so that capacity increases in one playback period don't negatively effect the seek start time. BUG=291726 TEST=AudioRendererImplTest.Underflow, AudioRendererImplTest.Underflow_FollowedByFlush Review URL: https://codereview.chromium.org/88743004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238230 0039d316-1c4b-4281-b951-d872f2087c98
-
sl.ostapenko@samsung.com authored
BUG=323727 Review URL: https://codereview.chromium.org/89773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238228 0039d316-1c4b-4281-b951-d872f2087c98
-
danakj@chromium.org authored
The test puts a mailbox into the compositor tree and then makes sure only one commit is scheduled. Right now the test does this by just doing EndTest() and verifying that a 2nd commit doesn't happen before the test exits. This causes a crash though when the mailbox is destroyed before being cleaned up properly, and then the release callback runs on a bad test pointer. Instead, we can have the test make use of CommitPendingForTesting() to verify another commit was not scheduled, then have it remove the mailbox from the tree as other tests do. R=enne BUG=317854 Review URL: https://codereview.chromium.org/99913003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238227 0039d316-1c4b-4281-b951-d872f2087c98
-
grt@chromium.org authored
This fixes a crash when navigating to an URL containing an internationalized domain name. BUG=324855 R=robertshield@chromium.org Review URL: https://codereview.chromium.org/99623003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238226 0039d316-1c4b-4281-b951-d872f2087c98
-
rch@chromium.org authored
Review URL: https://codereview.chromium.org/99453002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238225 0039d316-1c4b-4281-b951-d872f2087c98
-
joth@chromium.org authored
joth out Some new folks in TBR=darin@chromium.org Review URL: https://codereview.chromium.org/99653002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238224 0039d316-1c4b-4281-b951-d872f2087c98
-
abarth@chromium.org authored
The in-process command buffer expects all of its callers to be on a single thread. Prior to this CL, we were bouncing back to the shell thread to call swap buffers. Now we call SwapBuffers from sample_app's thread. R=davemoore@chromium.org Review URL: https://codereview.chromium.org/99323005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238223 0039d316-1c4b-4281-b951-d872f2087c98
-
guohui@chromium.org authored
BUG=324353 Review URL: https://codereview.chromium.org/95713002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238222 0039d316-1c4b-4281-b951-d872f2087c98
-
kalman@chromium.org authored
defines the entire site chrome, rather than spreading it over several files. BUG=320339 R=mkearney@chromium.org, yoz@chromium.org Review URL: https://codereview.chromium.org/92143003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238221 0039d316-1c4b-4281-b951-d872f2087c98
-
rfevang@chromium.org authored
Forgot to delete this function in http://crrev.com/73463006. BUG= Review URL: https://codereview.chromium.org/90153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238219 0039d316-1c4b-4281-b951-d872f2087c98
-
gbillock@chromium.org authored
R=pkasting@chromium.org Review URL: https://codereview.chromium.org/62873007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238218 0039d316-1c4b-4281-b951-d872f2087c98
-
scottmg@chromium.org authored
When cached timestamps are available, and toolchain is up-to-date, reduces the runtime to ~.2s. R=maruel@chromium.org TBR=cpu@chromium.org BUG=323300 Review URL: https://codereview.chromium.org/95983002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238217 0039d316-1c4b-4281-b951-d872f2087c98
-
teravest@chromium.org authored
This change simplifies some functions, removes some dead code and fixes up pylint style violations. BUG= Review URL: https://codereview.chromium.org/98803004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238216 0039d316-1c4b-4281-b951-d872f2087c98
-
tfarina@chromium.org authored
This is a step forward on removing ui_cocoa_third_party_toolkits target from ui.gyp. BUG=299841 TEST=None R=tapted@chromium.org,ben@chromium.org Review URL: https://codereview.chromium.org/83073012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238215 0039d316-1c4b-4281-b951-d872f2087c98
-
mtklein@google.com authored
BUG= Review URL: https://codereview.chromium.org/99493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238214 0039d316-1c4b-4281-b951-d872f2087c98
-
senorblanco@chromium.org authored
Remove BitmapPlatformDeviceData, and merge its functionality into the appropriate BitmapPlatformDevice. It was a little twisty maze of #ifdefs, ostensibly created to allow successful assignment and copy construction of the device. However, I could not find any such use, and the BitmapPlatformDevices are all marked DISALLOW_COPY_AND_ASSIGN! Instead, we use a subclass of SkPixelRef to handle ownership of the platform-specific bitmaps. This allows correct Skia semantics: the SkBitmap used for device drawing can safely outlive the device, since it is refcounted. Such a subclass already existed for Windows; this simply implements it for Cairo as well, and uses it in all cases. TBR=brettw Review URL: https://codereview.chromium.org/95773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238213 0039d316-1c4b-4281-b951-d872f2087c98
-
varkha@chromium.org authored
Changes sequence of docked animations when evicting windows from dock. Windows that are restored into docked area are slid from below rather than from above as before. Additionally minimizing animation for the windows that no longer fit in the dock is slowed down in hopes of making it less confusing. To allow this a new ScopedLayerAnimationSettings::LockTransitionDuration method is introduced which locks the current animation transition duration until the ScopedLayerAnimationSettings object that invoked it goes out of scope. BUG=323188 TEST=ash_unittests --gtest_filter=WindowAnimationsTest.LockAnimationDuration Review URL: https://codereview.chromium.org/82573002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238212 0039d316-1c4b-4281-b951-d872f2087c98
-
sadrul@chromium.org authored
The TODO was relevant for the SetProperty() call, which was removed. So the TODO should be removed too. BUG=none TBR=sky@chromium.org Review URL: https://codereview.chromium.org/100333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238211 0039d316-1c4b-4281-b951-d872f2087c98
-
eroman@chromium.org authored
BUG=None Review URL: https://codereview.chromium.org/54043003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238210 0039d316-1c4b-4281-b951-d872f2087c98
-
kalman@chromium.org authored
base64.b64encode not base64.encode because the latter inserts a \n, and add a User-Agent header. R=yoz@chromium.org Review URL: https://codereview.chromium.org/98183003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238209 0039d316-1c4b-4281-b951-d872f2087c98
-
brettw@chromium.org authored
This would deadlock in some error cases when the failing thread tried to acquire the lock to report an error, but the main thread was in the process of shutting down (due to a previous error) and blocking on the worker threads finishing while holding thc lock. This moves the worker pool shutdown to outside the lock, and adds some extra shutdown assertions. It also fixes a syntax error in the base Linux build file. BUG= R=scottmg@chromium.org Review URL: https://codereview.chromium.org/100193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238207 0039d316-1c4b-4281-b951-d872f2087c98
-
frankf@chromium.org authored
BUG=None TBR=craigdh@chromium.org Review URL: https://codereview.chromium.org/100323002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238206 0039d316-1c4b-4281-b951-d872f2087c98
-
sadrul@chromium.org authored
It is possible to copy a key-event using the copy-constructor, without needing a separate method for it. So remove the redundant code for copying a KeyEvent. BUG=none R=estade@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/97963002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238205 0039d316-1c4b-4281-b951-d872f2087c98
-