OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 | 4 |
5 #include "chrome/browser/ui/gtk/apps/native_app_window_gtk.h" | 5 #include "chrome/browser/ui/gtk/apps/native_app_window_gtk.h" |
6 | 6 |
7 #include <gdk/gdkx.h> | 7 #include <gdk/gdkx.h> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/message_loop/message_pump_gtk.h" | 10 #include "base/message_loop/message_pump_gtk.h" |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 hints_mask |= GDK_HINT_MAX_SIZE; | 711 hints_mask |= GDK_HINT_MAX_SIZE; |
712 } | 712 } |
713 if (hints_mask) { | 713 if (hints_mask) { |
714 gtk_window_set_geometry_hints( | 714 gtk_window_set_geometry_hints( |
715 window_, | 715 window_, |
716 GTK_WIDGET(window_), | 716 GTK_WIDGET(window_), |
717 &hints, | 717 &hints, |
718 static_cast<GdkWindowHints>(hints_mask)); | 718 static_cast<GdkWindowHints>(hints_mask)); |
719 } | 719 } |
720 } | 720 } |
| 721 |
| 722 void NativeAppWindowGtk::UpdateAppMenu() { |
| 723 // TODO(tmdiep): To be implemented for GTK. |
| 724 NOTIMPLEMENTED(); |
| 725 } |
OLD | NEW |