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

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

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/panels/auto_hiding_desktop_bar_win.h" 5 #include "chrome/browser/ui/panels/auto_hiding_desktop_bar_win.h"
6 6
7 #include <shellapi.h> 7 #include <shellapi.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "views/widget/monitor_win.h" 10 #include "ui/views/widget/monitor_win.h"
11 11
12 namespace { 12 namespace {
13 // The thickness of the area of an auto-hiding taskbar that is still visible 13 // The thickness of the area of an auto-hiding taskbar that is still visible
14 // when the taskbar becomes hidden. 14 // when the taskbar becomes hidden.
15 const int kHiddenAutoHideTaskbarThickness = 2; 15 const int kHiddenAutoHideTaskbarThickness = 2;
16 16
17 // The polling interval to check auto-hiding taskbars. 17 // The polling interval to check auto-hiding taskbars.
18 const int kCheckTaskbarPollingIntervalMs = 500; 18 const int kCheckTaskbarPollingIntervalMs = 500;
19 } // namespace 19 } // namespace
20 20
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 if (thickness_changed && notify_observer) 186 if (thickness_changed && notify_observer)
187 observer_->OnAutoHidingDesktopBarThicknessChanged(); 187 observer_->OnAutoHidingDesktopBarThicknessChanged();
188 188
189 return true; 189 return true;
190 } 190 }
191 191
192 // static 192 // static
193 AutoHidingDesktopBar* AutoHidingDesktopBar::Create(Observer* observer) { 193 AutoHidingDesktopBar* AutoHidingDesktopBar::Create(Observer* observer) {
194 return new AutoHidingDesktopBarWin(observer); 194 return new AutoHidingDesktopBarWin(observer);
195 } 195 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ('k') | chrome/browser/ui/panels/panel_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698