summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-02 00:40:02 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-02 00:40:02 +0000
commit362e0041180293d9d81bc053a85912a9b3bd1089 (patch)
tree0d152f53c446c54a61d20b1e176f1d1f3a1803da /chrome/browser/tab_contents
parent40216b70b25e2cbfcff19eadbc2c246e98b2a3b8 (diff)
downloadchromium_src-362e0041180293d9d81bc053a85912a9b3bd1089.zip
chromium_src-362e0041180293d9d81bc053a85912a9b3bd1089.tar.gz
chromium_src-362e0041180293d9d81bc053a85912a9b3bd1089.tar.bz2
Add chrome/chromium icons as PNGs.
Also, add support to NativeButton for rendering as default independently of behaving as default. This will be used by the default browser infobar. Adds methods to the infobar delegate interface to allow the delegate to specify that it wants its Accept button to appear as the default button. http://crbug.com/9049 Review URL: http://codereview.chromium.org/100288 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15125 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/infobar_delegate.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/infobar_delegate.h b/chrome/browser/tab_contents/infobar_delegate.h
index 3f6cfdb..25db94d 100644
--- a/chrome/browser/tab_contents/infobar_delegate.h
+++ b/chrome/browser/tab_contents/infobar_delegate.h
@@ -172,8 +172,10 @@ class ConfirmInfoBarDelegate : public AlertInfoBarDelegate {
public:
enum InfoBarButton {
BUTTON_NONE = 0,
- BUTTON_OK,
- BUTTON_CANCEL
+ BUTTON_OK = 1,
+ BUTTON_CANCEL = 2,
+ // Specifies that the OK button should be rendered like a default button.
+ BUTTON_OK_DEFAULT = 4
};
// Return the buttons to be shown for this InfoBar.