OLD | NEW |
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/gtk/infobar_gtk.h" | 5 #include "chrome/browser/gtk/infobar_gtk.h" |
6 | 6 |
7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
8 | 8 |
9 #include "base/gfx/gtk_util.h" | 9 #include "app/gfx/gtk_util.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "chrome/browser/gtk/custom_button.h" | 11 #include "chrome/browser/gtk/custom_button.h" |
12 #include "chrome/browser/gtk/gtk_chrome_link_button.h" | 12 #include "chrome/browser/gtk/gtk_chrome_link_button.h" |
13 #include "chrome/browser/gtk/infobar_container_gtk.h" | 13 #include "chrome/browser/gtk/infobar_container_gtk.h" |
14 #include "chrome/browser/tab_contents/infobar_delegate.h" | 14 #include "chrome/browser/tab_contents/infobar_delegate.h" |
15 #include "chrome/common/gtk_util.h" | 15 #include "chrome/common/gtk_util.h" |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 const double kBackgroundColorTop[3] = | 19 const double kBackgroundColorTop[3] = |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 | 283 |
284 InfoBar* LinkInfoBarDelegate::CreateInfoBar() { | 284 InfoBar* LinkInfoBarDelegate::CreateInfoBar() { |
285 return new LinkInfoBar(this); | 285 return new LinkInfoBar(this); |
286 } | 286 } |
287 | 287 |
288 // ConfirmInfoBarDelegate, InfoBarDelegate overrides: -------------------------- | 288 // ConfirmInfoBarDelegate, InfoBarDelegate overrides: -------------------------- |
289 | 289 |
290 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() { | 290 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() { |
291 return new ConfirmInfoBar(this); | 291 return new ConfirmInfoBar(this); |
292 } | 292 } |
OLD | NEW |