| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://codereview.chromium.org/56123010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233383 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/52663002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232111 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move this outside of Chrome to enable moving ExtensionPrefs
to the top-level extensions/ directory.
BUG=313284
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/46073004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231905 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=308358
TBR=alecflett
Review URL: https://codereview.chromium.org/27635003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229020 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/26255002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229019 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduces crashes on the mac tests: http://build.chromium.org/p/chromium.mac/builders/Mac%2010.6%20Tests%20%28dbg%29%284%29/builds/34018/steps/unit_tests/logs/stdio
Specifically, these tests now crash:
TabStripControllerTest.TabCloseDuringDrag
TabposeWindowTest.TestModelObserver
TabposeWindowTest.TestShow
And this test suite is referenced in this patch.
> Update defaults for InstantExtended.
>
> Flip the InstantExtended New Tab page to on by default and remove the flags.
> Add a separate flag to control query in the omnibox (which is still off by
> default).
>
> Also fixes a ton of tests that needed adjusting for Instant Extended. Mostly
> the changes stem from the fact that we're prerendering the Instant Extended
> New Tab page which changes assumptions in a bunch of tests.
>
> BUG=297915
>
> Review URL: https://codereview.chromium.org/24733003
TBR=samarth@chromium.org
Review URL: https://codereview.chromium.org/27235010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228794 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Flip the InstantExtended New Tab page to on by default and remove the flags.
Add a separate flag to control query in the omnibox (which is still off by
default).
Also fixes a ton of tests that needed adjusting for Instant Extended. Mostly
the changes stem from the fact that we're prerendering the Instant Extended
New Tab page which changes assumptions in a bunch of tests.
BUG=297915
Review URL: https://codereview.chromium.org/24733003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228779 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
NOTRY=true
BUG=298445
Review URL: https://codereview.chromium.org/25981002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228213 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Suggest timvolodine@chromium.org as additional reviewer.
Review URL: https://chromiumcodereview.appspot.com/23556013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225045 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specifically for the bug being fixed, if the hash is not stripped, and it changes while the info bar is displayed, then an equality comparison will fail needlessly later.
Also, use WebContents::GetLastCommittedURL instead of the deprecated GetURL.
BUG=286667
Review URL: https://chromiumcodereview.appspot.com/23440030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223078 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
It was generally referred to in file names as location_arbitrator, but the class was called GeolocationArbitrator.
Review URL: https://chromiumcodereview.appspot.com/23844003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222338 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=278486
Review URL: https://chromiumcodereview.appspot.com/23545007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220206 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, just closing infobar doesn't invoke any callback for JavaScript
APIs, e.g., Geolocation, and Web MIDI. But, it is better to invoke
a failure callback and not to cache the negative response.
BUG=none
TEST=manual
TBR=joth@chromium.org, scherkus@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23307004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218730 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/23236003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218067 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
These tests were hangy and crashy on Mac and Win at some point in the past. Much has changed since then, and some of that was specifically aimed at making the tests less flaky.
BUG=44589
Review URL: https://chromiumcodereview.appspot.com/23056004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217650 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
A lot has changed since they were diabled and they may no longer be flaky.
BUG=176291
Review URL: https://chromiumcodereview.appspot.com/21851003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215361 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=257618
TBR=jochen@chromium.org
Review URL: https://chromiumcodereview.appspot.com/20990005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215257 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Assertion changes: Tests should verify things that could fail, and not verify
things that can't
* Rename "infobar_delegate" to "infobar" to reduce refactor diff
* Whitespace/comment tweaks
* Move AppMetroInfoBarDelegateWin out of "chrome" namespace
* Infobar -> InfoBar
* Remove some erroneous header guards from a .cc file
BUG=none
TEST=none
R=sky@chromium.org
Review URL: https://codereview.chromium.org/19759006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213517 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make these stuff available from other content settings, e.g. Web MIDI.
This change still have dependency from PermissionQueueController to
GeolocationInfoBarDelegate. It will be removed by the following change.
TEST=PermissionQueueControllerTests
BUG=257618
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/19376004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213063 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GeolocationSettingsState is an useful class to be shared with
other content settings, e.g. coming one for Web MIDI.
TEST=ContentSettingsUsageStateTests.*
BUG=257618
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/19375002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213057 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
R=sky
BUG=237267
Review URL: https://chromiumcodereview.appspot.com/19462014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212707 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename various things from "delegate" to "infobar", mostly to minimize the
diff later when the underlying types change from InfoBarDelegate to InfoBar,
also to be less confusing in some places.
* Fix indenting
* Hoist a dependency from GeolocationInfoBarDelegate() to Create() to make
dependencies more direct and require fewer forward-declarations (will become
necessary later when class no longer takes an InfoBarService*)
BUG=none
TEST=none
R=bulach@chromium.org
Review URL: https://codereview.chromium.org/19778007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212649 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Add mvanouwerkerk as reviewer, but not yet an OWNER (as not yet a committer)
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/19494008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212596 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When asking if an extension should have access to a given frame, we need to
consider the frame's URL and also if the frame is sandboxed. We check the latter
by asking if the frame's security origin is the unique origin. However, we can
only usefully do this in the render process when examining a frame. In the
browser process or other common code, there's no useful origin to use other than
one that duplicates information in the URL.
This does security checks in the render process before doing any URL-based
lookups and then uses URLs from that point on.
R=abarth, mpcomplete
BUG=259982,237267
Review URL: https://chromiumcodereview.appspot.com/16625012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212302 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=260807
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/19556004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212189 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=brettw
Review URL: https://codereview.chromium.org/19074002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211285 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix wrong indenting
* Style guide compliance, in particular:
** Enforce "no protected data members" in geolocation_browsertest.cc (use accessors instead)
** All .cc files including tests should declare the .h they're implementing/testing first
* Shorten code in some places
* Infobar -> InfoBar
* Declare more destructors (makes it clearer if the class has a virtual destructor, makes it more obvious that the destructor doesn't need to do anything special)
BUG=none
TEST=none
R=bulach@chromium.org
Review URL: https://codereview.chromium.org/18338012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210622 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL is a prerequisite for putting Chrome in charge of all power
management settings. Since the power management defaults on the login
screen differ from those during a user session, the default values of
the power prefs should be set differently for the login profile.
This CL has no functional changes. It just does the following:
1/ Split chrome::RegisterUserPrefs() into:
* chrome::RegisterUserProfilePrefs()
* chrome::RegisterLoginProfilePrefs()
2/ Rename all other RegisterUserPrefs() methods to RegisterProfilePrefs().
BUG=241794
TEST=Updated unit and browser tests
TBR=jochen@chromium.org (blanket rename of RegisterUserPrefs() in chrome/)
TBR=asargent@chromium.org (blanket rename of RegisterUserPrefs() in apps/)
TBR=joi@chromium.org (blanket rename of RegisterUserPrefs() in components/)
Review URL: https://chromiumcodereview.appspot.com/18199003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210310 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=229660
TBR=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/18054023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209705 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This eliminates a whole class of problems with SpawnedTestServer
failing to start.
BUG=96594, 98194
R=asargent@chromium.org, rsleevi@chromium.org, sky@chromium.org
Review URL: https://codereview.chromium.org/16268017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208784 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL changes the majority of include paths from the old
Source/WebKit/chromium/public to the new public/web directory.
TBR=darin
BUG=239545
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/17148003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206664 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Remove forwarding header
BUG=
R=avi@chromium.org
Review URL: https://codereview.chromium.org/16667019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205584 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=247723
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/16703006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205319 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/16561007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204977 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unnecessary real threads.
This CL creates a new class, TestBrowserThreadBundle, that creates a TestBrowserThread for the most commonly needed BrowserThreads. It also adds this thread bundle into RenderViewHostTestHarness because most tests that use this harness need these threads in order to run. To support TestBrowserThreadBundle, BrowserThreadImpl's test construction was also modified to understand a NULL message_loop.
Aside from introducing the new class, this CL also removes:
(1) unnecessary constructors in test
(2) DISALLOW_COPY_AND_ASSIGNS in test fixtures*
(3) now redundant TestBrowserThreads from tests
(4) bad access-level changes for SetUp() and TearDown()
(5) using declarations that root off the global scope
(6) uses of MessageLoop's RunUntilIdle() and Quit()
(7) as many real threads as possible
There are also a changes to MediaCaptureDevicesDispatcher and OneClickSigninHelper that allow unittests to cut dependencies on IO thread activity. DesktopNotificationServiceTest (and a couple of others) were also made single threaded because the synchronization logic required for a non-flaky test meant the parallelism only really exercised the extra code in the test that forced the serialization.
* DISALLOW_COPY_AND_ASSIGN does not serve much purpose in GTest fixture types. However, using it removes the compile-provided default constructor which forces the fixture writer to provide an empty default constructor. Since GTest recommends the default constructor as the preferred method to do setup for a test (as opposed to the SetUp() method), it's confusing to have bunch of classes with both SetUp() and a default constructor. It's simpler and uses less code to just remove the DISALLOW_COPY_AND_ASSIGN. An alternative would be to use the default constructor for initialization, but this is not possible because of our test harnesses are inheritance based which means it is impossible for a derived fixture to perform initialization before the harness if we use the GTest preferred default constructor initialization pattern.
TBR=avi,battre,ben,benwells,brettw,dbeam,dimich,joi,joth,mad,marja,markusheintz,noelallen,phajdan,rdsmith,satorux,scherkus,sky,stevenjb,stuartmorgan,timsteele
BUG=159193
Review URL: https://chromiumcodereview.appspot.com/14197014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204603 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Linux fixes, Part 3 of N
BUG=110610
TBR=darin
Review URL: https://chromiumcodereview.appspot.com/16296002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203626 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These headers have moved from Source/Platform/chromium/public to
public/platform. This CL updates chrome's references to the old location to
point to the new location. After this CL lands, I'll remove the forwarding
headers that are letting these references still work.
TBR=jamesr@chromium.org
BUG=239545
Review URL: https://chromiumcodereview.appspot.com/16109004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203133 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL updates chrome/browser/* other than chrome/browser/ui which is in
another CL.
BUG=236029
TBR=brettw
Review URL: https://chromiumcodereview.appspot.com/14113053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202664 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=227219
R=joi@chromium.org
Review URL: https://codereview.chromium.org/15517005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201634 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Renames of the classes and methods will follow in separate patch(es).
BUG=227219
R=erg@chromium.org, joi@chromium.org
Review URL: https://codereview.chromium.org/14743010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201167 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Splits apart the GetIcon() call to allow accessing the ID of the resource in
addition to the loaded image. This is needed so that the Android port can
determine which of the Java-side resources it needs to load for its UI.
* GetIconID() is a function that gets overridden by subclasses instead of
GetIcon(). GetIconID() returns the IDR_* tag that represents the icon that
it would normally load.
* GetIcon() now calls GetIconID() and shouldn't be overridden.
* Small change to the SimpleAlertInfoBarDelegate::Create() call to account
for invalid icon IDs (was NULL for bitmaps, 0 for non-existent icons).
BUG=237034
Review URL: https://chromiumcodereview.appspot.com/15067008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200598 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a part of replacing most usages of the Python test server
with an in-process C++ test server that should be easier to debug.
BUG=96594
R=rch@chromium.org
Review URL: https://codereview.chromium.org/14691006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198783 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
TBR=joi@chromium.org,jam@chromium.org,digit@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14636005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198755 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=180785
R=joi@chromium.org
TBR=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14622003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198384 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This drops a dependency on Profile in the interface of ProfileKeyedService
infrastructure, and adds helper functions that make it explicit what is being
done (it's not obvious just from "return context" for example that this will
result in the service having its own instance in Incognito mode instead
of no instance).
BUG=227219
R=erg@chromium.org, joi@chromium.org
Review URL: https://codereview.chromium.org/13865012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198232 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a part of replacing most usages of the Python test server
with an in-process C++ test server that should be easier to debug.
BUG=96594
R=rch@chromium.org
Review URL: https://codereview.chromium.org/14702004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198151 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't define complex functions inline
* Use DISALLOW_COPY_AND_ASSIGN where appropriate
* Make consistent the headers on sections of a class declaration or .cc file
* Use two newlines between major sections of a .cc file
BUG=none
TEST=none
R=sky@chromium.org
Review URL: https://codereview.chromium.org/14619002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198027 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make overriding functions as private as possible
* Make declaration order match definition order
* Fix a few other problems with section order not following the style guide
* For consistency, list functions in order: virtuals, non-virtuals, macro-based declarations
* In a few .cc files, try to keep class declarations and definitions together
* In a few .cc files, move enums into the classes the use them
BUG=none
TEST=none
R=sky@chromium.org
Review URL: https://codereview.chromium.org/14383022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197198 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
instead of Profile. This will help move it out of chrome.
BUG=227219
Review URL: https://codereview.chromium.org/14141006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196777 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
places that do owner()->web_contents() currently, and will also make the future
transition to owners living on the InfoBar instead of the delegate easier.
This also fixes a couple places that didn't use OpenURL() to navigate and removes one unnecessary override.
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/14327013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195982 0039d316-1c4b-4281-b951-d872f2087c98
|