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

Side by Side Diff: chromeos/dbus/ibus/ibus_lookup_table.h

Issue 11361210: Extends IBusObject to handle attachment field. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include order Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/ibus/ibus_component.cc ('k') | chromeos/dbus/ibus/ibus_lookup_table.cc » ('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 (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 CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_ 5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_
6 #define CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_ 6 #define CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 // Returns the orientation of lookup table. 120 // Returns the orientation of lookup table.
121 Orientation orientation() const { return orientation_; } 121 Orientation orientation() const { return orientation_; }
122 void set_orientation(Orientation orientation) { 122 void set_orientation(Orientation orientation) {
123 orientation_ = orientation; 123 orientation_ = orientation;
124 } 124 }
125 125
126 const std::vector<Entry>& candidates() const { return candidates_; } 126 const std::vector<Entry>& candidates() const { return candidates_; }
127 std::vector<Entry>* mutable_candidates() { return &candidates_; } 127 std::vector<Entry>* mutable_candidates() { return &candidates_; }
128 128
129 bool show_window_at_composition() { return show_window_at_composition_; } 129 bool show_window_at_composition() const {
130 return show_window_at_composition_;
131 }
130 void set_show_window_at_composition(bool show_window_at_composition) { 132 void set_show_window_at_composition(bool show_window_at_composition) {
131 show_window_at_composition_ = show_window_at_composition; 133 show_window_at_composition_ = show_window_at_composition;
132 } 134 }
133 135
134 private: 136 private:
135 uint32 page_size_; 137 uint32 page_size_;
136 uint32 cursor_position_; 138 uint32 cursor_position_;
137 bool is_cursor_visible_; 139 bool is_cursor_visible_;
138 Orientation orientation_; 140 Orientation orientation_;
139 std::vector<Entry> candidates_; 141 std::vector<Entry> candidates_;
140 bool show_window_at_composition_; 142 bool show_window_at_composition_;
141 143
142 DISALLOW_COPY_AND_ASSIGN(IBusLookupTable); 144 DISALLOW_COPY_AND_ASSIGN(IBusLookupTable);
143 }; 145 };
144 146
145 } // namespace ibus 147 } // namespace ibus
146 } // namespace chromeos 148 } // namespace chromeos
147 149
148 #endif // CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_ 150 #endif // CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/ibus/ibus_component.cc ('k') | chromeos/dbus/ibus/ibus_lookup_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698