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

Side by Side Diff: chrome/browser/media/midi_permission_infobar_delegate_android.cc

Issue 2382563003: Remove some more desktop infobar PNGs. (Closed)
Patch Set: pkasting review Created 4 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/media/midi_permission_infobar_delegate_android.h" 5 #include "chrome/browser/media/midi_permission_infobar_delegate_android.h"
6 6
7 #include "chrome/browser/android/android_theme_resources.h"
7 #include "chrome/browser/infobars/infobar_service.h" 8 #include "chrome/browser/infobars/infobar_service.h"
8 #include "chrome/grit/generated_resources.h" 9 #include "chrome/grit/generated_resources.h"
9 #include "chrome/grit/theme_resources.h"
10 #include "components/infobars/core/infobar.h" 10 #include "components/infobars/core/infobar.h"
11 11
12 // static 12 // static
13 infobars::InfoBar* MidiPermissionInfoBarDelegateAndroid::Create( 13 infobars::InfoBar* MidiPermissionInfoBarDelegateAndroid::Create(
14 InfoBarService* infobar_service, 14 InfoBarService* infobar_service,
15 const GURL& requesting_frame, 15 const GURL& requesting_frame,
16 bool user_gesture, 16 bool user_gesture,
17 Profile* profile, 17 Profile* profile,
18 const PermissionSetCallback& callback) { 18 const PermissionSetCallback& callback) {
19 return infobar_service->AddInfoBar( 19 return infobar_service->AddInfoBar(
(...skipping 15 matching lines...) Expand all
35 callback) {} 35 callback) {}
36 36
37 MidiPermissionInfoBarDelegateAndroid::~MidiPermissionInfoBarDelegateAndroid() {} 37 MidiPermissionInfoBarDelegateAndroid::~MidiPermissionInfoBarDelegateAndroid() {}
38 38
39 infobars::InfoBarDelegate::InfoBarIdentifier 39 infobars::InfoBarDelegate::InfoBarIdentifier
40 MidiPermissionInfoBarDelegateAndroid::GetIdentifier() const { 40 MidiPermissionInfoBarDelegateAndroid::GetIdentifier() const {
41 return MIDI_PERMISSION_INFOBAR_DELEGATE_ANDROID; 41 return MIDI_PERMISSION_INFOBAR_DELEGATE_ANDROID;
42 } 42 }
43 43
44 int MidiPermissionInfoBarDelegateAndroid::GetIconId() const { 44 int MidiPermissionInfoBarDelegateAndroid::GetIconId() const {
45 return IDR_INFOBAR_MIDI; 45 return IDR_ANDROID_INFOBAR_MIDI;
46 } 46 }
47 47
48 int MidiPermissionInfoBarDelegateAndroid::GetMessageResourceId() const { 48 int MidiPermissionInfoBarDelegateAndroid::GetMessageResourceId() const {
49 return IDS_MIDI_SYSEX_INFOBAR_QUESTION; 49 return IDS_MIDI_SYSEX_INFOBAR_QUESTION;
50 } 50 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_request_infobar_delegate_android.cc ('k') | chrome/browser/pepper_broker_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698