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

Issue 12224020: Use gfx::NativeView rather than gfx::NativeWindow to identify web contents modal dialogs (Closed)

Created:
7 years, 10 months ago by Mike Wittman
Modified:
7 years, 10 months ago
CC:
chromium-reviews, tfarina, sail+watch_chromium.org, dvh
Visibility:
Public.

Description

Use gfx::NativeView rather than gfx::NativeWindow to identify web contents modal dialogs The API suggested in the associated bug uses gfx::NativeView. This also enables the Cocoa implementation to be refactored to the interfaces associated with the new API. This is an intermediate step to get to where we can use the same WebContentsModalDialogManager implementation across all platforms. BUG=157161

Patch Set 1 #

Total comments: 1

Messages

Total messages: 15 (0 generated)
Mike Wittman
Ben, please review the non-Cocoa changes. Sailesh, please review chrome/browser/ui/web_contents_modal_dialog_manager* and the Cocoa changes. These ...
7 years, 10 months ago (2013-02-06 01:24:28 UTC) #1
Ben Goodger (Google)
Might be splitting hairs but can you explain in your cl desc why you're doing ...
7 years, 10 months ago (2013-02-06 01:30:21 UTC) #2
Mike Wittman
On 2013/02/06 01:30:21, Ben Goodger (Google) wrote: > Might be splitting hairs but can you ...
7 years, 10 months ago (2013-02-06 03:08:42 UTC) #3
dvh-g
-- Hoa V. Dinh On Tuesday, February 5, 2013 at 7:08 PM, wittman@chromium.org wrote: > ...
7 years, 10 months ago (2013-02-06 03:24:38 UTC) #4
Mike Wittman
On 2013/02/06 03:24:38, dvh wrote: > If it's a NSWindow, the dialog will come with ...
7 years, 10 months ago (2013-02-06 16:43:34 UTC) #5
sail
Hi Mike. Currently I have three ways to lookup or identify an instance of a ...
7 years, 10 months ago (2013-02-06 18:42:57 UTC) #6
dvh-g
> Using a gfx::NativeView probably won't work. In many cases we don't have a > ...
7 years, 10 months ago (2013-02-06 19:10:13 UTC) #7
sail
> Can't we embed every views of a dialog in a unique NativeView? Not in ...
7 years, 10 months ago (2013-02-06 19:14:22 UTC) #8
Mike Wittman
On 2013/02/06 18:42:57, sail wrote: > Hi Mike. > > Currently I have three ways ...
7 years, 10 months ago (2013-02-06 19:31:04 UTC) #9
sail
On 2013/02/06 19:31:04, Mike Wittman wrote: > On 2013/02/06 18:42:57, sail wrote: > > Hi ...
7 years, 10 months ago (2013-02-06 20:12:11 UTC) #10
Mike Wittman
On 2013/02/06 20:12:11, sail wrote: > On 2013/02/06 19:31:04, Mike Wittman wrote: > > On ...
7 years, 10 months ago (2013-02-06 21:37:56 UTC) #11
sail
On 2013/02/06 21:37:56, Mike Wittman wrote: > On 2013/02/06 20:12:11, sail wrote: > > On ...
7 years, 10 months ago (2013-02-06 21:43:30 UTC) #12
Mike Wittman
On 2013/02/06 21:43:30, sail wrote: > On 2013/02/06 21:37:56, Mike Wittman wrote: > > On ...
7 years, 10 months ago (2013-02-06 21:56:02 UTC) #13
sail
On 2013/02/06 21:56:02, Mike Wittman wrote: > On 2013/02/06 21:43:30, sail wrote: > > On ...
7 years, 10 months ago (2013-02-06 22:02:13 UTC) #14
Mike Wittman
7 years, 10 months ago (2013-02-07 00:36:17 UTC) #15
I've posted a new review for this based on the approach we've discussed in the
comments: https://codereview.chromium.org/12221055

Powered by Google App Engine
This is Rietveld 408576698