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

Unified Diff: views/widget/widget_gtk.cc

Issue 150171: Convert menu strings to UTF16, fix some views-GTK build errors. (Closed)
Patch Set: Created 11 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/widget/widget_gtk.h ('k') | views/window/window_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget_gtk.cc
diff --git a/views/widget/widget_gtk.cc b/views/widget/widget_gtk.cc
index 64493c430a82b0e65929b1db7fbadfdebb662eda..3bec281f86af6884fc57e50c46bf8098cec2693d 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);
« no previous file with comments | « views/widget/widget_gtk.h ('k') | views/window/window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698