summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_gtk.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-02 16:21:17 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-02 16:21:17 +0000
commita5176dafb70d5ea7567b18917d85c4cddc937dc4 (patch)
tree45a3a875cb48ee3b54a536ba9a4a7a5902138650 /views/widget/widget_gtk.cc
parent8e12ae06a009107635e2045db802907fd4ae2df1 (diff)
downloadchromium_src-a5176dafb70d5ea7567b18917d85c4cddc937dc4.zip
chromium_src-a5176dafb70d5ea7567b18917d85c4cddc937dc4.tar.gz
chromium_src-a5176dafb70d5ea7567b18917d85c4cddc937dc4.tar.bz2
Convert menu strings to UTF16, fix some views-GTK build errors.
Review URL: http://codereview.chromium.org/150171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget_gtk.cc')
-rw-r--r--views/widget/widget_gtk.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/views/widget/widget_gtk.cc b/views/widget/widget_gtk.cc
index 64493c4..3bec281 100644
--- a/views/widget/widget_gtk.cc
+++ b/views/widget/widget_gtk.cc
@@ -77,8 +77,7 @@ WidgetGtk::~WidgetGtk() {
}
void WidgetGtk::Init(GtkWidget* parent,
- const gfx::Rect& bounds,
- bool has_own_focus_manager) {
+ const gfx::Rect& bounds) {
// Force creation of the RootView if it hasn't been created yet.
GetRootView();
@@ -106,8 +105,6 @@ void WidgetGtk::Init(GtkWidget* parent,
root_view_->OnWidgetCreated();
- // TODO(port): if(has_own_focus_manager) block
-
SetRootViewForWidget(widget_, root_view_.get());
MessageLoopForUI::current()->AddObserver(this);