DescriptionMake BrowserList::(Add|Remove)Observer add the observer to every desktop's browser list.
Also make it impossible to call AddObserver on an individual list from outside BrowserList.
This is to make sure the paradigm becomes that the consumer code is in charge of checking for HostDesktopType (should he care) upon receiving an event; allowing AddObserver to be called on an individual list would put burden on the reader to understand whether the events are coming from multiple browser lists or a single one (which seems unecessary for now).
BUG=129187
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182384
Patch Set 1 #Patch Set 2 : move friend to top of private section (since I need it for other methods in following CL) #Patch Set 3 : Need to friend the methods directly since they are static (otherwise linux_clang doesn't like it) #
Messages
Total messages: 6 (0 generated)
|