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

Unified Diff: chrome/browser/ui/views/infobars/alternate_nav_infobar_view.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/alternate_nav_infobar_view.cc
===================================================================
--- chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc (revision 178083)
+++ chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc (working copy)
@@ -5,8 +5,8 @@
#include "chrome/browser/ui/views/infobars/alternate_nav_infobar_view.h"
#include "base/logging.h"
-#include "chrome/browser/event_disposition.h"
#include "chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h"
+#include "ui/base/window_open_disposition.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/link.h"
@@ -80,8 +80,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();
}
« no previous file with comments | « chrome/browser/ui/views/chrome_views_delegate.cc ('k') | chrome/browser/ui/views/infobars/confirm_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698