Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Issue 8624009: Refactor ContinueWindow::Show() to accept a callback parameter. (Closed)

Created:
9 years, 1 month ago by Lambros
Modified:
9 years, 1 month ago
Reviewers:
Sergey Ulanov, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Refactor ContinueWindow::Show() to accept a callback parameter. This gets rid of the DesktopEnvironment::OnPause() notification from the Host. Instead, that code is moved to DesktopEnvironment::ContinueSession() and provided as a callback function parameter to ContinueWindow::Show(). This will simplify a future CL to move the ContinueWindow/DisconnectWindow code into an IT2Me-specific HostObserver subclass. BUG=None TEST=No change in functionality. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111443

Patch Set 1 #

Patch Set 2 : Fix Win compile #

Patch Set 3 : Fix Mac compile #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -34 lines) Patch
M remoting/host/continue_window.h View 1 chunk +10 lines, -1 line 2 comments Download
M remoting/host/continue_window_linux.cc View 4 chunks +7 lines, -7 lines 0 comments Download
M remoting/host/continue_window_mac.mm View 1 2 4 chunks +19 lines, -8 lines 0 comments Download
M remoting/host/continue_window_win.cc View 1 4 chunks +8 lines, -6 lines 0 comments Download
M remoting/host/desktop_environment.h View 2 chunks +6 lines, -1 line 0 comments Download
M remoting/host/desktop_environment.cc View 3 chunks +14 lines, -10 lines 4 comments Download
M remoting/host/host_mock_objects.h View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Lambros
9 years, 1 month ago (2011-11-22 01:33:23 UTC) #1
Wez
LGTM http://codereview.chromium.org/8624009/diff/3001/remoting/host/desktop_environment.cc File remoting/host/desktop_environment.cc (right): http://codereview.chromium.org/8624009/diff/3001/remoting/host/desktop_environment.cc#newcode159 remoting/host/desktop_environment.cc:159: &DesktopEnvironment::ContinueSession, base::Unretained(this))); The intent is for ShowContinueWindow() and ...
9 years, 1 month ago (2011-11-23 18:26:02 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/8624009/diff/3001/remoting/host/continue_window.h File remoting/host/continue_window.h (right): http://codereview.chromium.org/8624009/diff/3001/remoting/host/continue_window.h#newcode26 remoting/host/continue_window.h:26: virtual void Show(ChromotingHost* host, I think the point of ...
9 years, 1 month ago (2011-11-23 19:23:15 UTC) #3
Lambros
http://codereview.chromium.org/8624009/diff/3001/remoting/host/continue_window.h File remoting/host/continue_window.h (right): http://codereview.chromium.org/8624009/diff/3001/remoting/host/continue_window.h#newcode26 remoting/host/continue_window.h:26: virtual void Show(ChromotingHost* host, On 2011/11/23 19:23:15, sergeyu wrote: ...
9 years, 1 month ago (2011-11-23 19:39:27 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lambroslambrou@chromium.org/8624009/3001
9 years, 1 month ago (2011-11-23 21:36:51 UTC) #5
commit-bot: I haz the power
9 years, 1 month ago (2011-11-23 23:39:51 UTC) #6
Change committed as 111443

Powered by Google App Engine
This is Rietveld 408576698