| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Fixed wrong use of GetActiveRootWindow in couple of places.
BUG=266378
Review URL: https://chromiumcodereview.appspot.com/23461048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222914 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
aura::Window is the wrong place to reason about all the different types of
external data that can go into layer, its delegate (RWHVA) is better suited. So
move that logic there.
BUG=263068
Review URL: https://chromiumcodereview.appspot.com/23444051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222735 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Remove unnecessary includes, forward decls
BUG=272460
Review URL: https://chromiumcodereview.appspot.com/24020002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221605 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It returned the fullscreen window (if any) in the active workspace,
and a workspace could contain only one fullscreen window at most.
However, now there's only one desktop workspace which can contain
multiple fullscreen windows.
To follow the past state, it would be better to return the active
fullscreen window first.
TEST=covered by ash_unittests
R=oshima@chromium.org, sky@chromium.org
BUG=None
Review URL: https://chromiumcodereview.appspot.com/23534049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221602 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=282582
Review URL: https://chromiumcodereview.appspot.com/23494022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221497 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=272460
Review URL: https://chromiumcodereview.appspot.com/23496024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220667 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CaptureController and DesktopCaptureClient differed only slightly, and
the latter wasn't always cleaning things up leading to the possibility
of a use after free. Specifically DesktopCaptureClient::SetCapture()
invokes OnOtherCaptureClientTookCapture() *after* updating the
capture_window_. SetCapture in term invokes SetCapture(NULL) on
the other DesktopCaptureClient, which call GetCaptureWindow(), which
returns the first non-null capture_client_, which can be the new one
when it wants the old one.
This change also means when both ash and aura-windows are running at
the same time capture is correctly updated between the two.
BUG=268648
TEST=covered by tests.
R=erg@chromium.org, oshima@chromium.org
Review URL: https://codereview.chromium.org/22929007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219019 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of simply deleting depth-first, it deletes all
toplevel windows first and then remove the containers.
This would be safer since all of the containers exist during deleting
the child windows.
This change would enable to eliminate other NULL checks in ash,
but it will be done in further CLs.
BUG=273310
R=derat@chromium.org, oshima@chromium.org
TEST=covered by the new test case
Review URL: https://chromiumcodereview.appspot.com/23219004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218488 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves aura's RootWindow::CopyAreaToSkCanvas() to
CopyAreaToCanvas() in x11_util and fixes some physical
vs. display-independent pixel confusion that resulted
in it always failing on non-1x systems.
BUG=152309
Review URL: https://chromiumcodereview.appspot.com/22910003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217669 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When user session is blocked (login screen, lock etc.), virtual keyboard container
window should still be able to process events to function properly.
BUG=263599
TEST=
1. Enable virtual keyboard
2. go to login screen
verify if you can use virtual keyboard to type you password and login
Review URL: https://chromiumcodereview.appspot.com/22465007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217159 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This should fix leaks reported on memory bots.
TBR=jyasskin@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/22299006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216200 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mouse can move between displays.
Added NoSessionAshTestBase for tests that should run before
a user logs in.
BUG=266987
TEST=covered by test
TBR=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/21519002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216184 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now DefaultContainer holds the normal windows.
BUG=264396
R=sky@chromium.org
TEST=ash_unittests still passes
Review URL: https://chromiumcodereview.appspot.com/21806009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215664 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now only a single workspace is provided to a user, so there's nothing
to 'manage' multiple workspaces.
Several property settings and code in the deleted code has been
moved to WorkspaceController and WorkspaceLayoutManager.
The test is also moved to WorkspaceControllerTest.
BUG=264396
R=sky@chromium.org
TEST=ash_unittests still passes
Review URL: https://chromiumcodereview.appspot.com/21148003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214869 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added IsUserSessionBlocked method indicating whether user session blocked by
some overlying UI (it can be lock/login/user adding UI).
Replaced IsScreenLocked() [|| IsActiveUserSessionStarted()] with
IsUserSessionBlocked() in several places in order to keep focus and user input
in locked container.
BUG=none
TEST=ash_unittests
R=sky
Review URL: https://chromiumcodereview.appspot.com/19945004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213524 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=233337
BUG=247085
This CL builds on https://codereview.chromium.org/13896026/ and adds a non-zero width dock. It is possible to add windows to the dock and it will update its width (insetting the workspace).
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212306
Review URL: https://chromiumcodereview.appspot.com/15719012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212535 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert 212306 "Dock with non-zero width"
> Dock with non-zero width
>
> BUG=233337
> BUG=247085
>
> This CL builds on https://codereview.chromium.org/13896026/ and adds a non-zero width dock. It is possible to add windows to the dock and it will update its width (insetting the workspace).
>
> Review URL: https://chromiumcodereview.appspot.com/15719012
TBR=varkha@chromium.org
Review URL: https://codereview.chromium.org/19592007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212352 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=233337
BUG=247085
This CL builds on https://codereview.chromium.org/13896026/ and adds a non-zero width dock. It is possible to add windows to the dock and it will update its width (insetting the workspace).
Review URL: https://chromiumcodereview.appspot.com/15719012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212306 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is set in container now, so no need to set individual window underneath.
* Set kStayInSameRootWindowKey to ShelfContainer, to be consistent with other containers.
* Rename launcher_container to shelf_container in RWC.cc.
BUG=256747
Review URL: https://chromiumcodereview.appspot.com/18688003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211331 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the black color was achieved by hiding the desktop background.
Now shelf's background color is opaque black instead.
The first patch (r210763) was reverted due to test failure in win8.
BUG=252422
TEST=covered by the new tests
TBR=jamescook@chromium.org
Review URL: https://chromiumcodereview.appspot.com/18637004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211053 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert 210763 "Sets the background color of shelf is opaque blac..."
> Sets the background color of shelf is opaque black when maximized.
>
> Previously the black color was achieved by hiding the desktop background.
> Now shelf's background color is opaque black instead.
>
> Note that right now BaseLayoutManagerTest fails, but it'll be fixed by
> crrev.com/18326024
>
> BUG=252422
> R=jamescook@chromium.org
> TEST=covered by the new tests
>
> Review URL: https://chromiumcodereview.appspot.com/18339008
TBR=mukai@chromium.org
Review URL: https://codereview.chromium.org/18980003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210772 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the black color was achieved by hiding the desktop background.
Now shelf's background color is opaque black instead.
Note that right now BaseLayoutManagerTest fails, but it'll be fixed by
crrev.com/18326024
BUG=252422
R=jamescook@chromium.org
TEST=covered by the new tests
Review URL: https://chromiumcodereview.appspot.com/18339008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210763 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A new preference is created showing if the projection touch HUD is
enabled or not. This preference is per-user and unsyncable. It is not
exposed anywhere in the UI, but can be toggled using the Ctrl+Alt+9
accelerator combination.
BUG=233567
Review URL: https://chromiumcodereview.appspot.com/18163006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210516 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=256747
TEST=covered by test
Review URL: https://chromiumcodereview.appspot.com/18602002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210402 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Fixed the order of method body to match the order in header.
BUG=253991
Review URL: https://chromiumcodereview.appspot.com/18266004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209915 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is part of https://codereview.chromium.org/16305009/ but lost due to merge error.
TBR=stevenjb@chromium.org
BUG=none
Review URL: https://chromiumcodereview.appspot.com/18420004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209755 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
- Move the ownership of controllers to RootWindowController
Start wallpaper animation after animating controller is set.
BUG=157159
Review URL: https://chromiumcodereview.appspot.com/17910007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209613 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
remove if (shelf_) as it should always be there.
BUG=253991
Review URL: https://chromiumcodereview.appspot.com/18323011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209575 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Projection mode is separated from the rest of the touch HUD. It now can
be toggled on/off using Ctrl+Alt+9 key combination and no command line
flag is needed. The rest of the touch HUD is still behind the
--ash-touch-log flag.
BUG=233567
Review URL: https://chromiumcodereview.appspot.com/17063013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209523 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Remove unnecessary includes
BUG=253991
R=jamescook@chromium.org
Review URL: https://codereview.chromium.org/18080004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209143 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=254986
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/18050008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209025 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=246603
TEST=Open a panel (i.e. hangouts) and double click and tap on header. Panel should minimize.
Review URL: https://chromiumcodereview.appspot.com/17175019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207949 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
views::ContextMenuController::ShowContextMenuForView.
This will help bring context menu positioning logic to one place and unify the
positioning logic for all views.
BUG=239110
Review URL: https://chromiumcodereview.appspot.com/16979002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207019 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=233331
Review URL: https://chromiumcodereview.appspot.com/13896026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207002 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is the result of running the rewrite_scoped_ptr_ctor_null tool
across all files built on CrOS in the ash/ directory.
BUG=173286
Review URL: https://chromiumcodereview.appspot.com/16968003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206125 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This partially undoes the changes from
https://chromiumcodereview.appspot.com/15702004
Rather than initializing Ash after Profile Init, initialize Ash first
and postpone CreateLauncher() and any other calls that may depend on
GetDefaultProfile() until after profiles have been initialized.
BUG=245055
Review URL: https://chromiumcodereview.appspot.com/16229008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203454 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is introduced to keep the consitent behavior of non-aura
Windows and aura.
BUG=241253
R=sky@chromium.org
TEST=covered by aura_unittests
Review URL: https://chromiumcodereview.appspot.com/15235002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201170 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is still not fully finished - but it is functional and might be useful for what you are doing (and already quite big as it is). Note that the functionality is controlled by the flag.
What is missing?
- There are no unit tests yet
- The visual Drop down box to add a new user is missing.
- The error message box which shows the error if there are already 3 users signed in is missing.
- At the moment I have ~7 lines of test code in there which I will remove before I check in. (I need them since the multi login still does not work for me)
I am not sure if you want to wait until I finish the issue - or if you'd rather want to have this to be able to rather merge early then later. I leave this up to you. If you are for the latter one, you can have at least a look at my changes and if they conflict with yours.
BUG=239201
TEST=visual
Review URL: https://chromiumcodereview.appspot.com/14756019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200978 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=239681
TEST=none
Review URL: https://chromiumcodereview.appspot.com/14584004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199368 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=234447, 233271
Test=ImmersiveModeControllerAshTest.TabAndBrowserFullscreen,
RootWindowController.GetFullscreenWindow
Review URL: https://chromiumcodereview.appspot.com/14340007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197400 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes three aspects of keyboard occlusion. When the keyboard is
showing:
- full-screen windows are resized to still be 100% visible
- panels are moved above the keyboard
- the shelf is hidden
This CL does not address:
- moving focused text fields into view in web pages
BUG=235157
Review URL: https://chromiumcodereview.appspot.com/14477010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197129 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a display is set as the primary display, its root window (and all
its children, including the widget showing the touch HUD) is replaced
with the old one's. But, the touch HUD widget is bound to display and
should not be swapped between the two displays. So, after swapping the
root windows, touch HUDs are swapped back to their own display.
Original Review URL: https://codereview.chromium.org/13460017/
BUG=172237
TBR=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14079010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196312 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Causes clang compile errors:
ash/touch/touch_observer_hud_unittest.cc:226:54:error: format specifies type 'long' but the argument has type 'int64' (aka 'long long') [-Werror,-Wformat]
DisplayInfo info(id, base::StringPrintf("x-%ld", id), false);
~~~ ^~
%lld
> Swap touch HUD when switching primary display
>
> When a display is set as the primary display, its root window (and all
> its children, including the widget showing the touch HUD) is replaced
> with the old one's. But, the touch HUD widget is bound to display and
> should not be swapped between the two displays. So, after swapping the
> root windows, touch HUDs are swapped back to their own display.
>
> BUG=172237
>
> Review URL: https://chromiumcodereview.appspot.com/13460017
TBR=mohsen@chromium.org
Review URL: https://codereview.chromium.org/14481002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196237 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a display is set as the primary display, its root window (and all
its children, including the widget showing the touch HUD) is replaced
with the old one's. But, the touch HUD widget is bound to display and
should not be swapped between the two displays. So, after swapping the
root windows, touch HUDs are swapped back to their own display.
BUG=172237
Review URL: https://chromiumcodereview.appspot.com/13460017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196235 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Otherwise restoring focused/active window may try to use stale display.
BUG=229158
Review URL: https://chromiumcodereview.appspot.com/14188054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195552 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
In r174057, ajwong@ added support for implicit testing to scoped_ptr<>. Removes
these in ash/.
BUG=232084
Review URL: https://codereview.chromium.org/14297013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194609 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The CL turned out to be innocent, the bots turned green without the revert.
> Revert 194578 "Add ash SessionStateDelegate"
>
> > Add ash SessionStateDelegate
> >
> > This CL refactors the ShellDelegate by adding a SessionStateDelegate to
> > which methods dealing with the session state can be moved. This cleans up
> > the huge ShellDelegate interface and paves the way for further Chrome OS
> > multiprofile work which will need to add several new methods related to
> > the session state.
> >
> > This CL is only the first step. Several other methods should also move to
> > SessionStateDelegate but I do not want to overburden a single CL.
> >
> > BUG=None
> > TEST=Manual and browser/unit tests
> >
> > TBR=sky (for c/b/idle_chromeos.cc and c/chrome_browser_ui.gypi)
> >
> > Review URL: https://codereview.chromium.org/14295008
>
> TBR=bartfab@google.com
>
> Review URL: https://codereview.chromium.org/14200034
TBR=gavinp@chromium.org
Review URL: https://codereview.chromium.org/14200038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194602 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Add ash SessionStateDelegate
>
> This CL refactors the ShellDelegate by adding a SessionStateDelegate to
> which methods dealing with the session state can be moved. This cleans up
> the huge ShellDelegate interface and paves the way for further Chrome OS
> multiprofile work which will need to add several new methods related to
> the session state.
>
> This CL is only the first step. Several other methods should also move to
> SessionStateDelegate but I do not want to overburden a single CL.
>
> BUG=None
> TEST=Manual and browser/unit tests
>
> TBR=sky (for c/b/idle_chromeos.cc and c/chrome_browser_ui.gypi)
>
> Review URL: https://codereview.chromium.org/14295008
TBR=bartfab@google.com
Review URL: https://codereview.chromium.org/14200034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194589 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Don't create the virtual keyboard until it is first shown. This helps
prevent some start-up races.
Also clean-up some of the object ownership between KeyboardController
and KeyboardLayoutManager. Each pointer exists in only one or the
other object now.
BUG=none
Review URL: https://codereview.chromium.org/13932030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194580 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL refactors the ShellDelegate by adding a SessionStateDelegate to
which methods dealing with the session state can be moved. This cleans up
the huge ShellDelegate interface and paves the way for further Chrome OS
multiprofile work which will need to add several new methods related to
the session state.
This CL is only the first step. Several other methods should also move to
SessionStateDelegate but I do not want to overburden a single CL.
BUG=None
TEST=Manual and browser/unit tests
TBR=sky (for c/b/idle_chromeos.cc and c/chrome_browser_ui.gypi)
Review URL: https://codereview.chromium.org/14295008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194578 0039d316-1c4b-4281-b951-d872f2087c98
|