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

Unified Diff: chrome/browser/ui/views/infobars/confirm_infobar.cc

Issue 11896047: Move the methods in disposition_utils.h and event_disposition.h to ui\base\window_open_disposition.… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix regex in ui.gyp Created 7 years, 11 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
Index: chrome/browser/ui/views/infobars/confirm_infobar.cc
===================================================================
--- chrome/browser/ui/views/infobars/confirm_infobar.cc (revision 178083)
+++ chrome/browser/ui/views/infobars/confirm_infobar.cc (working copy)
@@ -6,7 +6,7 @@
#include "base/logging.h"
#include "chrome/browser/api/infobars/confirm_infobar_delegate.h"
-#include "chrome/browser/event_disposition.h"
+#include "ui/base/window_open_disposition.h"
#include "ui/views/controls/button/text_button.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/link.h"
@@ -128,8 +128,7 @@
return; // We're closing; don't call anything, it might access the owner.
DCHECK(link_ != NULL);
DCHECK_EQ(link_, source);
- if (GetDelegate()->LinkClicked(
- chrome::DispositionFromEventFlags(event_flags)))
+ if (GetDelegate()->LinkClicked(ui::DispositionFromEventFlags(event_flags)))
RemoveSelf();
}

Powered by Google App Engine
This is Rietveld 408576698