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

Side by Side Diff: chrome/browser/chromeos/input_method/candidate_view.h

Issue 10832282: Replace views::MouseEvent with ui::MouseEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_INPUT_METHOD_CANDIDATE_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_VIEW_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "chrome/browser/chromeos/input_method/ibus_ui_controller.h" 9 #include "chrome/browser/chromeos/input_method/ibus_ui_controller.h"
10 #include "ui/views/controls/label.h" 10 #include "ui/views/controls/label.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // appearance to make it look like unclickable area. 53 // appearance to make it look like unclickable area.
54 void SetRowEnabled(bool enabled); 54 void SetRowEnabled(bool enabled);
55 55
56 // Returns the relative position of the candidate label. 56 // Returns the relative position of the candidate label.
57 gfx::Point GetCandidateLabelPosition() const; 57 gfx::Point GetCandidateLabelPosition() const;
58 58
59 private: 59 private:
60 friend class CandidateWindowViewTest; 60 friend class CandidateWindowViewTest;
61 FRIEND_TEST_ALL_PREFIXES(CandidateWindowViewTest, ShortcutSettingTest); 61 FRIEND_TEST_ALL_PREFIXES(CandidateWindowViewTest, ShortcutSettingTest);
62 // Overridden from View: 62 // Overridden from View:
63 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; 63 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
64 64
65 // Notifies labels of their new background colors. Called whenever the view's 65 // Notifies labels of their new background colors. Called whenever the view's
66 // background color changes. 66 // background color changes.
67 void UpdateLabelBackgroundColors(); 67 void UpdateLabelBackgroundColors();
68 68
69 // Zero-origin index in the current page. 69 // Zero-origin index in the current page.
70 int index_in_page_; 70 int index_in_page_;
71 71
72 // The orientation of the candidate view. 72 // The orientation of the candidate view.
73 InputMethodLookupTable::Orientation orientation_; 73 InputMethodLookupTable::Orientation orientation_;
(...skipping 15 matching lines...) Expand all
89 views::View* infolist_icon_; 89 views::View* infolist_icon_;
90 bool infolist_icon_enabled_; 90 bool infolist_icon_enabled_;
91 91
92 DISALLOW_COPY_AND_ASSIGN(CandidateView); 92 DISALLOW_COPY_AND_ASSIGN(CandidateView);
93 }; 93 };
94 94
95 } // namespace input_method 95 } // namespace input_method
96 } // namespace chromeos 96 } // namespace chromeos
97 97
98 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_VIEW_H_ 98 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_CANDIDATE_VIEW_H_
OLDNEW
« no previous file with comments | « ash/wm/workspace/multi_window_resize_controller.cc ('k') | chrome/browser/chromeos/input_method/candidate_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698