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

Side by Side Diff: chrome/browser/tab_contents/infobar_delegate.h

Issue 20072: Finish taking out render_messages.h include from other headers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_TAB_CONTENTS_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "chrome/browser/tab_contents/navigation_controller.h" 11 #include "chrome/browser/tab_contents/navigation_controller.h"
12 #include "skia/include/SkBitmap.h" 12 #include "skia/include/SkBitmap.h"
13 #include "webkit/glue/window_open_disposition.h"
13 14
14 class AlertInfoBarDelegate; 15 class AlertInfoBarDelegate;
15 class ConfirmInfoBarDelegate; 16 class ConfirmInfoBarDelegate;
16 class InfoBar; 17 class InfoBar;
17 class LinkInfoBarDelegate; 18 class LinkInfoBarDelegate;
18 19
19 // An interface implemented by objects wishing to control an InfoBar. 20 // An interface implemented by objects wishing to control an InfoBar.
20 // Implementing this interface is not sufficient to use an InfoBar, since it 21 // Implementing this interface is not sufficient to use an InfoBar, since it
21 // does not map to a specific InfoBar type. Instead, you must implement either 22 // does not map to a specific InfoBar type. Instead, you must implement either
22 // AlertInfoBarDelegate or ConfirmInfoBarDelegate, or override with your own 23 // AlertInfoBarDelegate or ConfirmInfoBarDelegate, or override with your own
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 virtual void InfoBarClosed(); 217 virtual void InfoBarClosed();
217 218
218 private: 219 private:
219 std::wstring message_; 220 std::wstring message_;
220 SkBitmap* icon_; 221 SkBitmap* icon_;
221 222
222 DISALLOW_COPY_AND_ASSIGN(SimpleAlertInfoBarDelegate); 223 DISALLOW_COPY_AND_ASSIGN(SimpleAlertInfoBarDelegate);
223 }; 224 };
224 225
225 #endif // #ifndef CHROME_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_ 226 #endif // #ifndef CHROME_BROWSER_TAB_CONTENTS_INFOBAR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698