Fix build on OS X
This commit is contained in:
		
					parent
					
						
							
								59a8be53c2
							
						
					
				
			
			
				commit
				
					
						03a88883b6
					
				
			
		
					 2 changed files with 6 additions and 0 deletions
				
			
		|  | @ -71,6 +71,8 @@ class NativeWindowMac : public NativeWindow { | ||||||
|   bool HasModalDialog() override; |   bool HasModalDialog() override; | ||||||
|   gfx::NativeWindow GetNativeWindow() override; |   gfx::NativeWindow GetNativeWindow() override; | ||||||
|   void SetProgressBar(double progress) override; |   void SetProgressBar(double progress) override; | ||||||
|  |   void SetOverlayIcon(const gfx::Image& overlay, | ||||||
|  |     const std::string& description) override; | ||||||
|   void ShowDefinitionForSelection() override; |   void ShowDefinitionForSelection() override; | ||||||
| 
 | 
 | ||||||
|   // Returns true if |point| in local Cocoa coordinate system falls within
 |   // Returns true if |point| in local Cocoa coordinate system falls within
 | ||||||
|  |  | ||||||
|  | @ -678,6 +678,10 @@ void NativeWindowMac::SetProgressBar(double progress) { | ||||||
|   [dock_tile display]; |   [dock_tile display]; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | void NativeWindowMac::SetOverlayIcon(const gfx::Image& overlay,  | ||||||
|  |   const std::string& description) { | ||||||
|  | } | ||||||
|  | 
 | ||||||
| void NativeWindowMac::ShowDefinitionForSelection() { | void NativeWindowMac::ShowDefinitionForSelection() { | ||||||
|   content::WebContents* web_contents = GetWebContents(); |   content::WebContents* web_contents = GetWebContents(); | ||||||
|   if (!web_contents) |   if (!web_contents) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Paul Betts
				Paul Betts