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

Issue 607613002: Elim parent_window parameter from network_connect (Closed)

Created:
6 years, 2 months ago by stevenjb
Modified:
6 years, 2 months ago
Reviewers:
armansito, sky
CC:
chromium-reviews, dbeam+watch-options_chromium.org, sadrul, nkostylev+watch_chromium.org, ben+ash_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Elim parent_window parameter from network_connect We were passing a 'parent_window' parameter to the network_connect::ConnectToNetwork() in an effort to open network configuration dialogs from the desktop they were triggered from. This was never a good idea since gfx::NativeWindow is actually a pointer which may become invalid before the callback is triggered. In practice this is unnecessary since we decided that all network configuration applies to the primary user, so we should always use the currently active desktop to host the dialog (which is what GetNativeWindow() does in ash_system_tray_delegate.cc). BUG=413925 Committed: https://crrev.com/03f26fbfc374e0f2ff4f101a2d2472363ee860a7 Cr-Commit-Position: refs/heads/master@{#296969}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Elim includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -76 lines) Patch
M ash/system/chromeos/network/network_connect.h View 1 2 chunks +1 line, -5 lines 0 comments Download
M ash/system/chromeos/network/network_connect.cc View 13 chunks +15 lines, -24 lines 0 comments Download
M ash/system/chromeos/network/network_state_list_detailed_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/network/network_state_notifier_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/default_system_tray_delegate.h View 1 chunk +2 lines, -4 lines 0 comments Download
M ash/system/tray/default_system_tray_delegate.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M ash/system/tray/system_tray_delegate.h View 1 2 chunks +3 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/mobile/mobile_activator.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/status/network_menu.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_linux.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_win.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 3 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
stevenjb
6 years, 2 months ago (2014-09-25 18:05:32 UTC) #2
sky
LGTM https://codereview.chromium.org/607613002/diff/1/ash/system/chromeos/network/network_connect.h File ash/system/chromeos/network/network_connect.h (right): https://codereview.chromium.org/607613002/diff/1/ash/system/chromeos/network/network_connect.h#newcode12 ash/system/chromeos/network/network_connect.h:12: #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow Hopefully you can remove ...
6 years, 2 months ago (2014-09-25 19:37:19 UTC) #3
stevenjb
https://codereview.chromium.org/607613002/diff/1/ash/system/chromeos/network/network_connect.h File ash/system/chromeos/network/network_connect.h (right): https://codereview.chromium.org/607613002/diff/1/ash/system/chromeos/network/network_connect.h#newcode12 ash/system/chromeos/network/network_connect.h:12: #include "ui/gfx/native_widget_types.h" // gfx::NativeWindow On 2014/09/25 19:37:18, sky wrote: ...
6 years, 2 months ago (2014-09-25 20:14:36 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/607613002/20001
6 years, 2 months ago (2014-09-26 16:43:21 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as f282a03d6470d0c8386d15f490a26a18e192f2b2
6 years, 2 months ago (2014-09-26 17:28:55 UTC) #7
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 17:29:41 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/03f26fbfc374e0f2ff4f101a2d2472363ee860a7
Cr-Commit-Position: refs/heads/master@{#296969}

Powered by Google App Engine
This is Rietveld 408576698