Fix: tray NotfiyDropFiles typo
This commit is contained in:
		
					parent
					
						
							
								c7d9352972
							
						
					
				
			
			
				commit
				
					
						60b14d03e9
					
				
			
		
					 3 changed files with 3 additions and 3 deletions
				
			
		|  | @ -55,7 +55,7 @@ void TrayIcon::NotifyRightClicked(const gfx::Rect& bounds, int modifiers) { | ||||||
|                     OnRightClicked(bounds, modifiers)); |                     OnRightClicked(bounds, modifiers)); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void TrayIcon::NotfiyDropFiles(const std::vector<std::string>& files) { | void TrayIcon::NotifyDropFiles(const std::vector<std::string>& files) { | ||||||
|   FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnDropFiles(files)); |   FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnDropFiles(files)); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -61,7 +61,7 @@ class TrayIcon { | ||||||
|   void NotifyBalloonClosed(); |   void NotifyBalloonClosed(); | ||||||
|   void NotifyRightClicked(const gfx::Rect& bounds = gfx::Rect(), |   void NotifyRightClicked(const gfx::Rect& bounds = gfx::Rect(), | ||||||
|                           int modifiers = 0); |                           int modifiers = 0); | ||||||
|   void NotfiyDropFiles(const std::vector<std::string>& files); |   void NotifyDropFiles(const std::vector<std::string>& files); | ||||||
| 
 | 
 | ||||||
|  protected: |  protected: | ||||||
|   TrayIcon(); |   TrayIcon(); | ||||||
|  |  | ||||||
|  | @ -265,7 +265,7 @@ const CGFloat kVerticalTitleMargin = 2; | ||||||
|     NSArray* files = [pboard propertyListForType:NSFilenamesPboardType]; |     NSArray* files = [pboard propertyListForType:NSFilenamesPboardType]; | ||||||
|     for (NSString* file in files) |     for (NSString* file in files) | ||||||
|       dropFiles.push_back(base::SysNSStringToUTF8(file)); |       dropFiles.push_back(base::SysNSStringToUTF8(file)); | ||||||
|     trayIcon_->NotfiyDropFiles(dropFiles); |     trayIcon_->NotifyDropFiles(dropFiles); | ||||||
|     return YES; |     return YES; | ||||||
|   } |   } | ||||||
|   return NO; |   return NO; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brandon Cash
				Brandon Cash