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

Unified Diff: chrome/browser/ui/webui/options/chromeos/kiosk_apps_handler.h

Issue 15966004: cros: Move kiosk settings to extensions page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix space Created 7 years, 7 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/options/chromeos/kiosk_apps_handler.h
diff --git a/chrome/browser/ui/webui/options/chromeos/kiosk_apps_handler.h b/chrome/browser/ui/webui/options/chromeos/kiosk_apps_handler.h
deleted file mode 100644
index cc95f15a352d1f305ce903d2280387b893a27005..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/options/chromeos/kiosk_apps_handler.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright 2013 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_OPTIONS_CHROMEOS_KIOSK_APPS_HANDLER_H_
-#define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KIOSK_APPS_HANDLER_H_
-
-#include <string>
-
-#include "chrome/browser/chromeos/app_mode/kiosk_app_manager_observer.h"
-#include "chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h"
-
-namespace base {
-class DictionaryValue;
-class ListValue;
-}
-
-namespace chromeos {
-
-class KioskAppManager;
-
-namespace options {
-
-class KioskAppsHandler : public CoreChromeOSOptionsHandler,
- public KioskAppManagerObserver {
- public:
- KioskAppsHandler();
- virtual ~KioskAppsHandler();
-
- // options::OptionsPageUIHandler overrides:
- virtual void RegisterMessages() OVERRIDE;
- virtual void GetLocalizedValues(
- base::DictionaryValue* localized_strings) OVERRIDE;
-
- // KioskAppPrefsObserver overrides:
- virtual void OnKioskAppDataChanged(const std::string& app_id) OVERRIDE;
- virtual void OnKioskAppDataLoadFailure(const std::string& app_id) OVERRIDE;
-
- private:
- // Sends all kiosk apps to webui.
- void SendKioskApps();
-
- // JS callbacks.
- void HandleGetKioskApps(const base::ListValue* args);
- void HandleAddKioskApp(const base::ListValue* args);
- void HandleRemoveKioskApp(const base::ListValue* args);
- void HandleEnableKioskAutoLaunch(const base::ListValue* args);
- void HandleDisableKioskAutoLaunch(const base::ListValue* args);
-
- KioskAppManager* kiosk_app_manager_; // not owned.
- bool initialized_;
-
- DISALLOW_COPY_AND_ASSIGN(KioskAppsHandler);
-};
-
-} // namespace options
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_KIOSK_APPS_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698