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

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

Issue 2946013002: PaymentHandler: Implement requestPermission().
Patch Set: PaymentHandler: Implement requestPermission(). Created 3 years, 6 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 #ifndef COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_ 5 #ifndef COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_
6 #define COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_ 6 #define COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 INSTANT_APPS_INFOBAR_DELEGATE_ANDROID = 67, 140 INSTANT_APPS_INFOBAR_DELEGATE_ANDROID = 67,
141 DATA_REDUCTION_PROXY_PREVIEW_INFOBAR_DELEGATE = 68, 141 DATA_REDUCTION_PROXY_PREVIEW_INFOBAR_DELEGATE = 68,
142 SCREEN_CAPTURE_INFOBAR_DELEGATE_ANDROID = 69, 142 SCREEN_CAPTURE_INFOBAR_DELEGATE_ANDROID = 69,
143 GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID = 70, 143 GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID = 70,
144 OFFLINE_PAGE_INFOBAR_DELEGATE = 71, 144 OFFLINE_PAGE_INFOBAR_DELEGATE = 71,
145 SEARCH_GEOLOCATION_DISCLOSURE_INFOBAR_DELEGATE = 72, 145 SEARCH_GEOLOCATION_DISCLOSURE_INFOBAR_DELEGATE = 72,
146 AUTOMATION_INFOBAR_DELEGATE = 73, 146 AUTOMATION_INFOBAR_DELEGATE = 73,
147 VR_SERVICES_UPGRADE_ANDROID = 74, 147 VR_SERVICES_UPGRADE_ANDROID = 74,
148 READER_MODE_INFOBAR_ANDROID = 75, 148 READER_MODE_INFOBAR_ANDROID = 75,
149 VR_FEEDBACK_INFOBAR_ANDROID = 76, 149 VR_FEEDBACK_INFOBAR_ANDROID = 76,
150 PAYMENT_HANDLER_INFOBAR_DELEGATE_ANDROID = 77,
150 }; 151 };
151 152
152 // Describes navigation events, used to decide whether infobars should be 153 // Describes navigation events, used to decide whether infobars should be
153 // dismissed. 154 // dismissed.
154 struct NavigationDetails { 155 struct NavigationDetails {
155 // Unique identifier for the entry. 156 // Unique identifier for the entry.
156 int entry_id; 157 int entry_id;
157 // True if it is a navigation to a different page (as opposed to in-page). 158 // True if it is a navigation to a different page (as opposed to in-page).
158 bool is_navigation_to_different_page; 159 bool is_navigation_to_different_page;
159 // True if the entry replaced the existing one. 160 // True if the entry replaced the existing one.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 249
249 // The ID of the active navigation entry at the time we became owned. 250 // The ID of the active navigation entry at the time we became owned.
250 int nav_entry_id_; 251 int nav_entry_id_;
251 252
252 DISALLOW_COPY_AND_ASSIGN(InfoBarDelegate); 253 DISALLOW_COPY_AND_ASSIGN(InfoBarDelegate);
253 }; 254 };
254 255
255 } // namespace infobars 256 } // namespace infobars
256 257
257 #endif // COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_ 258 #endif // COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/content_settings/core/common/content_settings_types.h ('k') | components/payments_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698