| Index: views/widget/native_widget_gtk.cc
|
| diff --git a/views/widget/native_widget_gtk.cc b/views/widget/native_widget_gtk.cc
|
| index 887383f16c3c5c416b1000c086b30ed36f5cded3..3319bc666e6ebdbcf907147bf7428023cb657f48 100644
|
| --- a/views/widget/native_widget_gtk.cc
|
| +++ b/views/widget/native_widget_gtk.cc
|
| @@ -1199,7 +1199,13 @@ void NativeWidgetGtk::Hide() {
|
| }
|
| }
|
|
|
| -void NativeWidgetGtk::ShowNativeWidget(ShowState state) {
|
| +void NativeWidgetGtk::ShowMaximizedWithBounds(
|
| + const gfx::Rect& restored_bounds) {
|
| + // TODO: when we add maximization support update this.
|
| + Show();
|
| +}
|
| +
|
| +void NativeWidgetGtk::ShowWithState(ShowState state) {
|
| // No concept of maximization (yet) on ChromeOS.
|
| if (state == internal::NativeWidgetPrivate::SHOW_INACTIVE)
|
| gtk_window_set_focus_on_map(GetNativeWindow(), false);
|
|
|