| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:2760
TEST=Use any IME, and examine the candidate window.
Review URL: http://codereview.chromium.org/2450001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48690 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The problem with the original change was that it didn't call
in GetHorizontalOffset() in OnSetLocationCursor().
Outside web contetns in Chrome, UpdateLookupTable signal is
followed by SetLocationCursor signal. This caused:
1. OnUpdateLookupTable() to move the candidate window
with the offset computed
2. Then OnSetLocationCursor() to move the candidate window
without the offset.
This resulted in a flicker of the candidate window.
BUG=chromium-os:2720
TEST=manually on the netbook
Review URL: http://codereview.chromium.org/2423001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48612 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For some reason, Chinese characters like 时 \u65F6 are shown at wrong
positions lower than it should be (see the screenshot in crosbug.com/2303).
The root cause seemed be that pango_layout_get_pixel_size() returned
larger height values for certain characters, but hopefully, I found that
we can fix the rendering weirdness by changing the grid layout alighment.
Along the way, change the logging behavior from APPEND_TO_OLD_LOG_FILE
to DELETE_OLD_LOG_FILE, as appending causes more confusion than it helps.
BUG=chromium-os:2303
TEST=manually on the netbook
Review URL: http://codereview.chromium.org/2254001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48242 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will be used for debugging. To enable logging, we can modify
/usr/share/ibus/component/candidate_window.xml as follows.
- <exec>/opt/google/chrome/candidate_window</exec>
+ <exec>/opt/google/chrome/candidate_window --logtofile=/tmp/log.cw</exec>
BUG=chromium-os:3395
TEST=manually
Review URL: http://codereview.chromium.org/2101020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48135 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=checked the patched code can compile with libcros v35.
Review URL: http://codereview.chromium.org/2101018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48116 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this change, the code assumed that the orientation is vertical,
if the number of candidates is 5, which is an ugly hack.
After this change, we'll use orientation information in InputMethodLookupTable.
To be compatible with IBus's standard candidate window, the default
orientation is set to horizontal.
BUG=chromium-os:2724
TEST=manually
Review URL: http://codereview.chromium.org/2120010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47887 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Even with r47236, the Chinese characters look still small on the netbook.
BUG=chromium-os:2904
TEST=manually
Review URL: http://codereview.chromium.org/2136006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47493 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The root cause of the problem was a hack for ibus-anthy, that is no longer
necessary. Get rid of the hack.
Change the code to show the auxiliary text in the footer area when the
orientation is vertical.
BUG=chromium-os:3301
TEST=manually
Review URL: http://codereview.chromium.org/2087008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47489 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is to make Chinese characters more readable.
BUG=chromium-os:2904
TEST=manually
Review URL: http://codereview.chromium.org/2070002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47236 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
fine with ibus-mozc.
BUG=none
TEST=manual. checked that the window does not flicker.
Review URL: http://codereview.chromium.org/1987011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46896 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We used to use a magic number 30 to do the aligning but
with this change, we'll compute the horizontal offset at run time.
This is much cleaner, and more precise.
TEST=manually
BUG=crosbug.com/2720
Review URL: http://codereview.chromium.org/1711007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45297 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=crosbug.com/2717
Review URL: http://codereview.chromium.org/1551040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45144 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Farina (see http://codereview.chromium.org/1580002 ), r=me.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1528009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43136 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The problem was that CommandLine::ForCurrentProcess() was called
despite candidate_window did not parse the command line flags.
StackTrace::StackTrace() [0x45a312]
logging::LogMessage::~LogMessage() [0x40abb7]
CommandLine::ForCurrentProcess() [0x40b3b5]
l10n_util::GetApplicationLocale() [0x4cd3f7]
ResourceBundle::LoadResources() [0x4c935d]
ResourceBundle::InitSharedInstance() [0x4c5ed7]
main [0x402a5f]
0x7ffff2aa6abd
0x4002a9
BUG=crosbug.com/2254
TEST=manually
Review URL: http://codereview.chromium.org/1238008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42596 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
access to all *Libray classes that used to be singletons. This registry adds an indirection layer that will let is replace the actual objects with mocks during test runs.
BUG=chromium-os:2026
TEST=none
Review URL: http://codereview.chromium.org/1142005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42405 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=darin
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1132006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42312 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/851010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41539 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a non-deterministic issue. After some investigation, we learned that
the following callback functions are called before the horizontal candidate
window is rendered.
OnUpdateLookupTable()
OnUpdateAuxiliaryText()
OnSetCursorLocation()
As shown, OnSetCursorLocation() is the last function to be called.
We should request a resize and a paint in OnSetCursorLocation() to
to ensure that the candidate window is always rendered properly.
TEST=manually
BUG=crosbug.com/1560
Review URL: http://codereview.chromium.org/594046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39046 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Namely:
- current_page_index
- cursor_row_index
- num_candidates_in_current_page
- num_pages (not used in candidate_window.cc, but this will also be deleted in libcros)
These members will be deleted from libcros in a separate CL.
TEST=manually
BUG=none
Review URL: http://codereview.chromium.org/606012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39044 0039d316-1c4b-4281-b951-d872f2087c98
|
|
chrome/browser/chromeos/text_input.
Turned out there is no benefit of having this in a separate git repository.
No code change in candidate_window.cc, but modified the copyright notice
from Chromium OS Authors to Chromium Authors.
Slightly modified text_input.gyp to make it compile.
We'll also change cros_deps/DEPS in a separate CL.
BUG=none
TEST=confirmed candidate_window compiles as before.
Review URL: http://codereview.chromium.org/579026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38345 0039d316-1c4b-4281-b951-d872f2087c98
|