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

Issue 228603003: Password bubble: Move WebContents completely into the UI controller. (Closed)

Created:
6 years, 8 months ago by Mike West
Modified:
6 years, 7 months ago
Reviewers:
markusheintz_
CC:
chromium-reviews, tfarina, vabr (Chromium)
Visibility:
Public.

Description

Password bubble: Move WebContents completely into the UI controller. The model shouldn't know about WebContents. I think. BUG=261628

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -54 lines) Patch
M chrome/browser/ui/passwords/manage_passwords_bubble_model.h View 4 chunks +6 lines, -9 lines 1 comment Download
M chrome/browser/ui/passwords/manage_passwords_bubble_model.cc View 4 chunks +15 lines, -43 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller.cc View 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Mike West
For our discussion tomorrow, Markus: I don't think the Model should know about WebContents. Should ...
6 years, 8 months ago (2014-04-08 14:54:56 UTC) #1
Mike West
On 2014/04/08 14:54:56, Mike West wrote: > For our discussion tomorrow, Markus: I don't think ...
6 years, 8 months ago (2014-04-09 18:37:23 UTC) #2
markusheintz_
https://codereview.chromium.org/228603003/diff/1/chrome/browser/ui/passwords/manage_passwords_bubble_model.h File chrome/browser/ui/passwords/manage_passwords_bubble_model.h (right): https://codereview.chromium.org/228603003/diff/1/chrome/browser/ui/passwords/manage_passwords_bubble_model.h#newcode22 chrome/browser/ui/passwords/manage_passwords_bubble_model.h:22: ManagePasswordsBubbleUIController* ui_controller); Instead of passing the UI controller to ...
6 years, 8 months ago (2014-04-10 13:26:31 UTC) #3
markusheintz_
On 2014/04/10 13:26:31, markusheintz_ wrote: > https://codereview.chromium.org/228603003/diff/1/chrome/browser/ui/passwords/manage_passwords_bubble_model.h > File chrome/browser/ui/passwords/manage_passwords_bubble_model.h (right): > > https://codereview.chromium.org/228603003/diff/1/chrome/browser/ui/passwords/manage_passwords_bubble_model.h#newcode22 > ...
6 years, 7 months ago (2014-04-29 07:52:38 UTC) #4
Mike West
6 years, 7 months ago (2014-04-29 07:56:04 UTC) #5
On 2014/04/29 07:52:38, markusheintz_ wrote:
> On 2014/04/10 13:26:31, markusheintz_ wrote:
> >
>
https://codereview.chromium.org/228603003/diff/1/chrome/browser/ui/passwords/...
> > File chrome/browser/ui/passwords/manage_passwords_bubble_model.h (right):
> > 
> >
>
https://codereview.chromium.org/228603003/diff/1/chrome/browser/ui/passwords/...
> > chrome/browser/ui/passwords/manage_passwords_bubble_model.h:22:
> > ManagePasswordsBubbleUIController* ui_controller);
> > Instead of passing the UI controller to the model you could also define a
> model
> > observer. Then the model must not know anything about the controller and is
> easy
> > to test.
> > 
> > This means on the end only the controller knows about the model and the view
> but
> > the other don't know about the controller.
> > 
> > Given that the model will only be used by the controller and all belongs
> > together. I guess that is also ok.
> 
> Should I take another look at this CL?

No, it's been obsoleted by other CLs. Thanks!

Powered by Google App Engine
This is Rietveld 408576698