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

Unified Diff: chrome/browser/chromeos/login/keyboard_switch_menu.h

Issue 8513007: [cros] Use LoginDisplayHost::GetNativeWindow() for status area on login screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/keyboard_switch_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/keyboard_switch_menu.h
diff --git a/chrome/browser/chromeos/login/keyboard_switch_menu.h b/chrome/browser/chromeos/login/keyboard_switch_menu.h
deleted file mode 100644
index b972bbd48ebc546d8d42b79d5f9ea6f06e364392..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/keyboard_switch_menu.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2011 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_CHROMEOS_LOGIN_KEYBOARD_SWITCH_MENU_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_SWITCH_MENU_H_
-#pragma once
-
-#include <string>
-
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/chromeos/status/input_method_menu.h"
-
-namespace chromeos {
-
-// A class for the button in the OOBE network configuration screen which expands
-// a dropdown menu for switching keyboard layout. Note that the InputMethodMenu
-// class implements the views::ViewMenuDelegate interface.
-class KeyboardSwitchMenu : public InputMethodMenu {
- public:
- KeyboardSwitchMenu();
- virtual ~KeyboardSwitchMenu() {}
-
- // InputMethodMenu::InputMethodMenuHost implementation.
- virtual void UpdateUI(const std::string& input_method_id,
- const string16& name,
- const string16& tooltip,
- size_t num_active_input_methods) OVERRIDE;
- virtual bool ShouldSupportConfigUI() OVERRIDE;
- virtual void OpenConfigUI() OVERRIDE {}
-
- // views::ViewMenuDelegate implementation which overrides the implementation
- // in InputMethodMenu.
- virtual void RunMenu(views::View* source, const gfx::Point& pt);
-
- // Returns current keyboard name to be placed on the keyboard menu-button.
- string16 GetCurrentKeyboardName() const;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(KeyboardSwitchMenu);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_KEYBOARD_SWITCH_MENU_H_
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/keyboard_switch_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698