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

Side by Side Diff: chrome/browser/chromeos/input_method/candidate_window_view.cc

Issue 11931011: Remove IBusUiController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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 #include "chrome/browser/chromeos/input_method/candidate_window_view.h" 4 #include "chrome/browser/chromeos/input_method/candidate_window_view.h"
5 5
6 #include <string> 6 #include <string>
7 7
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/chromeos/input_method/candidate_view.h" 10 #include "chrome/browser/chromeos/input_method/candidate_view.h"
11 #include "chrome/browser/chromeos/input_method/candidate_window_constants.h" 11 #include "chrome/browser/chromeos/input_method/candidate_window_constants.h"
12 #include "chrome/browser/chromeos/input_method/hidable_area.h" 12 #include "chrome/browser/chromeos/input_method/hidable_area.h"
13 #include "chrome/browser/chromeos/input_method/ibus_ui_controller.h"
14 #include "chromeos/dbus/ibus/ibus_lookup_table.h" 13 #include "chromeos/dbus/ibus/ibus_lookup_table.h"
15 #include "ui/views/controls/label.h" 14 #include "ui/views/controls/label.h"
16 #include "ui/views/layout/grid_layout.h" 15 #include "ui/views/layout/grid_layout.h"
17 #include "ui/views/widget/widget.h" 16 #include "ui/views/widget/widget.h"
18 17
19 namespace chromeos { 18 namespace chromeos {
20 namespace input_method { 19 namespace input_method {
21 20
22 namespace { 21 namespace {
23 // VerticalCandidateLabel is used for rendering candidate text in 22 // VerticalCandidateLabel is used for rendering candidate text in
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 992
994 void CandidateWindowView::OnBoundsChanged(const gfx::Rect& previous_bounds) { 993 void CandidateWindowView::OnBoundsChanged(const gfx::Rect& previous_bounds) {
995 // If the bounds(size) of candidate window is changed, 994 // If the bounds(size) of candidate window is changed,
996 // we should move the frame to the right position. 995 // we should move the frame to the right position.
997 View::OnBoundsChanged(previous_bounds); 996 View::OnBoundsChanged(previous_bounds);
998 ResizeAndMoveParentFrame(); 997 ResizeAndMoveParentFrame();
999 } 998 }
1000 999
1001 } // namespace input_method 1000 } // namespace input_method
1002 } // namespace chromeos 1001 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698