Chromium Code Reviews| Index: chrome/browser/ui/panels/auto_hide_bottom_bar_linux.cc |
| =================================================================== |
| --- chrome/browser/ui/panels/auto_hide_bottom_bar_linux.cc (revision 0) |
| +++ chrome/browser/ui/panels/auto_hide_bottom_bar_linux.cc (revision 0) |
| @@ -0,0 +1,57 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/browser/ui/panels/auto_hide_bottom_bar.h" |
| + |
| +#include "base/compiler_specific.h" |
| +#include "base/logging.h" |
| + |
| +namespace { |
| + |
| +class AutoHideBottomBarLinux : public AutoHideBottomBar { |
|
jennb
2011/08/23 20:28:34
Use GTK suffix.
jianli
2011/08/26 00:18:16
Done. Also added new file for chromeos.
|
| + public: |
| + explicit AutoHideBottomBarLinux(Observer* observer); |
| + virtual ~AutoHideBottomBarLinux() { } |
| + |
| + virtual void UpdateWorkArea(const gfx::Rect& work_area) OVERRIDE; |
| + virtual bool IsEnabled() OVERRIDE; |
| + virtual int GetHeight() OVERRIDE; |
| + virtual Visibility GetVisibility() OVERRIDE; |
| + |
| + private: |
| + Observer* observer_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(AutoHideBottomBarLinux); |
| +}; |
| + |
| +AutoHideBottomBarLinux::AutoHideBottomBarLinux(Observer* observer) |
| + : observer_(observer) { |
| + DCHECK(observer); |
| +} |
| + |
| +void AutoHideBottomBarLinux::UpdateWorkArea(const gfx::Rect& work_area) { |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +bool AutoHideBottomBarLinux::IsEnabled() { |
| + NOTIMPLEMENTED(); |
| + return false; |
| +} |
| + |
| +int AutoHideBottomBarLinux::GetHeight() { |
| + NOTIMPLEMENTED(); |
| + return 0; |
| +} |
| + |
| +AutoHideBottomBar::Visibility AutoHideBottomBarLinux::GetVisibility() { |
| + NOTIMPLEMENTED(); |
| + return AutoHideBottomBar::HIDDEN; |
| +} |
| + |
| +} |
| + |
| +// static |
| +AutoHideBottomBar* AutoHideBottomBar::Create(Observer* observer) { |
| + return new AutoHideBottomBarLinux(observer); |
| +} |
| Property changes on: chrome\browser\ui\panels\auto_hide_bottom_bar_linux.cc |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |