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

Side by Side Diff: chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h

Issue 8536010: Cleanup: Remove unneeded forward declarations from chrome/browser/ui/gtk and chrome/browser/ui/co... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address comments Created 9 years, 1 month 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 #ifndef CHROME_BROWSER_UI_GTK_INFOBARS_EXTENSION_INFOBAR_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_INFOBARS_EXTENSION_INFOBAR_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_INFOBARS_EXTENSION_INFOBAR_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_INFOBARS_EXTENSION_INFOBAR_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/extensions/extension_infobar_delegate.h" 9 #include "chrome/browser/extensions/extension_infobar_delegate.h"
10 #include "chrome/browser/extensions/image_loading_tracker.h" 10 #include "chrome/browser/extensions/image_loading_tracker.h"
11 #include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h" 11 #include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h"
12 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h" 12 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
13 #include "chrome/browser/ui/gtk/menu_gtk.h" 13 #include "chrome/browser/ui/gtk/menu_gtk.h"
14 #include "ui/gfx/gtk_util.h" 14 #include "ui/gfx/gtk_util.h"
15 15
16 class ExtensionContextMenuModel;
17 class ExtensionInfobarDelegate;
18 class ExtensionResource; 16 class ExtensionResource;
19 class ExtensionViewGtk; 17 class ExtensionViewGtk;
20 class MenuGtk; 18 class MenuGtk;
21 19
22 class ExtensionInfoBarGtk : public InfoBarGtk, 20 class ExtensionInfoBarGtk : public InfoBarGtk,
23 public ImageLoadingTracker::Observer, 21 public ImageLoadingTracker::Observer,
24 public MenuGtk::Delegate { 22 public MenuGtk::Delegate {
25 public: 23 public:
26 ExtensionInfoBarGtk(InfoBarTabHelper* owner, 24 ExtensionInfoBarGtk(InfoBarTabHelper* owner,
27 ExtensionInfoBarDelegate* delegate); 25 ExtensionInfoBarDelegate* delegate);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // An alignment with one pixel of bottom padding. This is set so the |view_| 77 // An alignment with one pixel of bottom padding. This is set so the |view_|
80 // doesn't overlap the bottom separator. This also makes it more convenient 78 // doesn't overlap the bottom separator. This also makes it more convenient
81 // to reattach the view since the alignment_ will have the |hbox_| packing 79 // to reattach the view since the alignment_ will have the |hbox_| packing
82 // child properties. Reparenting becomes easier too. 80 // child properties. Reparenting becomes easier too.
83 GtkWidget* alignment_; 81 GtkWidget* alignment_;
84 82
85 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarGtk); 83 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBarGtk);
86 }; 84 };
87 85
88 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_EXTENSION_INFOBAR_GTK_H_ 86 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_EXTENSION_INFOBAR_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/html_dialog_gtk.h ('k') | chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698