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

Unified Diff: chrome/browser/extensions/extension_message_bubble_controller.cc

Issue 1881773002: [Extensions UI] Convert ExtensionMessageBubbles to ToolbarActionsBarBubbles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/extensions/blocked_action_bubble_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_message_bubble_controller.cc
diff --git a/chrome/browser/extensions/extension_message_bubble_controller.cc b/chrome/browser/extensions/extension_message_bubble_controller.cc
index 28cb4ad61e66fb7f54b4a106c26de15139b921a5..dfe1fed115a2874f655d4a0ddf31fb47f9e2b5c7 100644
--- a/chrome/browser/extensions/extension_message_bubble_controller.cc
+++ b/chrome/browser/extensions/extension_message_bubble_controller.cc
@@ -107,6 +107,8 @@ ExtensionMessageBubbleController::ExtensionMessageBubbleController(
}
ExtensionMessageBubbleController::~ExtensionMessageBubbleController() {
+ if (did_highlight_)
+ ToolbarActionsModel::Get(profile())->StopHighlighting();
}
Profile* ExtensionMessageBubbleController::profile() {
@@ -272,9 +274,6 @@ void ExtensionMessageBubbleController::OnClose() {
if (delegate_->ClearProfileSetAfterAction())
GetProfileSet()->clear();
}
-
- if (did_highlight_)
- ToolbarActionsModel::Get(profile())->StopHighlighting();
}
std::set<Profile*>* ExtensionMessageBubbleController::GetProfileSet() {
« no previous file with comments | « no previous file | chrome/browser/ui/extensions/blocked_action_bubble_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698