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

Side by Side Diff: ui/chromeos/ime/mode_indicator_view.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 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
« no previous file with comments | « ui/chromeos/ime/infolist_window.h ('k') | ui/chromeos/touch_exploration_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_CHROMEOS_IME_MODE_INDICATOR_VIEW_H_ 5 #ifndef UI_CHROMEOS_IME_MODE_INDICATOR_VIEW_H_
6 #define UI_CHROMEOS_IME_MODE_INDICATOR_VIEW_H_ 6 #define UI_CHROMEOS_IME_MODE_INDICATOR_VIEW_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/timer/timer.h" 9 #include "base/timer/timer.h"
10 #include "ui/chromeos/ui_chromeos_export.h" 10 #include "ui/chromeos/ui_chromeos_export.h"
(...skipping 27 matching lines...) Expand all
38 const char* GetClassName() const override; 38 const char* GetClassName() const override;
39 void Init() override; 39 void Init() override;
40 40
41 // views::WidgetDelegateView overrides: 41 // views::WidgetDelegateView overrides:
42 views::NonClientFrameView* CreateNonClientFrameView( 42 views::NonClientFrameView* CreateNonClientFrameView(
43 views::Widget* widget) override; 43 views::Widget* widget) override;
44 44
45 private: 45 private:
46 gfx::Rect cursor_bounds_; 46 gfx::Rect cursor_bounds_;
47 views::Label* label_view_; 47 views::Label* label_view_;
48 base::OneShotTimer<views::Widget> timer_; 48 base::OneShotTimer timer_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(ModeIndicatorView); 50 DISALLOW_COPY_AND_ASSIGN(ModeIndicatorView);
51 }; 51 };
52 52
53 } // namespace ime 53 } // namespace ime
54 } // namespace ui 54 } // namespace ui
55 55
56 #endif // UI_CHROMEOS_IME_MODE_INDICATOR_VIEW_H_ 56 #endif // UI_CHROMEOS_IME_MODE_INDICATOR_VIEW_H_
OLDNEW
« no previous file with comments | « ui/chromeos/ime/infolist_window.h ('k') | ui/chromeos/touch_exploration_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698