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

Issue 1151133003: Added an ActivationReason parameter to ActivationChangeObserver::OnWindowActivated(...). (Closed)

Created:
5 years, 6 months ago by bruthig
Modified:
5 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews, extensions-reviews_chromium.org, tdanderson+views_chromium.org, sadrul, tfarina, jam, tdanderson+overview_chromium.org, darin-cc_chromium.org, kalyank, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added an ActivationReason parameter to ActivationChangeObserver::OnWindowActivated(...). TEST=FocusControllerApiTest.DuplicateActivationEvents TEST=FocusControllerApiTest.ActivationEvents TEST=FocusControllerMouseEventTest.DuplicateActivationEvents TEST=FocusControllerMouseEventTest.ActivationEvents TEST=FocusControllerGestureEventTest.DuplicateActivationEvents TEST=FocusControllerGestureEventTest.ActivationEvents TEST=FocusControllerHideTest.ActivationEvents TEST=FocusControllerDestructionTest.ActivationEvents TEST=FocusControllerRemovalTest.ActivationEvents BUG=489813, 489814 Committed: https://crrev.com/5681d88c96e685a4e469105e8fcb382dc9893c9a Cr-Commit-Position: refs/heads/master@{#333048}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed sky@'s nit's from patch set 1. #

Patch Set 3 : Uploaded diff based on dependant CL. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+326 lines, -153 lines) Patch
M ash/content/display/screen_orientation_controller_chromeos.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/content/display/screen_orientation_controller_chromeos.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/display/display_controller_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/shelf/shelf_layout_manager.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/shelf/shelf_window_watcher.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/shelf/shelf_window_watcher.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/shell.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/shell.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/test/test_activation_delegate.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/test/test_activation_delegate.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/wm/mru_window_tracker.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/wm/mru_window_tracker.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/wm/overview/window_selector.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/wm/overview/window_selector.cc View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
M ash/wm/panels/panel_layout_manager.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/wm/panels/panel_layout_manager.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/app_window_launcher_controller.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/browser_status_monitor.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/browser_status_monitor.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_popup_aura.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_popup_aura.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ui/views/controls/menu/menu_message_loop_aura.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ui/views/widget/native_widget_aura.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ui/wm/core/default_activation_client.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ui/wm/core/default_activation_client.cc View 1 4 chunks +30 lines, -16 lines 0 comments Download
M ui/wm/core/focus_controller.h View 3 chunks +25 lines, -13 lines 0 comments Download
M ui/wm/core/focus_controller.cc View 1 6 chunks +59 lines, -44 lines 0 comments Download
M ui/wm/core/focus_controller_unittest.cc View 14 chunks +49 lines, -5 lines 0 comments Download
M ui/wm/core/shadow_controller.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ui/wm/core/shadow_controller.cc View 3 chunks +7 lines, -4 lines 0 comments Download
M ui/wm/public/activation_change_observer.h View 1 chunk +16 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
bruthig
*** NOTE: This CL is based off of https://codereview.chromium.org/1157843009/. sky@, can you please have a ...
5 years, 6 months ago (2015-06-04 17:42:37 UTC) #2
sky
LGTM https://codereview.chromium.org/1151133003/diff/1/ui/wm/core/default_activation_client.cc File ui/wm/core/default_activation_client.cc (right): https://codereview.chromium.org/1151133003/diff/1/ui/wm/core/default_activation_client.cc#newcode100 ui/wm/core/default_activation_client.cc:100: NULL, window); nullptr https://codereview.chromium.org/1151133003/diff/1/ui/wm/core/default_activation_client.cc#newcode139 ui/wm/core/default_activation_client.cc:139: next_active, NULL); nullptr ...
5 years, 6 months ago (2015-06-04 20:02:04 UTC) #3
bruthig
Addressed sky@'s nits from patch set 1. No need to review. https://codereview.chromium.org/1151133003/diff/1/ui/wm/core/default_activation_client.cc File ui/wm/core/default_activation_client.cc (right): ...
5 years, 6 months ago (2015-06-04 21:07:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1151133003/40001
5 years, 6 months ago (2015-06-04 21:10:34 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/94840)
5 years, 6 months ago (2015-06-04 21:27:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1151133003/40001
5 years, 6 months ago (2015-06-05 15:26:31 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-05 15:33:30 UTC) #12
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 15:34:32 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5681d88c96e685a4e469105e8fcb382dc9893c9a
Cr-Commit-Position: refs/heads/master@{#333048}

Powered by Google App Engine
This is Rietveld 408576698