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

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

Issue 11362111: Fix: infolist requries description title. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments on 11361210 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 | « no previous file | 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 // Represents a candidate entry. In dbus communication, each 89 // Represents a candidate entry. In dbus communication, each
90 // field is represented as IBusText, but attributes are not used in Chrome. 90 // field is represented as IBusText, but attributes are not used in Chrome.
91 // So just simple string is sufficient in this case. 91 // So just simple string is sufficient in this case.
92 struct Entry { 92 struct Entry {
93 Entry(); 93 Entry();
94 virtual ~Entry(); 94 virtual ~Entry();
95 std::string value; 95 std::string value;
96 std::string label; 96 std::string label;
97 std::string annotation; 97 std::string annotation;
98 std::string description; 98 std::string description_title;
99 std::string description_body;
99 }; 100 };
100 101
101 IBusLookupTable(); 102 IBusLookupTable();
102 virtual ~IBusLookupTable(); 103 virtual ~IBusLookupTable();
103 104
104 // Returns the number of candidates in one page. 105 // Returns the number of candidates in one page.
105 uint32 page_size() const { return page_size_; } 106 uint32 page_size() const { return page_size_; }
106 void set_page_size(uint32 page_size) { page_size_ = page_size; } 107 void set_page_size(uint32 page_size) { page_size_ = page_size; }
107 108
108 // Returns the cursor index of the currently selected candidate. 109 // Returns the cursor index of the currently selected candidate.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 std::vector<Entry> candidates_; 142 std::vector<Entry> candidates_;
142 bool show_window_at_composition_; 143 bool show_window_at_composition_;
143 144
144 DISALLOW_COPY_AND_ASSIGN(IBusLookupTable); 145 DISALLOW_COPY_AND_ASSIGN(IBusLookupTable);
145 }; 146 };
146 147
147 } // namespace ibus 148 } // namespace ibus
148 } // namespace chromeos 149 } // namespace chromeos
149 150
150 #endif // CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_ 151 #endif // CHROMEOS_DBUS_IBUS_IBUS_LOOKUP_TABLE_H_
OLDNEW
« no previous file with comments | « no previous file | chromeos/dbus/ibus/ibus_lookup_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698