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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 <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/platform_util.h" 10 #include "chrome/browser/platform_util.h"
11 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 11 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
12 #include "chrome/browser/ui/gtk/custom_button.h" 12 #include "chrome/browser/ui/gtk/custom_button.h"
13 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h" 13 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h"
14 #include "chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.h" 14 #include "chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.h"
15 #include "chrome/browser/ui/gtk/gtk_theme_provider.h" 15 #include "chrome/browser/ui/gtk/gtk_theme_provider.h"
16 #include "chrome/browser/ui/gtk/gtk_util.h" 16 #include "chrome/browser/ui/gtk/gtk_util.h"
17 #include "chrome/browser/ui/gtk/infobars/infobar_container_gtk.h" 17 #include "chrome/browser/ui/gtk/infobars/infobar_container_gtk.h"
18 #include "chrome/common/notification_service.h" 18 #include "chrome/common/notification_service.h"
19 #include "gfx/gtk_util.h" 19 #include "ui/gfx/gtk_util.h"
20 20
21 extern const int InfoBar::kInfoBarHeight = 37; 21 extern const int InfoBar::kInfoBarHeight = 37;
22 22
23 namespace { 23 namespace {
24 24
25 // Spacing after message (and before buttons). 25 // Spacing after message (and before buttons).
26 const int kEndOfLabelSpacing = 6; 26 const int kEndOfLabelSpacing = 6;
27 // Spacing between buttons. 27 // Spacing between buttons.
28 const int kButtonButtonSpacing = 3; 28 const int kButtonButtonSpacing = 3;
29 29
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 } 404 }
405 } 405 }
406 406
407 InfoBar* LinkInfoBarDelegate::CreateInfoBar() { 407 InfoBar* LinkInfoBarDelegate::CreateInfoBar() {
408 return new LinkInfoBar(this); 408 return new LinkInfoBar(this);
409 } 409 }
410 410
411 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() { 411 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() {
412 return new ConfirmInfoBar(this); 412 return new ConfirmInfoBar(this);
413 } 413 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/infobars/infobar_arrow_model.cc ('k') | chrome/browser/ui/gtk/js_modal_dialog_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698