| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable IDC_SHOW_AVATAR_MENU for normal browser windows.
(full-screen and single-profile windows are now allowed)
(non-tabbed and incognito windows are still disallowed)
Nix BrowserCommandController's use of ProfileManager.
(no commands rely on the profile count anymore)
Cleanup some BrowserCommandController code.
Inline AvatarMenuButton::ShowAvatarBubble in BrowserView.
(ShowAvatarBubbleFromAvatarButton needs to set an anchor)
(single-profile windows have no avatar icon; use hotdogs)
Anchor to the Chrome menu button in Mac single-profile too.
Take an ArrowPaintType in AvatarMenuBubbleView::ShowBubble.
(lets fullscreen hide the arrow, there's no visible anchor)
(this corresponds with fullscreen bookmark bubble behavior)
Remove a stale Windows Valgrind DrMemory test exclusion entry.
(test name was changed, but the exclusion wasn't; isn't needed)
BUG=255452,167014
TEST=The avatar menu shows for Ctrl+Shift+M even in fullscreen and even for single-profile Chrome windows. Test with and without the experimental --new-profile-management, and in LTR and RTL Chrome UI modes.
R=pkasting@chromium.org, asvitkine@chromium.org
Review URL: https://codereview.chromium.org/264303006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270126 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This converts 200 more files.
TBR=sky
Review URL: https://codereview.chromium.org/108353004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239278 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL adds a user policy that determines whether fullscreen mode is
allowed and uses it to disallow fullscreen mode in public sessions.
BUG=275405
TEST=New browser tests
Review URL: https://chromiumcodereview.appspot.com/22986010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219482 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Previously they were pure virtual. Removed all empty overrides of
ProfileInfoCacheObserver methods, as they are no longer necessary.
BUG=247570
Review URL: https://chromiumcodereview.appspot.com/16035013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205488 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=155525
R=joi@chromium.org
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/12789006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189513 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
to sign in to Chrome. This will be used for example for one preference for managed user settings (Playpen project).
BUG=171370
TEST=unit_tests, browser_tests, manual
Review URL: https://chromiumcodereview.appspot.com/12088040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185359 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=170921
Review URL: https://codereview.chromium.org/12383009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185300 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove immersive mode button from maximized window frame
* Tie immersive mode to browser-fullscreen only, keep tab-fullscreen
with existing UI
* Size button exits immersive mode
* Add ImageButton::GetImage for testing
* Most browser commands are enabled in immersive fullscreen
BUG=177549
TEST=added to browser_tests views_unittests ash_unittests
Original review: https://codereview.chromium.org/12316086/
Review URL: https://chromiumcodereview.appspot.com/12328119
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184908 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change signin logic to allow signin if SyncDisabled policy is set.
Also broke out logic in SyncUIUtil into separate class so it can be used even
if sync is not enabled.
BUG=166148
Review URL: https://codereview.chromium.org/12077030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180301 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
This updates headers that forward-declare it and a few random places to use the namespace explicitly. There us a using declaration in file_path.h that makes the rest compile, which we can do in future passes.
Review URL: https://codereview.chromium.org/12163003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180245 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=170053
TEST=as in bug
Review URL: https://chromiumcodereview.appspot.com/11906008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178093 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reduces one more dependency on webkit from chrome.
BUG=146251
R=jam@chromium.org,ben@chromium.org
TBR=darin@chromium.org,tsepez@chromium.org
Review URL: https://codereview.chromium.org/12036003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178082 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=108367
TEST=Shortcut doesn't launch menu when there's a single profile.
Adding/deleting profiles propertly changes the state.
Review URL: https://chromiumcodereview.appspot.com/11574010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173756 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=107201
TEST=no visible change
Review URL: https://codereview.chromium.org/11577020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173207 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
R=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11308259
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171592 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
TBR=ben@chromium.org
BUG=155525
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170483
Review URL: https://chromiumcodereview.appspot.com/11280115
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170759 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TBR=ben@chromium.org
BUG=155525
Review URL: https://chromiumcodereview.appspot.com/11280115
Reason for revert: A review comment after commit showed that the
change is probably wrong (or at least changes behavior in a way that
was not intended). Reverting for now, until there is time to figure
out the correct change.
TBR=joi@chromium.org
Review URL: https://codereview.chromium.org/11308295
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170519 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=ben@chromium.org
BUG=155525
Review URL: https://chromiumcodereview.appspot.com/11280115
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170483 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL disables the "find in place" command if a constrained window is shown.
BUG=156969
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168440
Review URL: https://chromiumcodereview.appspot.com/11293259
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168688 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Reverting this CL because it included an unintentional change to chrome_browser_main.cc. I'll reland this afterwards with that change removed.)
This CL disables the "find in place" command if a constrained window is shown.
BUG=156969
Review URL: https://chromiumcodereview.appspot.com/11293259
TBR=sail@chromium.org
Review URL: https://codereview.chromium.org/11419076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168633 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This CL disables the "find in place" command if a constrained window is shown.
BUG=156969
Review URL: https://chromiumcodereview.appspot.com/11293259
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168440 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=107201
TEST=no visible change
Review URL: https://chromiumcodereview.appspot.com/11359201
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167955 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=107201
TEST=no visible change
Review URL: https://chromiumcodereview.appspot.com/11293205
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167122 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=107201
TEST=no visible change
Review URL: https://chromiumcodereview.appspot.com/11293204
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167104 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of using content::NotificationObserver, introduce specific
type-safe observer classes and update users to use them. In a very
large number of cases this was the users' only reason for being a
content::NotificationObserver and they would have a lot of
boiler-plate code such as a DCHECK on the notification type and
unpacking of the generic NotificationDetails types, so this change
removes a bunch of boilerplate and introduces more type safety.
This is part of enabling more of the Prefs code to live in
base/prefs/.
TBR=ben@chromium.org,brettw@chromium.org
BUG=155525
Review URL: https://chromiumcodereview.appspot.com/11345008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165414 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove command control from location bars and service changes.
Add GetUpdatedCommandEnabledState static service helper function.
Call GetUpdatedCommandEnabledState from ActionBoxMenuModel.
Add and expand on unit tests (remove GMock use from unit test).
BUG=102709,122183,125307
TEST=No Chrome To Mobile behavior changes.
Review URL: https://chromiumcodereview.appspot.com/11190063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163497 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to break dependencies back to Chrome.
This leaves the following in chrome/ for now, which will move later:
- PrefService, to move once sync dependencies and dependencies on
Chrome-specific pref stores are externalized.
- PrefNotifierImpl and PrefObserverMock, to move once
NotificationSource dependency is broken.
- PrefValueStore, to move once PrefModelAssociatior dependency is
externalized.
- ScopedUserPrefUpdate, to move once PrefService moves.
TBR=ben@chromium.org
BUG=155525
Review URL: https://chromiumcodereview.appspot.com/11243002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163354 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move ProfileSyncServiceObserver to API directory.
Use these to break Autofill's concrete dependency on ProfileSyncService.
Remove last usages of Profile in Autofill code (modulo usage in one file that I expect will be moved to chrome/browser/configuration).
TBR=ben@chromium.org,mechanicalowners@chromium.org
BUG=140037
Review URL: https://chromiumcodereview.appspot.com/10910071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157563 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Report - Stack Signature: content::RenderWidgetHostImpl::ForwardKeybo"
ben asked to revert this in the main trunk. The real fix will be in once Issue
142422 gets fixed.
This reverts commit 54bac78404d9b2d3ddb475526da8211414ae36b2.
R=skuhne@chromium.org
BUG=134465
Review URL: https://chromiumcodereview.appspot.com/10866009
TBR=skuhne@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10876066
TBR=yusukes@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10879066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153211 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Signature: content::RenderWidgetHostImpl::ForwardKeybo"
ben asked to revert this in the main trunk. The real fix will be in once Issue
142422 gets fixed.
This reverts commit 54bac78404d9b2d3ddb475526da8211414ae36b2.
R=skuhne@chromium.org
BUG=134465
Review URL: https://chromiumcodereview.appspot.com/10866009
TBR=skuhne@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10876066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153205 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
content::RenderWidgetHostImpl::ForwardKeybo"
ben asked to revert this in the main trunk. The real fix will be in once Issue
142422 gets fixed.
This reverts commit 54bac78404d9b2d3ddb475526da8211414ae36b2.
R=skuhne@chromium.org
BUG=134465
Review URL: https://chromiumcodereview.appspot.com/10866009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152729 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first step in breaking Autofill's concrete dependency on
prefs. These two classes are essentially utilities with very small
dependencies back to PrefService (which I will break in the next
change, by introducing a virtual PrefServiceBase) so they are suitable
for api.
TBRing other owners for mechanical changes.
TBR=ben@chromium.org
BUG=140037
Review URL: https://chromiumcodereview.appspot.com/10857031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152544 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
content::RenderWidgetHostImpl::ForwardKeybo
BUG=134465
TEST=by hand
Review URL: https://chromiumcodereview.appspot.com/10836186
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151121 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
For context see this thread:
https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II
TBR=thakis,pkasting,jam
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
|
|
Notes:
. BrowserCommandController now owns the CommandUpdater.
. CommandHandler's ExecuteCommand API was massaged a little so that ExecuteCommand/IsCommandEnabled/SupportsCommand methods are always called on it, rather than the wrapping controller.
. The creation of BCC was performed as a svn cp so that history for the various Exec methods could be easily carried forward.
. Various "CanFoo" methods were extracted from the UpdateFooState() methods and moved to CanFoo(const Browser* browser) in browser_commands.
http://crbug.com/133576
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10677009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144597 0039d316-1c4b-4281-b951-d872f2087c98
|