1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "chrome/browser/notifications/fake_balloon_view.h" 6 7 FakeBalloonView::FakeBalloonView(Balloon* balloon) 8 : balloon_(balloon) { 9 } 10 11 FakeBalloonView::~FakeBalloonView() { 12 } 13 14 void FakeBalloonView::Show(Balloon* balloon) { 15 } 16 17 void FakeBalloonView::Update() { 18 } 19 20 void FakeBalloonView::RepositionToBalloon() { 21 } 22 23 void FakeBalloonView::Close(bool by_user) { 24 balloon_->OnClose(by_user); 25 } 26 27 gfx::Size FakeBalloonView::GetSize() const { 28 return balloon_->content_size(); 29 } 30 31 BalloonHost* FakeBalloonView::GetHost() const { 32 return NULL; 33 } 34