- 14 Feb, 2014 40 commits
-
-
uekawa@chromium.org authored
Rename input_method_property to input_method_menu_item, and move to ash/ime. This is a reland of https://codereview.chromium.org/150203015,reverted by https://codereview.chromium.org/165453002 Use Singleton<> instead of trying to maintain my own singleton. BUG=342336, 343044 Review URL: https://codereview.chromium.org/165783002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251327 0039d316-1c4b-4281-b951-d872f2087c98
-
tzik@chromium.org authored
This should fix NULL pointer access failure on app reload. Review URL: https://codereview.chromium.org/166153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251324 0039d316-1c4b-4281-b951-d872f2087c98
-
ccameron@chromium.org authored
The supported non-blocking path for drawing content that updates on the order of 60fps is to create a CAOpenGLLayer and set its asynchronous property to YES. In practice, just calling setNeedsDisplay about about 60fps results in noticeable jank. The downside to setting the CAOpenGLLayer to be asynchronous is that it will be asked, every vsync, if it has anything new to draw (via the canDrawInOpenGLContext callback), resulting in high CPU usage, even when idle. The solution to this is to dynamically set the isAsynchronous property to YES when new frames are seen, and leave it at NO when it has been a while (defined as a quarter second arbitrarily) since a new frame has been generated. Note that when a new frame is generated, the gotNewFrame call is made, while when a re-display is required (say, because the window became visible), only setNeedsDisplay is called. This is to avoid going in to asynchronous mode unnecessarily. Also note that the DelayTimer object is hung off the RWHVMac class instead of the CompositingIOSurfaceLayer object. This is because the DelayTimer class requires a C++ class to hang off of, instead of an Objective C interface. BUG=340133 Review URL: https://codereview.chromium.org/165623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251323 0039d316-1c4b-4281-b951-d872f2087c98
-
uekawa@chromium.org authored
BUG=None Review URL: https://codereview.chromium.org/163023002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251322 0039d316-1c4b-4281-b951-d872f2087c98
-
thestig@chromium.org authored
Review URL: https://codereview.chromium.org/165803003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251321 0039d316-1c4b-4281-b951-d872f2087c98
-
shuchen@chromium.org authored
[IME] Releases key events to Chromium's default behavior if no handler defined in the active IME extension. BUG=337082 TEST=Locally verified in sandbox. Review URL: https://codereview.chromium.org/162973002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251320 0039d316-1c4b-4281-b951-d872f2087c98
-
kinaba@chromium.org authored
BUG=336124 Review URL: https://codereview.chromium.org/164183004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251319 0039d316-1c4b-4281-b951-d872f2087c98
-
earthdok@chromium.org authored
This more closely matches Ubuntu build options, and fixes at least some of NSS-related test failures. BUG=313751 TBR=glider@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/163053004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251318 0039d316-1c4b-4281-b951-d872f2087c98
-
kinaba@chromium.org authored
BUG=341224 Review URL: https://codereview.chromium.org/163183002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251317 0039d316-1c4b-4281-b951-d872f2087c98
-
jkarlin@chromium.org authored
unused prerenders. It also reports on the total number of bytes fetched for that profile since the last prerender report. This gives us insight into the balance of used vs wasted prerenders. Understanding the ratio of wasted prerender bytes to total bytes gives us a better understanding of whether we need an option to disable prerender on mobile networks. BUG=334602 Review URL: https://codereview.chromium.org/160513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251316 0039d316-1c4b-4281-b951-d872f2087c98
-
nkostylev@chromium.org authored
Add a custom user pod icon for such apps. Enable this UI by default. Provide --disable-new-kiosk-ui flag which reverts back to the original UI (menu). BUG=334304,341884 R=xiyuan@chromium.org TBR=oshima Review URL: https://codereview.chromium.org/158833003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251315 0039d316-1c4b-4281-b951-d872f2087c98
-
tapted@chromium.org authored
The strings currently say Chrome apps will close. Actually they will close and then relaunch in the new desktop type. BUG=315239 Review URL: https://codereview.chromium.org/161083004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251314 0039d316-1c4b-4281-b951-d872f2087c98
-
oshima@chromium.org authored
I'll look into if we can eliminate this. BUG=343696 Review URL: https://codereview.chromium.org/165273002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251313 0039d316-1c4b-4281-b951-d872f2087c98
-
estade@chromium.org authored
BUG=343616 Review URL: https://codereview.chromium.org/164403002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251312 0039d316-1c4b-4281-b951-d872f2087c98
-
pmarch@chromium.org authored
call. The call takes an array of activity IDs (each activity ID is a string) and deletes the matching activities form the Activity Log database. BUG=330210 Review URL: https://codereview.chromium.org/154053004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251311 0039d316-1c4b-4281-b951-d872f2087c98
-
hajimehoshi@chromium.org authored
Modifies the output to the following style: #LEAK renderer pid PID (DETAIL_IN_JSON_FORMAT) Now, this leaking output is not used anywhere, and this will be used by https://codereview.chromium.org/148153009/. See also: https://docs.google.com/a/chromium.org/document/d/1sFAsZxeISKnbGdXoLZlB2tDZ8pvO102ePFQx6TX4X14/edit BUG=332630 Review URL: https://codereview.chromium.org/142043010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251310 0039d316-1c4b-4281-b951-d872f2087c98
-
nkostylev@chromium.org authored
Revert of Fix (or tag) uses of explicit '64' instead of GL_MAILBOX_SIZE_CHROMIUM (https://codereview.chromium.org/138763009/) Reason for revert: FAILED: c++ -MMD -MF obj/cc/layers/cc_unittests.texture_layer_unittest.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCOMPONENT_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_NSS=1 -DUSE_X11=1 -DOS_CHROMEOS=1 -DUSE_XI2_MT=2 -DIMAGE_LOADER_EXTENSION=1 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 -DGTEST_HAS_POSIX_RE=0 -DGL_GLEXT_PROTOTYPES -DSKIA_DLL -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -DSK_USE_POSIX_THREADS -DSK_DEFERRED_CANVAS_USES_FACTORIES=1 -DUNIT_TEST -DGTEST_HAS_RTTI=0 -DU_USING_ICU_NAMESPACE=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -I../../cc/test -I../../cc -I../.. -I../../third_party/khronos -I../../gpu -I../../skia/config -I../../third_party/skia/src/core -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../testing/gmock/include -I../../testing/gtest/include -I../../third_party/icu/source/i18n -I../../third_party/icu/source/common -Werror -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -c ../../cc/layers/texture_layer_unittest.cc -o obj/cc/layers/cc_unittests.texture_layer_unittest.o In file included from ../../testing/gmock/include/gmock/gmock-spec-builders.h:71:0, from ../../testing/gmock/include/gmock/gmock-generated-function-mockers.h:43, from ../../testing/gmock/include/gmock/gmock.h:61, from ../../cc/layers/texture_layer_unittest.cc:33: ../../testing/gmock/include/gmock/gmock-matchers.h: In member function 'bool testing::internal::EqMatcher<Rhs>::Impl<Lhs>::MatchAndExplain(Lhs, testing::MatchResultListener*) const [with Lhs = const gpu::Mailbox&, Rhs = gpu::Mailbox]': ../../cc/layers/texture_layer_unittest.cc:2173:1: instantiated from here ../../testing/gmock/include/gmock/gmock-matchers.h:784:1: error: no match for 'operator==' in 'lhs == ((const testing::internal::EqMatcher<gpu::Mailbox>::Impl<const gpu::Mailbox&>*)this)->testing::internal::EqMatcher<gpu::Mailbox>::Impl<const gpu::Mailbox&>::rhs_' ../../testing/gmock/include/gmock/gmock-matchers.h:784:1: note: candidate is: ../../testing/gtest/include/gtest/internal/gtest-linked_ptr.h:213:6: note: template<class T> bool testing::internal::operator==(T*, const testing::internal::linked_ptr<T>&) ../../testing/gmock/include/gmock/gmock-matchers.h:784:1: error: control reaches end of non-void function [-Werror=return-type] Original issue's description: > Fix (or tag) uses of explicit '64' instead of GL_MAILBOX_SIZE_CHROMIUM > > That way we can easily change the size later. Security says 64 may be overkill. > > BUG=None > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251306 TBR=danakj@chromium.org,piman@chromium.org NOTREECHECKS=true NOTRY=true BUG=None Review URL: https://codereview.chromium.org/166853002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251309 0039d316-1c4b-4281-b951-d872f2087c98
-
dfalcantara@chromium.org authored
There was nothing specific about this class, so I'm generalizing it and moving it upwards in the tree for more use cases (e.g. app banners). Code that will use it is not ready for review, but is located at https://chromiumcodereview.appspot.com/156343002/ BUG=341556 Review URL: https://codereview.chromium.org/155273002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251308 0039d316-1c4b-4281-b951-d872f2087c98
-
siva.gunturi@samsung.com authored
BUG=323150 Review URL: https://codereview.chromium.org/151203005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251307 0039d316-1c4b-4281-b951-d872f2087c98
-
piman@chromium.org authored
That way we can easily change the size later. Security says 64 may be overkill. BUG=None Review URL: https://codereview.chromium.org/138763009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251306 0039d316-1c4b-4281-b951-d872f2087c98
-
droger@chromium.org authored
TranslatePrefs now needs the path to preferences in its constructor. To help with this, a helper method is added to TranslateTabHelper to build TranslatePrefs instances. As a result, TranslatePrefs are no longer instantiated on the stack, but rather on the heap. BUG=335079 TBR=battre, jochen, joi Review URL: https://codereview.chromium.org/159883002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251305 0039d316-1c4b-4281-b951-d872f2087c98
-
luoruiyi2008@gmail.com authored
In normal mode, the plugin is created at the moment the page is loaded. Then when the first time the plugin is clicked. It will set the flag "has_webkit_focus_" true in real plugin instance. Then, send out the focus change notification in PepperPluginInstanceImpl::SetWebKitFocus, which will finally affect the IME stuff. However, at "Click to play" mode, WebViewPlugin is created at first, which will be replaced by real plugin. When the first time we click, the real plugin is created, loaded. But no focus is set in real plugin, which cause the IME stuff can't be enabled. In solution, we transfer the |focused_| in WebViewPlugin to new plugin after it loaded. BUG=336740 Review URL: https://codereview.chromium.org/144803003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251303 0039d316-1c4b-4281-b951-d872f2087c98
-
michaelpg@chromium.org authored
Adds bubble buttons to indicate which settings are shared. When signed in as a secondary user (i.e., added to a multi-profile session), a banner should be display. The "Internet connection" header should show a shared icon. Owner-controlled settings should show the owner icon. "Require password to wake from sleep" is a special case. This also fixes a bug where controlled settings on managed devices should say they are controlled by policy, but instead say the (non-existent) owner controls them. For details, see PRD with additional links at bottom: https://docs.google.com/a/google.com/document/d/1G09Mql1TtVFA4qhb7hlt4u2crBv6_fhrZMf40Yo--lc BUG=326354 R=dbeam@chromium.org, stevenjb@chromium.org, oshima@chromium.org Review URL: https://codereview.chromium.org/152143009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251302 0039d316-1c4b-4281-b951-d872f2087c98
-
imcheng@chromium.org authored
This change brings this type of event in line with the rest - having separate types for audio / video. As a new type that is potentially sent over in RTCP is introduced, a new RTCP encoding for that type is added as well. This change is backwards-compatible because these events aren't being sent over in RTCP because they are not processed by ReceiverRtcpEventSubscriber. BUG=337901 Review URL: https://codereview.chromium.org/164253003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251301 0039d316-1c4b-4281-b951-d872f2087c98
-
gab@chromium.org authored
R=tapted BUG=343692 Review URL: https://codereview.chromium.org/164953003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251300 0039d316-1c4b-4281-b951-d872f2087c98
-
jennyz@chromium.org authored
Remove the animation delay for showing the top level apps when user opens app list launcher. The animation will be performed only when user return to the top level apps grid view from a folder view. BUG=336187 Review URL: https://codereview.chromium.org/163953008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251299 0039d316-1c4b-4281-b951-d872f2087c98
-
dtu@chromium.org authored
Given a list of Python modules, it will find all: - bootstrap_deps folders, recursively. - Python dependencies. - Page sets in those modules' folders. - Serving dirs of those page sets. And print a list of all files, or zip them up. Example bot command: tools/telemetry_tools/find_dependencies -v tools/perf/run_benchmark tools/perf/run_measurement tools/perf/record_wpr content/test/gpu/run_gpu_test -z telemetry.zip BUG=311380 TEST=Ran it. Review URL: https://codereview.chromium.org/103433002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251298 0039d316-1c4b-4281-b951-d872f2087c98
-
scr@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/134163014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251297 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251296 0039d316-1c4b-4281-b951-d872f2087c98
-
rohitrao@chromium.org authored
BUG=309077 TEST=None Review URL: https://codereview.chromium.org/157973003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251295 0039d316-1c4b-4281-b951-d872f2087c98
-
robertphillips@google.com authored
R=rmistry@google.com Review URL: https://codereview.chromium.org/164253004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251294 0039d316-1c4b-4281-b951-d872f2087c98
-
mohsen@chromium.org authored
gesture.config_is_trustworthy pref is a temporary flag added in M30 to do a one-time wipe of gesture config prefs. After two milestones, the prefs should have been wiped for a good majority of users. So, the flag is not needed anymore. BUG=269292 Review URL: https://codereview.chromium.org/162193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251293 0039d316-1c4b-4281-b951-d872f2087c98
-
atwilson@chromium.org authored
CloudPolicyValidator now accpets a "domain" parameter which is used to generate verification signatures for public keys. Broke out CloudPolicyValidator cached-key verification code into a separate validation function: ValidateCachedKey(). Added new hard-coded signatures for our PolicyBuilder test keys for the example.com domain. BUG=275291 TBR=rogerta@chromium.org Review URL: https://codereview.chromium.org/143183007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251292 0039d316-1c4b-4281-b951-d872f2087c98
-
oshima@chromium.org authored
The last mouse location should be the updated only by real event because it should point to the real mouse point and synthesized enter/leave may not contain the valid point. minor: remove unnecessary cast. BUG=None TEST=TBD. Review URL: https://codereview.chromium.org/143303006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251291 0039d316-1c4b-4281-b951-d872f2087c98
-
yoshiki@chromium.org authored
This patch fixes the exception in clicking a thumbnail. It is a regression caused by r249027 and a possible cause of crbug.com/340624. The 'length' property of the selection model is NOT the number of the selected item. To get it, we need to get the length of 'selectedIndex' property. BUG=340624 TEST=manually Review URL: https://codereview.chromium.org/135973012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251290 0039d316-1c4b-4281-b951-d872f2087c98
-
guangzhen.li@intel.com authored
The app will be crashed when using vibrate API, without VIBRATE permission specified. Catch the security exception instead of crash should be more friendly. BUG=338151 TEST= Review URL: https://codereview.chromium.org/143673004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251289 0039d316-1c4b-4281-b951-d872f2087c98
-
estade@chromium.org authored
BUG=341586 Review URL: https://codereview.chromium.org/157093002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251288 0039d316-1c4b-4281-b951-d872f2087c98
-
hyunki.baik@samsung.com authored
added log messages when LoadLibrary fails for GLES/EGL libraries. BUG=none Review URL: https://codereview.chromium.org/160403002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251287 0039d316-1c4b-4281-b951-d872f2087c98
-
tengs@chromium.org authored
BUG=335449 Review URL: https://codereview.chromium.org/138833012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251286 0039d316-1c4b-4281-b951-d872f2087c98
-
sheu@chromium.org authored
Flakiness should be fixed. Renabling tests. BUG=335916,341265 TEST=trybots Review URL: https://codereview.chromium.org/145093006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251285 0039d316-1c4b-4281-b951-d872f2087c98
-