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