- 28 Aug, 2014 39 commits
-
-
Sadrul Habib Chowdhury authored
Create a component necessary for showing PDF in a content-based client. Much of the relevant code currently lives in //chrome/, and is usable by chrome. Moving this code into a separate component in //components/pdf/ allows it to be easily used by other content-clients (e.g. app-shell, athena, etc.). This patch moves PPB_PDF_Impl (implementation for the PPB_PDF interface in ppapi) and the relevant IPC messages in the pdf component. A short summary of the changes in this patch: . Move ppb_pdf_impl.cc|h into //components/pdf from //chrome/renderer/pepper . Put this code in the 'pdf' namespace. This code lives in 'pdf_renderer' target. 'chrome_renderer' depends on this target. . Move the following IPC messages from render_messages.h to pdf_messages.h: - PDFUpdateContentRestrictions - PDFHasUnsupportedFeature - PDFSaveURLAs - PDFModalPromptForPassword Change the prefix of these messages from ChromeViewHostMsg_ to PDFHostMsg_ . Move PDFTabHelper into //components/pdf from //chrome/browser/ui/pdf. Put this code in the 'pdf' namespace. This code lives in 'pdf_browser' target. 'chrome_browser' depends on this target. BUG=401242 R=blundell@chromium.org, raymes@chromium.org, thestig@chromium.org, tsepez@chromium.org TBR=darin@chromium.org for DEPS Review URL: https://codereview.chromium.org/477263003 Cr-Commit-Position: refs/heads/master@{#292313}
-
fsamuel authored
BUG=406575 TBR=cpu@chromium.org for changes to *.grd Review URL: https://codereview.chromium.org/497843002 Cr-Commit-Position: refs/heads/master@{#292312}
-
sky authored
. RootNodeManager->ConnectionManager. A better name might be ViewManagerServiceImplsManager, but I can't come to type that in. . Node->ServerView. I really want to use View, but having a class named View in the server and lib has confused everyone I've talked to and makes talking about View extremely abiguous. BUG=none TEST=none R=jamesr@chromium.org Review URL: https://codereview.chromium.org/513923004 Cr-Commit-Position: refs/heads/master@{#292311}
-
tonyg authored
BUG= Review URL: https://codereview.chromium.org/512943002 Cr-Commit-Position: refs/heads/master@{#292310}
-
zork authored
BUG=405744 Review URL: https://codereview.chromium.org/491943004 Cr-Commit-Position: refs/heads/master@{#292309}
-
tonyg authored
BUG= Review URL: https://codereview.chromium.org/515603002 Cr-Commit-Position: refs/heads/master@{#292308}
-
gunsch authored
R=lcwu@chromium.org BUG=None Review URL: https://codereview.chromium.org/505393002 Cr-Commit-Position: refs/heads/master@{#292307}
-
spang authored
We're supposed to use a unique id that increments for each distinct touch. That's tracking id, not slot. BUG=none TEST=chrome on pixel with --ash-touch-hud NOTRY=true Review URL: https://codereview.chromium.org/512553002 Cr-Commit-Position: refs/heads/master@{#292306}
-
jmedley authored
BUG=none R= mkearney@chromium.org, smain@chromium.org, binji@chromium.org, binji@google.com, kalman@chromium.org TEST=none NOTRY=true (documentation only change) Review URL: https://codereview.chromium.org/483163002 Cr-Commit-Position: refs/heads/master@{#292305}
-
r.ghatage authored
The selection handle was wrongly set to left handle instead of center. Corrected it. Also added test case to verify that the paste popup is shown when long pressed on empty input with some text in clipboard BUG=407185 Review URL: https://codereview.chromium.org/499393002 Cr-Commit-Position: refs/heads/master@{#292304}
-
acolwell authored
Removing hacky code that sends made up data to V8 to trick it into running GC more often. This was added a long time ago and it is unlikely it is actually helping things anymore. Removing this code also eliminates WebMediaPlayerImpl's dependency on V8 which helps with moving this code to media/blink. BUG=408338 Review URL: https://codereview.chromium.org/512033002 Cr-Commit-Position: refs/heads/master@{#292303}
-
nhiroki authored
BUG=n/a TEST=should pass all existing tests (no behavioral change) Review URL: https://codereview.chromium.org/515493002 Cr-Commit-Position: refs/heads/master@{#292302}
-
sky authored
device_data_manager shouldn't include event.h as they are in different targets and we don't want event_base depending upon event. BUG=none TEST=none R=sadrul@chromium.org Review URL: https://codereview.chromium.org/512553003 Cr-Commit-Position: refs/heads/master@{#292301}
-
achuith authored
BUG=404868 TEST=perf fyi bot Review URL: https://codereview.chromium.org/508363002 Cr-Commit-Position: refs/heads/master@{#292300}
-
calamity authored
This CL allows clients to specify a minimum cross axis size when using a BoxLayout. BUG=406983 Review URL: https://codereview.chromium.org/494273003 Cr-Commit-Position: refs/heads/master@{#292299}
-
dcheng authored
This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Review URL: https://codereview.chromium.org/507053002 Cr-Commit-Position: refs/heads/master@{#292298}
-
dcheng authored
This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Review URL: https://codereview.chromium.org/506153002 Cr-Commit-Position: refs/heads/master@{#292297}
-
yoz authored
Move SocketsTcpUnitTest as the first test to use it. BUG=397164 Review URL: https://codereview.chromium.org/461273003 Cr-Commit-Position: refs/heads/master@{#292296}
-
raymes authored
This replaces usage of NPObject in pepper with gin-backed V8 objects. It is unfortunate that this CL is so large, but there isn't a nice way to have the old implementation and the new one side-by-side. There are 4 major parts to this CL: 1) Changing the HostVarTracker to track V8ObjectVars rather than NPObjectVars (host_var_tracker.cc). 2) Changing plugin elements (in plugin_object.cc) to be gin-backed objects. 3) Changing postMessage bindings (message_channel.cc) be gin-backed objects. 4) Changing the implementation of PPB_Var_Deprecated (ppb_var_deprecated_impl.cc) to call directly into V8. BUG=351636 Review URL: https://codereview.chromium.org/459553003 Cr-Commit-Position: refs/heads/master@{#292295}
-
thestig authored
This is the media/ portion of a reverted CL: https://codereview.chromium.org/459603003/ BUG=349320 Review URL: https://codereview.chromium.org/516543004 Cr-Commit-Position: refs/heads/master@{#292294}
-
ccameron authored
These issues came up while running for a few days with the flag --enable-remote-core-animation. Fix flashes of old frames by hooking up the DiscardBackbuffer (which happens when being made non-visible) to re-set the CAContext and CALayer (so the browser gets a new one with new content for the next frame). Add support for disabling vsync by using setNeedsDisplay to draw. Change the backpressure mechanism to rely on the browser to apply backpressure in its compositor via the cc:: output surface. Add a ScopedSetGLToRealGLApi structure to ensure that we are talking to the real GL API while in the CoreAnimation callback. BUG=312462 Review URL: https://codereview.chromium.org/516643002 Cr-Commit-Position: refs/heads/master@{#292293}
-
shrikant authored
+rsesek for crash key/value OWNERS. R=scottmg,ananta,cpu TBR=rsesek@chromium.org BUG=399233 Review URL: https://codereview.chromium.org/508393002 Cr-Commit-Position: refs/heads/master@{#292292}
-
calamity authored
This CL allows specification of the profile to show the app list for when launching the app list via the command line. Currently --show-app-list always uses the last used app list profile, but we want to allow testers to more easily load the app list for a particular profile. On Windows, this can be used for making shorcuts to a particular profile's app list but this will always bind to the main shortcut due to the app id. BUG=400874 Review URL: https://codereview.chromium.org/500333002 Cr-Commit-Position: refs/heads/master@{#292291}
-
Jun Mukai authored
These files will be used in Athena. BUG=408373 R=calamity@chromium.org, oshima@chromium.org TEST=no functional change Review URL: https://codereview.chromium.org/512943003 Cr-Commit-Position: refs/heads/master@{#292290}
-
spang authored
This is hacky, and a stopgap while we wait on property plumbing. BUG=none TEST=manual on link_freon NOTRY=true Review URL: https://codereview.chromium.org/514943003 Cr-Commit-Position: refs/heads/master@{#292289}
-
fmeawad authored
Revert of Initialize the now_funciton to the HighResNowWrapper in case High Res is supported (patchset #7 of https://codereview.chromium.org/446203002/) Reason for revert: It causes a Canary crash https://code.google.com/p/chromium/issues/detail?id=408354 The added static initializer causes a crash in libpeerconnetion used by WebRTC Fix to reland: remove static initializer. Original issue's description: > We have noticed a clock shift when QPC was deployed. It shows as a regression on the perf bots > https://chromeperf.appspot.com/report?masters=ChromiumPerf&bots=chromium-rel-win8-dual&tests=startup.warm.dirty.blank_page%2Fwindow_display_time&rev=286928 > > It is not a real regression, the initial_time and initial_ticks are not properly initialized when switching to HighResolution (i.e. QPC). > This CL initializes the now_function to the HighResNowWrapper instead of setting it to RolloverProtectedNow then to the HighResNowWrapper. > > By doing that, we avoid getting an incorrect initial_time and initial_ticks using the RolloverProtectedNow and avoid having to reinitialize. > > BUG=158234 > > Committed: https://chromium.googlesource.com/chromium/src/+/10c40c221c314e41add0a5b4df1ee7467681a430 TBR=jar@chromium.org,willchan@chromium.org,maruel@chromium.org,thakis@chromium.org,jam@chromium.org,cpu@chromium.org NOTREECHECKS=true NOTRY=true BUG=158234 Review URL: https://codereview.chromium.org/516693002 Cr-Commit-Position: refs/heads/master@{#292288}
-
uekawa authored
sysconf via get_nprocs_conf glibc function calls opendir() which calls openat() syscall, make them gracefully fail with EPERM instead of killing with SIGSYS. This fixes crash trying to start chrome tracing when running application with BareMetal with recent glibc. BUG=407516 TESTED=launched BareMetal NaCl app and started chrome tracing and doesn't crash. Review URL: https://codereview.chromium.org/509783003 Cr-Commit-Position: refs/heads/master@{#292287}
-
skuhne authored
are being put in place with a very basic management scheme The current ash implementation of the LowMemoryObserver polls "/dev/chromeos-low-mem" to find if we are running out of memory. After discussion with semenzato@ we decided that that is not precise enough and we should rather poll the system memory information. Going forward this has multiple benefits: 1. it does not require special kernel handling. 2. it also gives us information about GPU memory on chromeOS which will come handy once we are adding more sophisticated management. Beside that, this CL adds the ResourceManager which hooks itself into several components to detect changes in Activity's and their ordering as well as memory pressure. Note: The current management implementation itself is really primitive and needs to be improved. TBR for the DEPS file BUG=381212, 403782 TEST=MemoryPressureTest.*, ResourceManagerTest.* TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/513523002 Cr-Commit-Position: refs/heads/master@{#292286}
-
prasadv authored
BUG= NOTRY=true Review URL: https://codereview.chromium.org/511033002 Cr-Commit-Position: refs/heads/master@{#292285}
-
mukai authored
The weak fling should be handled and end the gesture session for issue 406197. Also, fling handling turns out to check closest state instead of last_state_. Otherwise there could be a chance to enter an inconsistent state from the visual. Also, the area of "closest to minimized" is too small, so I put 50px static height for this. BUG=406197, 407890 R=oshima@chromium.org TEST=athena_unittests, manually Review URL: https://codereview.chromium.org/507653005 Cr-Commit-Position: refs/heads/master@{#292284}
-
prasadv authored
BUG=394531 NOTRY=true Review URL: https://codereview.chromium.org/512703005 Cr-Commit-Position: refs/heads/master@{#292283}
-
yfriedman authored
https://codereview.chromium.org/499623002/ adds timing diagnostics to DomDistiller. Report histograms for these to help measure real-world perf. Also includes a boolean histogram for distillability based on code from internal repo. Review URL: https://codereview.chromium.org/501553002 Cr-Commit-Position: refs/heads/master@{#292282}
-
fmeawad authored
BUG= Review URL: https://codereview.chromium.org/514453003 Cr-Commit-Position: refs/heads/master@{#292281}
-
jdduke authored
Skia makes no guarantees about the contents of a newly allocated SkBitmap. Consequently, it's possible that the bitmap allocated for the overscroll effect isn't zeroed before the effect itself is painted. Prevent related issues by always clearing the allocated SkBitmap's contents (to fully transparent) before painting the effect. BUG=408225 Review URL: https://codereview.chromium.org/484373004 Cr-Commit-Position: refs/heads/master@{#292280}
-
zeuthen authored
We just added a new error code to ChromeOS's update_engine so also update histograms.xml. BUG=chromium:406546 TEST=Validated the xml, pretty print succeeded. Review URL: https://codereview.chromium.org/514003002 Cr-Commit-Position: refs/heads/master@{#292279}
-
nduca authored
BUG=408294 TBR=dpranke Review URL: https://codereview.chromium.org/510153003 Cr-Commit-Position: refs/heads/master@{#292278}
-
Nico Weber authored
Picks up https://codereview.chromium.org/508343002 BUG=82385 TBR=rnk@chromium.org Review URL: https://codereview.chromium.org/515773002 Cr-Commit-Position: refs/heads/master@{#292277}
-
Albert J. Wong authored
Revert of Adding Select Action Bar Unit test case for input (patchset #3 of https://codereview.chromium.org/506423003/) Reason for revert: Failed compile on Android builders. Original issue's description: > [Android] Add unit tests for SelectActionBar appearance > > The SelectActionBar currently lacks test coverage. Add several test > cases covering the appearance of the bar when interacting with an input > field. > > Committed: https://chromium.googlesource.com/chromium/src/+/0bc56569817a24acea46748c599d77b59157d84d BR=jdduke@chromium.org,aurimas@chromium.org,ajith.v@samsung.com NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/514493004 Cr-Commit-Position: refs/heads/master@{#292276}
-
Viet-Trung Luu authored
(This removes the one place where we did. Sadly, there's no way to assert that a lock isn't held by the current thread.) R=darin@chromium.org Review URL: https://codereview.chromium.org/488003006 Cr-Commit-Position: refs/heads/master@{#292275}
-
- 27 Aug, 2014 1 commit
-
-
rtenneti authored
R=wtc@chromium.org Review URL: https://codereview.chromium.org/511543006 Cr-Commit-Position: refs/heads/master@{#292274}
-