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

Side by Side Diff: chrome/browser/chromeos/status/input_method_menu_button.h

Issue 6904160: Implement new gray mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review nits Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_INPUT_METHOD_MENU_BUTTON_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_STATUS_INPUT_METHOD_MENU_BUTTON_H_
6 #define CHROME_BROWSER_CHROMEOS_STATUS_INPUT_METHOD_MENU_BUTTON_H_ 6 #define CHROME_BROWSER_CHROMEOS_STATUS_INPUT_METHOD_MENU_BUTTON_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "chrome/browser/chromeos/status/input_method_menu.h" 11 #include "chrome/browser/chromeos/status/input_method_menu.h"
(...skipping 28 matching lines...) Expand all
40 virtual void OpenConfigUI(); 40 virtual void OpenConfigUI();
41 41
42 // Updates the UI from the current input method. 42 // Updates the UI from the current input method.
43 void UpdateUIFromCurrentInputMethod(); 43 void UpdateUIFromCurrentInputMethod();
44 44
45 private: 45 private:
46 // Returns true if the Chrome window where the button lives is active. 46 // Returns true if the Chrome window where the button lives is active.
47 bool WindowIsActive(); 47 bool WindowIsActive();
48 48
49 scoped_ptr<InputMethodMenu> menu_; 49 scoped_ptr<InputMethodMenu> menu_;
50 StatusAreaHost* host_;
51 50
52 DISALLOW_COPY_AND_ASSIGN(InputMethodMenuButton); 51 DISALLOW_COPY_AND_ASSIGN(InputMethodMenuButton);
53 }; 52 };
54 53
55 } // namespace chromeos 54 } // namespace chromeos
56 55
57 #endif // CHROME_BROWSER_CHROMEOS_STATUS_INPUT_METHOD_MENU_BUTTON_H_ 56 #endif // CHROME_BROWSER_CHROMEOS_STATUS_INPUT_METHOD_MENU_BUTTON_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/status/clock_menu_button.cc ('k') | chrome/browser/chromeos/status/input_method_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698