| 
        
       | 
      
        
  
  [Home] Show correct BottomSheetContent toolbar when contents swapped
 * Detaches the BottomSheetContent toolbars and attaches them to a new
   toolbar holder FrameLayout when the user switches between panes in
   Chrome Home.
 * Hides/shows the normal toolbar when the default BottomSheetContent
   is hidden/visible.
 * Attaches the full download/history/bookmark UI rather than detaching
   and reattaching the content views. Attaching the full UI to the view
   hiearchy is necessary for numerous features to function.
 * Initializes SuggestionsBottomSheetContent when the sheet is opened
   if it hasn't yet been initialized.
BUG= 699598
Review-Url:  https://codereview.chromium.org/2751583002
Cr-Commit-Position: refs/heads/master@{#457591}
Committed:  https://chromium.googlesource.com/chromium/src/+/23587869aa25a885015ceabeeb63f44274f6ae26
   
  
  
  
  
   
  
  
  
    
      Total comments: 12
      
     
  
  
  
   
  
  
  
    
      Total comments: 8
      
     
  
  
  
   
  
  
  
    
      Total comments: 2
      
     
  
  
  
   
  
  
  
  
    
  
  
    
       | 
      Unified diffs | 
      Side-by-side diffs | 
      Delta from patch set | 
      Stats (+183 lines, -81 lines) | 
      Patch | 
     
    
      
          | 
        M | 
        
          
            chrome/android/java/res/layout/bottom_control_container.xml
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
         | 
        
          3 chunks | 
          +14 lines, -3 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/res/values-v17/styles.xml
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
         | 
        
          1 chunk | 
          +5 lines, -0 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
         | 
        
          1 chunk | 
          +6 lines, -6 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuPropertiesDelegate.java
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
          4
        
         | 
        
          2 chunks | 
          +8 lines, -0 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkManager.java
          
         | 
        
          
            View
          
         | 
        
        
         | 
        
          2 chunks | 
          +4 lines, -3 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkSheetContent.java
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
         | 
        
          3 chunks | 
          +10 lines, -4 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/download/DownloadActivity.java
          
         | 
        
          
            View
          
         | 
        
        
         | 
        
          1 chunk | 
          +1 line, -1 line | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/download/DownloadPage.java
          
         | 
        
          
            View
          
         | 
        
        
         | 
        
          1 chunk | 
          +2 lines, -1 line | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/download/DownloadSheetContent.java
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
         | 
        
          4 chunks | 
          +11 lines, -4 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadManagerToolbar.java
          
         | 
        
          
            View
          
         | 
        
        
         | 
        
          3 chunks | 
          +5 lines, -14 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadManagerUi.java
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
         | 
        
          5 chunks | 
          +20 lines, -7 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/history/HistoryActivity.java
          
         | 
        
          
            View
          
         | 
        
        
         | 
        
          1 chunk | 
          +1 line, -1 line | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/history/HistoryManager.java
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
         | 
        
          6 chunks | 
          +15 lines, -14 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/history/HistoryManagerToolbar.java
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
         | 
        
          1 chunk | 
          +1 line, -1 line | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/history/HistoryPage.java
          
         | 
        
          
            View
          
         | 
        
        
         | 
        
          1 chunk | 
          +1 line, -1 line | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/history/HistorySheetContent.java
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
         | 
        
          3 chunks | 
          +11 lines, -5 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/toolbar/BottomToolbarPhone.java
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
         | 
        
          2 chunks | 
          +25 lines, -0 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/widget/BottomSheet.java
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
          3
        
         | 
        
          3 chunks | 
          +28 lines, -0 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/widget/BottomSheetContentController.java
          
         | 
        
          
            View
          
         | 
        
        
          1
        
          2
        
         | 
        
          3 chunks | 
          +9 lines, -3 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
      
          | 
        M | 
        
          
            chrome/android/java/src/org/chromium/chrome/browser/widget/selection/SelectableListLayout.java
          
         | 
        
          
            View
          
         | 
        
        
         | 
        
          2 chunks | 
          +6 lines, -13 lines | 
        
        
          
            0 comments
            
            
          
         | 
        
          
            Download
          
         | 
       
    
   
  
  
    
      Dependent Patchsets:
      
         
      
        
      
    
  
 
  
   
  
    
  
  
  
    
    Total messages: 36 (23 generated)
     
  
  
       |