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

Unified Diff: chrome/browser/event_disposition.cc

Issue 7792048: WindowOpenDisposition should not be exposed in base and ui modules. (mac) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed a bug... Created 9 years, 4 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/cocoa/event_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/event_disposition.cc
diff --git a/chrome/browser/event_disposition.cc b/chrome/browser/event_disposition.cc
index 618e11be0f493947286c31de5e12d5906ab2c51f..3d07f2330aa698c2cc8c293fb31db014568a1925 100644
--- a/chrome/browser/event_disposition.cc
+++ b/chrome/browser/event_disposition.cc
@@ -13,8 +13,8 @@ WindowOpenDisposition DispositionFromEventFlags(int event_flags) {
(event_flags & ui::EF_MIDDLE_BUTTON_DOWN) != 0,
(event_flags & ui::EF_ALT_DOWN) != 0,
(event_flags & ui::EF_CONTROL_DOWN) != 0,
- false /* meta_key */,
+ (event_flags & ui::EF_COMMAND_DOWN) != 0,
(event_flags & ui::EF_SHIFT_DOWN) != 0);
}
-}
+} // namespace browser
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/event_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698