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

Unified Diff: chrome/browser/ui/panels/display_settings_provider_win.h

Issue 138943006: Remove a bunch of dead files after the win aura switch. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/panels/display_settings_provider_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/display_settings_provider_win.h
===================================================================
--- chrome/browser/ui/panels/display_settings_provider_win.h (revision 244941)
+++ chrome/browser/ui/panels/display_settings_provider_win.h (working copy)
@@ -1,59 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_WIN_H_
-#define CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_WIN_H_
-
-#include "chrome/browser/ui/panels/display_settings_provider.h"
-
-#include <windows.h>
-#include "base/compiler_specific.h"
-#include "base/timer/timer.h"
-
-class DisplaySettingsProviderWin : public DisplaySettingsProvider {
- public:
- DisplaySettingsProviderWin();
- virtual ~DisplaySettingsProviderWin();
-
- protected:
- // Overridden from DisplaySettingsProvider:
- virtual void OnDisplaySettingsChanged() OVERRIDE;
- virtual bool IsAutoHidingDesktopBarEnabled(
- DesktopBarAlignment alignment) OVERRIDE;
- virtual int GetDesktopBarThickness(
- DesktopBarAlignment alignment) const OVERRIDE;
- virtual DesktopBarVisibility GetDesktopBarVisibility(
- DesktopBarAlignment alignment) const OVERRIDE;
-
- int GetDesktopBarThicknessFromBounds(
- DesktopBarAlignment alignment, const gfx::Rect& taskbar_bounds) const;
- DesktopBarVisibility GetDesktopBarVisibilityFromBounds(
- DesktopBarAlignment alignment, const gfx::Rect& taskbar_bounds) const;
-
- private:
- struct Taskbar {
- HWND window;
- DesktopBarVisibility visibility;
- int thickness;
- };
-
- // Callback to perform periodic check for taskbar changes.
- void OnPollingTimer();
-
- // Returns true if there is at least one auto-hiding taskbar found.
- bool CheckTaskbars(bool notify_observer);
-
- gfx::Rect GetBounds(DesktopBarAlignment alignment) const;
-
- // Maximum number of taskbars we're interested in: bottom, left, and right.
- static const int kMaxTaskbars = 3;
-
- HMONITOR monitor_;
- Taskbar taskbars_[kMaxTaskbars];
- base::RepeatingTimer<DisplaySettingsProviderWin> polling_timer_;
-
- DISALLOW_COPY_AND_ASSIGN(DisplaySettingsProviderWin);
-};
-
-#endif // CHROME_BROWSER_UI_PANELS_DISPLAY_SETTINGS_PROVIDER_WIN_H_
« no previous file with comments | « no previous file | chrome/browser/ui/panels/display_settings_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698