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

Side by Side Diff: components/infobars/core/infobar_delegate.cc

Issue 2860083003: Add timestamp support to the Previews infobar (Closed)
Patch Set: ryansturm comments Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/infobars/core/infobar_delegate.h" 5 #include "components/infobars/core/infobar_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "components/infobars/core/infobar.h" 9 #include "components/infobars/core/infobar.h"
10 #include "components/infobars/core/infobar_manager.h" 10 #include "components/infobars/core/infobar_manager.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 } 94 }
95 95
96 PermissionInfoBarDelegate* InfoBarDelegate::AsPermissionInfoBarDelegate() { 96 PermissionInfoBarDelegate* InfoBarDelegate::AsPermissionInfoBarDelegate() {
97 return nullptr; 97 return nullptr;
98 } 98 }
99 99
100 PopupBlockedInfoBarDelegate* InfoBarDelegate::AsPopupBlockedInfoBarDelegate() { 100 PopupBlockedInfoBarDelegate* InfoBarDelegate::AsPopupBlockedInfoBarDelegate() {
101 return nullptr; 101 return nullptr;
102 } 102 }
103 103
104 PreviewsInfoBarDelegate* InfoBarDelegate::AsPreviewsInfoBarDelegate() {
105 return nullptr;
106 }
107
104 RegisterProtocolHandlerInfoBarDelegate* 108 RegisterProtocolHandlerInfoBarDelegate*
105 InfoBarDelegate::AsRegisterProtocolHandlerInfoBarDelegate() { 109 InfoBarDelegate::AsRegisterProtocolHandlerInfoBarDelegate() {
106 return nullptr; 110 return nullptr;
107 } 111 }
108 112
109 ScreenCaptureInfoBarDelegate* 113 ScreenCaptureInfoBarDelegate*
110 InfoBarDelegate::AsScreenCaptureInfoBarDelegate() { 114 InfoBarDelegate::AsScreenCaptureInfoBarDelegate() {
111 return nullptr; 115 return nullptr;
112 } 116 }
113 117
(...skipping 20 matching lines...) Expand all
134 offline_pages::OfflinePageInfoBarDelegate* 138 offline_pages::OfflinePageInfoBarDelegate*
135 InfoBarDelegate::AsOfflinePageInfoBarDelegate() { 139 InfoBarDelegate::AsOfflinePageInfoBarDelegate() {
136 return nullptr; 140 return nullptr;
137 } 141 }
138 #endif 142 #endif
139 143
140 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { 144 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) {
141 } 145 }
142 146
143 } // namespace infobars 147 } // namespace infobars
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698