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

Unified Diff: ui/base/window_open_disposition.h

Issue 22314005: [Android] On calling openNewTab, pass the disposition instead of incognito. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reverted copyright year update Created 7 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 | « ui/android/java/WindowOpenDisposition.template ('k') | ui/base/window_open_disposition_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/window_open_disposition.h
diff --git a/ui/base/window_open_disposition.h b/ui/base/window_open_disposition.h
index 2f2edd362fceaad6c98a11b547a5b646c6595ed5..8d9662947f1d39f163bcd77869357551b4de81bd 100644
--- a/ui/base/window_open_disposition.h
+++ b/ui/base/window_open_disposition.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,18 +8,11 @@
#include "ui/base/ui_export.h"
enum WindowOpenDisposition {
- UNKNOWN,
- SUPPRESS_OPEN,
- CURRENT_TAB,
- // Indicates that only one tab with the url should exist in the same window.
- SINGLETON_TAB,
- NEW_FOREGROUND_TAB,
- NEW_BACKGROUND_TAB,
- NEW_POPUP,
- NEW_WINDOW,
- SAVE_TO_DISK,
- OFF_THE_RECORD,
- IGNORE_ACTION
+
+#define WINDOW_OPEN_DISPOSITION(label, value) label = value,
+#include "window_open_disposition_list.h"
+#undef WINDOW_OPEN_DISPOSITION
+
};
namespace ui {
« no previous file with comments | « ui/android/java/WindowOpenDisposition.template ('k') | ui/base/window_open_disposition_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698