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

Issue 2579703003: Using ShellObserver instead of creating MaximizeModeController::Observer (Closed)

Created:
4 years ago by Qiang(Joe) Xu
Modified:
4 years ago
Reviewers:
Daniel Erat
CC:
chromium-reviews, kalyank, sadrul, oshima+watch_chromium.org, derat+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Using ShellObserver instead of creating MaximizeModeController::Observer Changes: MaximizeModeController's EnableMaximizeModeWindowManager (which is called in EnterMaximizeMode and LeaveMaximizeMode) will fire events for ShellObserver. Thus we don't need to create duplicate observers in MaximizeModeController. BUG=633304 TEST=automated tests Committed: https://crrev.com/4d0923a66bb239acfec65cdff715f66c4171bb02 Cr-Commit-Position: refs/heads/master@{#439226}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -52 lines) Patch
M ash/common/wm/maximize_mode/maximize_mode_controller.h View 3 chunks +1 line, -20 lines 0 comments Download
M ash/common/wm/maximize_mode/maximize_mode_controller.cc View 6 chunks +3 lines, -17 lines 0 comments Download
M ash/system/chromeos/power/tablet_power_button_controller.h View 3 chunks +5 lines, -5 lines 0 comments Download
M ash/system/chromeos/power/tablet_power_button_controller.cc View 4 chunks +5 lines, -6 lines 0 comments Download
M ash/system/chromeos/power/tablet_power_button_controller_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
Qiang(Joe) Xu
Hi Daniel, please take a look for this update, thanks!
4 years ago (2016-12-16 03:36:01 UTC) #5
Daniel Erat
lgtm thanks for simplifying this code!
4 years ago (2016-12-16 16:07:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2579703003/1
4 years ago (2016-12-16 23:07:48 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-16 23:13:22 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-16 23:16:11 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4d0923a66bb239acfec65cdff715f66c4171bb02
Cr-Commit-Position: refs/heads/master@{#439226}

Powered by Google App Engine
This is Rietveld 408576698