| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/ui/extensions/blocked_action_bubble_delegate.h" | 5 #include "chrome/browser/ui/extensions/blocked_action_bubble_delegate.h" |
| 6 | 6 |
| 7 #include "base/callback_helpers.h" | 7 #include "base/callback_helpers.h" |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "grit/generated_resources.h" | 9 #include "grit/generated_resources.h" |
| 10 #include "ui/base/l10n/l10n_util.h" | 10 #include "ui/base/l10n/l10n_util.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 | 55 |
| 56 std::string BlockedActionBubbleDelegate::GetAnchorActionId() { | 56 std::string BlockedActionBubbleDelegate::GetAnchorActionId() { |
| 57 return extension_id_; | 57 return extension_id_; |
| 58 } | 58 } |
| 59 | 59 |
| 60 void BlockedActionBubbleDelegate::OnBubbleShown() {} | 60 void BlockedActionBubbleDelegate::OnBubbleShown() {} |
| 61 | 61 |
| 62 void BlockedActionBubbleDelegate::OnBubbleClosed(CloseAction action) { | 62 void BlockedActionBubbleDelegate::OnBubbleClosed(CloseAction action) { |
| 63 base::ResetAndReturn(&callback_).Run(action); | 63 base::ResetAndReturn(&callback_).Run(action); |
| 64 } | 64 } |
| 65 | |
| 66 bool BlockedActionBubbleDelegate::IsExtensionMessageBubble() { | |
| 67 return false; | |
| 68 } | |
| OLD | NEW |