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 FakeBalloonView(Balloon * balloon)7FakeBalloonView::FakeBalloonView(Balloon* balloon) 8 : balloon_(balloon) { 9 } 10 ~FakeBalloonView()11FakeBalloonView::~FakeBalloonView() { 12 } 13 Show(Balloon * balloon)14void FakeBalloonView::Show(Balloon* balloon) { 15 } 16 Update()17void FakeBalloonView::Update() { 18 } 19 RepositionToBalloon()20void FakeBalloonView::RepositionToBalloon() { 21 } 22 Close(bool by_user)23void FakeBalloonView::Close(bool by_user) { 24 balloon_->OnClose(by_user); 25 } 26 GetSize() const27gfx::Size FakeBalloonView::GetSize() const { 28 return balloon_->content_size(); 29 } 30 GetHost() const31BalloonHost* FakeBalloonView::GetHost() const { 32 return NULL; 33 } 34