Chromium Code Reviews
        
  DescriptionRemove ViewMsg_SetZoomLevel
In an effort to simplify zoom, this CL removes ViewMsg_SetZoomLevel and plumbs zoom on WebContentsImpl directly through to HostZoomMap.
At present calls to WebContents::SetZoomLevel() invoke up to three cross-process IPCs, and introduce a synchronization requirement for any caller that needs to block until the results of the operation are visible via WebContents::GetZoomLevel().
This CL simplifies this down to one IPC and removal of the
synchronization requirement. It adds a new IPC message to signal changes in a view's ability to be zoomed, and removes an ViewMsg_SetZoomLevel that was used only by SetZoomLevel().
BUG=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273854
   
  Patch Set 1 #
      Total comments: 20
      
     
  
  
  
  Patch Set 2 : [Upload for safe keeping only; do not review.] #Patch Set 3 : Revisions as per suggestions. #Patch Set 4 : Remove WebContentsImpl::Set/GetZoomLevel. #Patch Set 5 : Update temporary zoom settings in OnDocumentAvailableInMainFrame #
      Total comments: 6
      
     
  
  
  
  Patch Set 6 : Re-order functions, add comments and DCHECK(). #
      Total comments: 36
      
     
  
  
  
  Patch Set 7 : Revised as per comments. #
      Total comments: 4
      
     
  
  
  
  Patch Set 8 : Revised as per comments. #
      Total comments: 2
      
     
  
  
  
  Patch Set 9 : Remove ViewHostMsg_DidCreateDocument. #Patch Set 10 : Add std:: namespace to find() to fix Android compile. #Messages
    Total messages: 35 (0 generated)
     
  
  
       |