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

Side by Side Diff: chrome/browser/app_modal_dialog_gtk.cc

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « app/text_elider_unittest.cc ('k') | chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/app_modal_dialog.h" 5 #include "chrome/browser/app_modal_dialog.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "app/l10n_util.h"
10 #include "app/message_box_flags.h"
11 #include "base/logging.h" 9 #include "base/logging.h"
12 #include "base/string_util.h" 10 #include "base/string_util.h"
13 #include "chrome/browser/browser_list.h" 11 #include "chrome/browser/browser_list.h"
14 #include "chrome/browser/browser_window.h" 12 #include "chrome/browser/browser_window.h"
15 #include "chrome/browser/gtk/gtk_util.h" 13 #include "chrome/browser/gtk/gtk_util.h"
16 #include "chrome/browser/tab_contents/tab_contents.h" 14 #include "chrome/browser/tab_contents/tab_contents.h"
17 #include "chrome/browser/tab_contents/tab_contents_view.h" 15 #include "chrome/browser/tab_contents/tab_contents_view.h"
18 #include "grit/generated_resources.h" 16 #include "grit/generated_resources.h"
19 #include "grit/locale_settings.h" 17 #include "grit/locale_settings.h"
20 18
(...skipping 21 matching lines...) Expand all
42 40
43 void AppModalDialog::AcceptWindow() { 41 void AppModalDialog::AcceptWindow() {
44 DCHECK(dialog_); 42 DCHECK(dialog_);
45 HandleDialogResponse(GTK_DIALOG(dialog_), GTK_RESPONSE_OK); 43 HandleDialogResponse(GTK_DIALOG(dialog_), GTK_RESPONSE_OK);
46 } 44 }
47 45
48 void AppModalDialog::CancelWindow() { 46 void AppModalDialog::CancelWindow() {
49 DCHECK(dialog_); 47 DCHECK(dialog_);
50 HandleDialogResponse(GTK_DIALOG(dialog_), GTK_RESPONSE_CANCEL); 48 HandleDialogResponse(GTK_DIALOG(dialog_), GTK_RESPONSE_CANCEL);
51 } 49 }
OLDNEW
« no previous file with comments | « app/text_elider_unittest.cc ('k') | chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698