]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix build on OS X
authorPaul Betts <paul@paulbetts.org>
Sat, 7 Feb 2015 19:56:03 +0000 (11:56 -0800)
committerPaul Betts <paul@paulbetts.org>
Sat, 7 Feb 2015 19:56:03 +0000 (11:56 -0800)
atom/browser/native_window_mac.h
atom/browser/native_window_mac.mm

index bbeb7a650c025bb2b4c5130797cd11a7bb63f991..a12f06cbe9b63544623dca5069375a2c9eb7118d 100644 (file)
@@ -71,6 +71,8 @@ class NativeWindowMac : public NativeWindow {
   bool HasModalDialog() override;
   gfx::NativeWindow GetNativeWindow() override;
   void SetProgressBar(double progress) override;
+  void SetOverlayIcon(const gfx::Image& overlay,
+    const std::string& description) override;
   void ShowDefinitionForSelection() override;
 
   // Returns true if |point| in local Cocoa coordinate system falls within
index f9c77597bd293b3bdd6ca77ebdf7b8746a7643ff..5b36370a4a28c922a7c7d6deb25355abbf9d2500 100644 (file)
@@ -678,6 +678,10 @@ void NativeWindowMac::SetProgressBar(double progress) {
   [dock_tile display];
 }
 
+void NativeWindowMac::SetOverlayIcon(const gfx::Image& overlay, 
+  const std::string& description) {
+}
+
 void NativeWindowMac::ShowDefinitionForSelection() {
   content::WebContents* web_contents = GetWebContents();
   if (!web_contents)