- 10 Aug, 2011 38 commits
-
-
mnissler@chromium.org authored
BUG=92297 TEST=None TBR=sky@chromium.org Review URL: http://codereview.chromium.org/7607030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96165 0039d316-1c4b-4281-b951-d872f2087c98
-
mnissler@chromium.org authored
BUG=92292 TEST=None Review URL: http://codereview.chromium.org/7604030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96163 0039d316-1c4b-4281-b951-d872f2087c98
-
bashi@chromium.org authored
is selected so that input methods don't eat keyboard shortcuts. BUG=80772 TEST=manual Review URL: http://codereview.chromium.org/7554005 TBR=bashi@chromium.org Review URL: http://codereview.chromium.org/7604029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96162 0039d316-1c4b-4281-b951-d872f2087c98
-
kalman@chromium.org authored
Some general notes: - It's a lot of code for a single review, about 1.5K lines (plus tests, plus those generated docs, = 3.5K). Apologies. But it's close to the minimal amount of useful functionality. I've left some TODOs in the code to fix up soon. - No integration-style tests, but I'll start writing those now. Works from within a browser though. - Sync not hooked up yet, of course. - Ditto events. - Ditto thinking about incognito mode. - Ditto fun bugs like what happens if you set key "foo.bar" to "baz". - This is the first significant amount of C++ code I've ever written... so don't hold back. - The docs (i.e. my changes to extension_api.json) are a little incomplete, and I'm aware of that. A summary of the implementation: - There is an ExtensionSettings factory-type object which hands out ExtensionSettingsStorage areas for extensions. You may notice that I basically did the same thing that ExtensionPreferences does (so, lives with the profile, etc). - ExtensionSettingsStorage is a pure interface, with three implementations. - the main leveldb implementation. - a caching decorator, designed to sit on top of the leveldb implementation. - a "no-op" implementation which gives a trivial in-memory storage area when wrapped with a cache. This is used in the cases where the leveldb database fails to initialise (ExtensionSettings handles this). - and note that my plan is, when hooking up sync, that this will be implemented as another decorator. - ... the code is pretty well documented so not much else to say. For testing, turns out gtest is pretty snazzy. There are a bunch of test fixtrues in extension_settings_storage_unittest.h, so that 3 different configurations are tested: leveldb, leveldb + cache, and no-op + cache. BUG=47327 TEST=unit tests provided Review URL: http://codereview.chromium.org/7189029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96159 0039d316-1c4b-4281-b951-d872f2087c98
-
mnissler@chromium.org authored
R=hashimoto@chromium.org BUG=chromium-os:18955 TEST=Manual Review URL: http://codereview.chromium.org/7607028 TBR=zork@chromium.org Review URL: http://codereview.chromium.org/7497059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96158 0039d316-1c4b-4281-b951-d872f2087c98
-
zork@chromium.org authored
R=hashimoto@chromium.org BUG=chromium-os:18955 TEST=Manual Review URL: http://codereview.chromium.org/7607028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96157 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-release@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96156 0039d316-1c4b-4281-b951-d872f2087c98
-
kinuko@chromium.org authored
The older code could screw up pending_operations_ in QuotaFileIO when another Write is issued in WriteCallback. This patch is to fix the issue by always firing callbacks asynchronously. BUG=86556 TEST=test_shell_tests:QuotaFileIOTest.* Review URL: http://codereview.chromium.org/7508010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96154 0039d316-1c4b-4281-b951-d872f2087c98
-
kerz@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96151 0039d316-1c4b-4281-b951-d872f2087c98
-
bashi@chromium.org authored
is selected so that input methods don't eat keyboard shortcuts. BUG=80772 TEST=manual Review URL: http://codereview.chromium.org/7554005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96149 0039d316-1c4b-4281-b951-d872f2087c98
-
altimofeev@chromium.org authored
Also: * fixes drop-down buttons layout. * overlay for catching outside the menu clicks is implemented (mimics standard select control behavior). BUG=chromium-os:18826 TEST=manual Review URL: http://codereview.chromium.org/7550070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96147 0039d316-1c4b-4281-b951-d872f2087c98
-
hashimoto@chromium.org authored
BUG=chromium-os:18897 TEST=Turn on accessibility on the OOBE screen by pressing Ctrl+Alt+z. Continue to the update page. Ensure that it's spoken. Review URL: http://codereview.chromium.org/7606021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96146 0039d316-1c4b-4281-b951-d872f2087c98
-
krisr@chromium.org authored
Review URL: http://codereview.chromium.org/7605025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96145 0039d316-1c4b-4281-b951-d872f2087c98
-
gcasto@chromium.org authored
BUG=92267 TEST=Ran PhishingTermFeatureExtractor unittest under valgrind. Review URL: http://codereview.chromium.org/7604022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96143 0039d316-1c4b-4281-b951-d872f2087c98
-
scottmg@chromium.org authored
On Windows, when linking non-incrementally the functions that call the CrOS-only code are dead-stripped so there's no error, but with incremental linking the link fails. BUG=92171 TEST=Links on all platforms Review URL: http://codereview.chromium.org/7497040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96141 0039d316-1c4b-4281-b951-d872f2087c98
-
zork@chromium.org authored
R=dmazzoni BUG=chromium-os:14804 TEST=Press ctrl+alt+z on the OOBE screen to enable accessibility. Continue to the Terms of service page. Press tab to move focus to the DOM view. Press shift + space + down to navigate the EULA. Ensure that it's spoken. Review URL: http://codereview.chromium.org/7609001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96136 0039d316-1c4b-4281-b951-d872f2087c98
-
morrita@google.com authored
Extracted - ProfileImpl::spellcheck_host_ready - ProfileImpl::spellcheck_host_ - ProfileImpl::spellcheck_host_metrics_ into newly created SpellCheckProfile. This is a preparation for implementing SyncableService. TEST=SpellCheckProfileTest.* BUG=none Review URL: http://codereview.chromium.org/7583003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96135 0039d316-1c4b-4281-b951-d872f2087c98
-
akalin@chromium.org authored
BUG= TEST= Review URL: http://codereview.chromium.org/7607012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96134 0039d316-1c4b-4281-b951-d872f2087c98
-
xiyuan@chromium.org authored
There are cases where Gaia authentication passed but login still fails, e.g. using a valid Google account that is not in whitelist. We want to reset Gaia UI with an error message when this happens. BUG=chromium-os:18801 TEST=Verify fix for chromium-os:18801. Review URL: http://codereview.chromium.org/7607019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96133 0039d316-1c4b-4281-b951-d872f2087c98
-
xiyuan@chromium.org authored
Manually unfreezes hosting window until WebUI OOBE/Login tab is rendered the first time to avoid the white screen when transitioning from boot splash. This CL is based Oshima's r88345 and I have left a TODO to merge the logic. BUG=chromium-os:18501 TEST=Verify fix for chromium-os:18501. Review URL: http://codereview.chromium.org/7607011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96132 0039d316-1c4b-4281-b951-d872f2087c98
-
isherman@chromium.org authored
BUG=92121 TEST=unit_tests --gtest_filter=FormStructureTest.*Autocompletetype*; browser_tests --gtest_filter=FormManagerTest.WebFormControlElementToFormFieldAutocompletetype Review URL: http://codereview.chromium.org/7602006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96131 0039d316-1c4b-4281-b951-d872f2087c98
-
dhollowa@chromium.org authored
Adds suppressions for leaks in ppapi::VarTracker. BUG=92279 TEST=Valgrind bots go green. TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/7606022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96130 0039d316-1c4b-4281-b951-d872f2087c98
-
dhollowa@chromium.org authored
Adds further suppressions for PhishingTermFeatureExtractorTest. BUG=92267 TEST=Valgrind bots go green. TBR=gcasto@chromium.org Review URL: http://codereview.chromium.org/7604026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96129 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
BUG=none TEST=none TBR=rsleevi Review URL: http://codereview.chromium.org/7590019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96128 0039d316-1c4b-4281-b951-d872f2087c98
-
sadrul@chromium.org authored
views-desktop: Add the desktop-window as an observer for a widget when it gets added to the desktop. This fixes sending keyboard events to the browser in views-desktop. TBR=sky@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/7604024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96126 0039d316-1c4b-4281-b951-d872f2087c98
-
mad@chromium.org authored
A language from the accepted list was converted before being validated, but the unconverted version was returned. BUG=90106 Review URL: http://codereview.chromium.org/7589002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96125 0039d316-1c4b-4281-b951-d872f2087c98
-
lambroslambrou@chromium.org authored
Check all injected mouse positions, not just the first one, to deal with possibility that mouse-injection API might fail. Also rename recent_remote_mouse_positions_ to injected_mouse_positions_ to emphasize these are the events that were (attempted to be) injected into the host. BUG=None TEST=Use buggy Mac client to send invalid mouse position to Linux host (move mouse off-screen. Review URL: http://codereview.chromium.org/7604007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96124 0039d316-1c4b-4281-b951-d872f2087c98
-
wtc@chromium.org authored
R=eroman@chromium.org BUG=none TEST=no compilation errors Review URL: http://codereview.chromium.org/7497052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96123 0039d316-1c4b-4281-b951-d872f2087c98
-
tony@chromium.org authored
BUG=23581 Review URL: http://codereview.chromium.org/7552026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96122 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
As of http://codereview.chromium.org/7471028, clang is used as host compiler as well, so this check is no longer necessary. In fact, it's harmful: In http://codereview.chromium.org/7550002 , a dependency on base is added on the host side, which doesn't build with clang because e.g. -Wno-char-subscript isn't used, which means base/third_party/dmg_fp/dtoa.cc doesn't build cleanly in host compiler mode. BUG=none TEST=happy pkasting Review URL: http://codereview.chromium.org/7606012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96121 0039d316-1c4b-4281-b951-d872f2087c98
-
hashimoto@chromium.org authored
LoadScriptContent outputs meaningful log when |path| is empty BUG=None TEST=compiles successfully Review URL: http://codereview.chromium.org/7528021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96115 0039d316-1c4b-4281-b951-d872f2087c98
-
gcasto@chromium.org authored
BUG=92267 TEST=None Review URL: http://codereview.chromium.org/7497053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96113 0039d316-1c4b-4281-b951-d872f2087c98
-
cbentzel@chromium.org authored
A fairly recent change introduced a history of page_ids for each RenderView, to validate that Navigation's go to legitimate pages. In the prerender and instant cases, the history of page_id's was not accurate, because it was not offset to reflect the point in time when the page was swapped in. For example, if the history for the tab looks like about:blank http://www.launchprerender.com/ http://www.prerendered_page.com/first_page.html http://www.prerendered_page.com/second_page.html The history of page_id's in the prerender-page RenderView should look like [-1, -1, 13, 14] - with the first two entries being -1 since they are not captured in this render view. Before this fix, it would look like [13, 14] - and when the back navigation was attempted, the length was not as long as expected. BUG=89798 TEST=Go to prerender_test.appspot.com, do a prerender on dev.chromium.org, click on a link within dev.chromium.org, press back and see that it works instead of spinning forever. Also, browser_tests --gtest_filter=*BackToPrerenderedPage, which fails without the change. Review URL: http://codereview.chromium.org/7491096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96109 0039d316-1c4b-4281-b951-d872f2087c98
-
rsleevi@chromium.org authored
GTTF: Use a fresh TestingBrowserProcess for each test, part #5 For a detailed description see part #1, http://codereview.chromium.org/6478005/ This CL fixes the bug fully on Windows. More platforms will follow. BUG=61062 TEST=unit_tests, possibly more Review URL: http://codereview.chromium.org/7601006 TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/7552029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96107 0039d316-1c4b-4281-b951-d872f2087c98
-
sergeyu@chromium.org authored
BUG=None TEST=Unittests. Review URL: http://codereview.chromium.org/7508044 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/7604021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96106 0039d316-1c4b-4281-b951-d872f2087c98
-
sergeyu@chromium.org authored
BUG=None TEST=None Review URL: http://codereview.chromium.org/7604014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96105 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
BUG=91371 TEST=none Review URL: http://codereview.chromium.org/7605014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96104 0039d316-1c4b-4281-b951-d872f2087c98
-
apatrick@chromium.org authored
A gyp file that generates a Visual studio solution for only certain targets and their transitive dependencies. Review URL: http://codereview.chromium.org/7528011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96103 0039d316-1c4b-4281-b951-d872f2087c98
-
- 09 Aug, 2011 2 commits
-
-
bradnelson@google.com authored
BUG=None TEST=None R=ncbray@google.com Review URL: http://codereview.chromium.org/7552027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96101 0039d316-1c4b-4281-b951-d872f2087c98
-
phajdan.jr@chromium.org authored
standalone tarballs for V8. This will be useful for Linux distributions packaging shared library packages for V8. BUG=none Review URL: http://codereview.chromium.org/7600011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96099 0039d316-1c4b-4281-b951-d872f2087c98
-