Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: chrome/browser/ui/panels/auto_hide_bottom_bar_linux.cc

Issue 7646003: Support auto-hide taskbar for panels on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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 {
jennb 2011/08/23 20:28:34 Use GTK suffix.
jianli 2011/08/26 00:18:16 Done. Also added new file for chromeos.
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698