Fix build on OS X

This commit is contained in:
Paul Betts 2015-02-07 11:56:03 -08:00
parent 59a8be53c2
commit 03a88883b6
2 changed files with 6 additions and 0 deletions

View 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

View 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)