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

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

Issue 6989001: Misc. infobar stuff: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/extension_infobar_gtk.h" 5 #include "chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h"
6 6
7 #include "chrome/browser/extensions/extension_host.h" 7 #include "chrome/browser/extensions/extension_host.h"
8 #include "chrome/common/extensions/extension.h" 8 #include "chrome/common/extensions/extension.h"
9 #include "chrome/common/extensions/extension_icon_set.h" 9 #include "chrome/common/extensions/extension_icon_set.h"
10 #include "chrome/common/extensions/extension_resource.h" 10 #include "chrome/common/extensions/extension_resource.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 ->SetSize(new_size); 81 ->SetSize(new_size);
82 } 82 }
83 83
84 void ExtensionInfoBarGtk::OnExtensionPreferredSizeChanged( 84 void ExtensionInfoBarGtk::OnExtensionPreferredSizeChanged(
85 ExtensionViewGtk* view, 85 ExtensionViewGtk* view,
86 const gfx::Size& new_size) { 86 const gfx::Size& new_size) {
87 // TODO(rafaelw) - Size the InfobarGtk vertically based on the preferred size 87 // TODO(rafaelw) - Size the InfobarGtk vertically based on the preferred size
88 // of the content. 88 // of the content.
89 } 89 }
90 90
91 InfoBar* ExtensionInfoBarDelegate::CreateInfoBar() { 91 InfoBar* ExtensionInfoBarDelegate::CreateInfoBar(TabContentsWrapper* owner) {
92 return new ExtensionInfoBarGtk(this); 92 return new ExtensionInfoBarGtk(this);
93 } 93 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.cc ('k') | chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698