| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/gtk/html_dialog_gtk.h" | 5 #include "chrome/browser/gtk/html_dialog_gtk.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "chrome/browser/browser_window.h" | 10 #include "chrome/browser/browser_window.h" |
| 11 #include "chrome/browser/dom_ui/html_dialog_ui.h" | 11 #include "chrome/browser/dom_ui/html_dialog_ui.h" |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 gtk_widget_set_size_request(GTK_WIDGET(tab_contents_container_->widget()), | 162 gtk_widget_set_size_request(GTK_WIDGET(tab_contents_container_->widget()), |
| 163 dialog_size.width(), | 163 dialog_size.width(), |
| 164 dialog_size.height()); | 164 dialog_size.height()); |
| 165 | 165 |
| 166 gtk_widget_show_all(dialog_); | 166 gtk_widget_show_all(dialog_); |
| 167 } | 167 } |
| 168 | 168 |
| 169 void HtmlDialogGtk::OnResponse(GtkWidget* dialog, int response_id) { | 169 void HtmlDialogGtk::OnResponse(GtkWidget* dialog, int response_id) { |
| 170 OnDialogClosed(std::string()); | 170 OnDialogClosed(std::string()); |
| 171 } | 171 } |
| OLD | NEW |