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

Unified Diff: ash/system/ime/tray_ime.h

Issue 167793002: Removes --disable-ime-mode-indicator flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 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 | « ash/system/ime/ime_observer.h ('k') | ash/system/ime/tray_ime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/ime/tray_ime.h
diff --git a/ash/system/ime/tray_ime.h b/ash/system/ime/tray_ime.h
index bb65e990f1553026d0fa0d7abd2be406be31f577..06c81a532a8ace0bb7d16e8120f263cb323d8237 100644
--- a/ash/system/ime/tray_ime.h
+++ b/ash/system/ime/tray_ime.h
@@ -7,7 +7,6 @@
#include "ash/system/ime/ime_observer.h"
#include "ash/system/tray/system_tray_item.h"
-#include "base/memory/weak_ptr.h"
namespace views {
class Label;
@@ -36,12 +35,6 @@ class TrayIME : public SystemTrayItem,
private:
void UpdateTrayLabel(const IMEInfo& info, size_t count);
- // Update the content of the existing IME notification, or create a new one if
- // necessary. IME notification should be created only once in a session, i.e.
- // if an IME notification is created and removed already, it doesn't create a
- // new one.
- void UpdateOrCreateNotification();
-
// Overridden from SystemTrayItem.
virtual views::View* CreateTrayView(user::LoginStatus status) OVERRIDE;
virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE;
@@ -54,16 +47,12 @@ class TrayIME : public SystemTrayItem,
ShelfAlignment alignment) OVERRIDE;
// Overridden from IMEObserver.
- virtual void OnIMERefresh(bool show_message) OVERRIDE;
+ virtual void OnIMERefresh() OVERRIDE;
TrayItemView* tray_label_;
tray::IMEDefaultView* default_;
tray::IMEDetailedView* detailed_;
- bool message_shown_;
-
- base::WeakPtrFactory<TrayIME> weak_factory_;
-
DISALLOW_COPY_AND_ASSIGN(TrayIME);
};
« no previous file with comments | « ash/system/ime/ime_observer.h ('k') | ash/system/ime/tray_ime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698