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

Side by Side Diff: chrome/browser/ui/gtk/infobars/infobar_gtk.cc

Issue 7601014: browser: Abstract message box dialog functions into its own header file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile on linux_view? Created 9 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
OLDNEW
1 // Copyright (c) 2011 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/ui/gtk/infobars/infobar_gtk.h" 5 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/platform_util.h"
9 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 8 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
10 #include "chrome/browser/ui/gtk/custom_button.h" 9 #include "chrome/browser/ui/gtk/custom_button.h"
11 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h" 10 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h"
12 #include "chrome/browser/ui/gtk/gtk_expanded_container.h" 11 #include "chrome/browser/ui/gtk/gtk_expanded_container.h"
13 #include "chrome/browser/ui/gtk/gtk_theme_service.h" 12 #include "chrome/browser/ui/gtk/gtk_theme_service.h"
14 #include "chrome/browser/ui/gtk/gtk_util.h" 13 #include "chrome/browser/ui/gtk/gtk_util.h"
15 #include "chrome/browser/ui/gtk/infobars/infobar_container_gtk.h" 14 #include "chrome/browser/ui/gtk/infobars/infobar_container_gtk.h"
16 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 15 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
17 #include "chrome/common/chrome_notification_types.h" 16 #include "chrome/common/chrome_notification_types.h"
18 #include "content/common/notification_service.h" 17 #include "content/common/notification_service.h"
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 const NotificationSource& source, 259 const NotificationSource& source,
261 const NotificationDetails& details) { 260 const NotificationDetails& details) {
262 UpdateBorderColor(); 261 UpdateBorderColor();
263 } 262 }
264 263
265 void InfoBarGtk::OnChildSizeRequest(GtkWidget* expanded, 264 void InfoBarGtk::OnChildSizeRequest(GtkWidget* expanded,
266 GtkWidget* child, 265 GtkWidget* child,
267 GtkRequisition* requisition) { 266 GtkRequisition* requisition) {
268 requisition->height = -1; 267 requisition->height = -1;
269 } 268 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/simple_message_box_mac.mm ('k') | chrome/browser/ui/gtk/simple_message_box_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698