Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / notifications / fake_balloon_view.cc
blobe9b43d17ac941487421de690b79544f5fda35550
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.
5 #include "chrome/browser/notifications/fake_balloon_view.h"
7 FakeBalloonView::FakeBalloonView(Balloon* balloon)
8 : balloon_(balloon) {
11 FakeBalloonView::~FakeBalloonView() {
14 void FakeBalloonView::Show(Balloon* balloon) {
17 void FakeBalloonView::Update() {
20 void FakeBalloonView::RepositionToBalloon() {
23 void FakeBalloonView::Close(bool by_user) {
24 balloon_->OnClose(by_user);
27 gfx::Size FakeBalloonView::GetSize() const {
28 return balloon_->content_size();
31 BalloonHost* FakeBalloonView::GetHost() const {
32 return NULL;