OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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/ui/panels/auto_hide_bottom_bar.h" |
| 6 |
| 7 #include "base/compiler_specific.h" |
| 8 #include "base/logging.h" |
| 9 |
| 10 namespace { |
| 11 |
| 12 class AutoHideBottomBarLinux : public AutoHideBottomBar { |
| 13 public: |
| 14 explicit AutoHideBottomBarLinux(Observer* observer); |
| 15 virtual ~AutoHideBottomBarLinux() { } |
| 16 |
| 17 virtual void UpdateWorkArea(const gfx::Rect& work_area) OVERRIDE; |
| 18 virtual bool IsEnabled() OVERRIDE; |
| 19 virtual int GetHeight() OVERRIDE; |
| 20 virtual Visibility GetVisibility() OVERRIDE; |
| 21 |
| 22 private: |
| 23 Observer* observer_; |
| 24 |
| 25 DISALLOW_COPY_AND_ASSIGN(AutoHideBottomBarLinux); |
| 26 }; |
| 27 |
| 28 AutoHideBottomBarLinux::AutoHideBottomBarLinux(Observer* observer) |
| 29 : observer_(observer) { |
| 30 DCHECK(observer); |
| 31 } |
| 32 |
| 33 void AutoHideBottomBarLinux::UpdateWorkArea(const gfx::Rect& work_area) { |
| 34 NOTIMPLEMENTED(); |
| 35 } |
| 36 |
| 37 bool AutoHideBottomBarLinux::IsEnabled() { |
| 38 NOTIMPLEMENTED(); |
| 39 return false; |
| 40 } |
| 41 |
| 42 int AutoHideBottomBarLinux::GetHeight() { |
| 43 NOTIMPLEMENTED(); |
| 44 return 0; |
| 45 } |
| 46 |
| 47 AutoHideBottomBar::Visibility AutoHideBottomBarLinux::GetVisibility() { |
| 48 NOTIMPLEMENTED(); |
| 49 return AutoHideBottomBar::HIDDEN; |
| 50 } |
| 51 |
| 52 } |
| 53 |
| 54 // static |
| 55 AutoHideBottomBar* AutoHideBottomBar::Create(Observer* observer) { |
| 56 return new AutoHideBottomBarLinux(observer); |
| 57 } |
OLD | NEW |