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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/display_options_handler.h

Issue 10837331: Options: s/options2/options/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wut Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options2/chromeos/display_options_handler.h
diff --git a/chrome/browser/ui/webui/options2/chromeos/display_options_handler.h b/chrome/browser/ui/webui/options2/chromeos/display_options_handler.h
deleted file mode 100644
index a10856b0baf5d6b179f1da3965e999b0f7c094e4..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/options2/chromeos/display_options_handler.h
+++ /dev/null
@@ -1,69 +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_WEBUI_OPTIONS2_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_
-#define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_
-
-#include <vector>
-
-#include "chrome/browser/ui/webui/options2/options_ui.h"
-#include "ui/aura/display_observer.h"
-
-namespace base {
-class DictionaryValue;
-class ListValue;
-}
-
-namespace chromeos {
-namespace options {
-
-// Display options overlay page UI handler.
-class DisplayOptionsHandler : public ::options::OptionsPageUIHandler,
- public aura::DisplayObserver {
- public:
- DisplayOptionsHandler();
- virtual ~DisplayOptionsHandler();
-
- // OptionsPageUIHandler implementation.
- virtual void GetLocalizedValues(
- base::DictionaryValue* localized_strings) OVERRIDE;
- virtual void InitializePage() OVERRIDE;
-
- // WebUIMessageHandler implementation.
- virtual void RegisterMessages() OVERRIDE;
-
- // aura::DisplayObserver implementation.
- virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE;
- virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE;
- virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE;
-
- private:
- // Updates the display section visibility based on the current display
- // configurations.
- void UpdateDisplaySectionVisibility();
-
- // Sends the current display information to the web_ui of options page.
- void SendDisplayInfo();
-
- // Called when the fade-out animation for mirroring status change is finished.
- void FadeOutForMirroringFinished(bool is_mirroring);
-
- // Called when the fade-out animation for secondary display layout change is
- // finished. |layout| specifies the four positions of the secondary display
- // (left/right/top/bottom), and |offset| is the offset length from the
- // left/top edge of the primary display.
- void FadeOutForDisplayLayoutFinished(int layout, int offset);
-
- // Handlers of JS messages.
- void HandleDisplayInfo(const base::ListValue* unused_args);
- void HandleMirroring(const base::ListValue* args);
- void HandleDisplayLayout(const base::ListValue* args);
-
- DISALLOW_COPY_AND_ASSIGN(DisplayOptionsHandler);
-};
-
-} // namespace options
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_DISPLAY_OPTIONS_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698