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

Unified Diff: chrome/browser/chromeos/arc/page_transition_util.h

Issue 2348673002: Add an external protocol dialog for ARC (Closed)
Patch Set: Address Xiyuan's comment Created 4 years, 3 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/chromeos/arc/page_transition_util.h
diff --git a/chrome/browser/chromeos/arc/page_transition_util.h b/chrome/browser/chromeos/arc/page_transition_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..4fbbcfb4b7fabb2d2c04e9b87d3894aa205b9e4e
--- /dev/null
+++ b/chrome/browser/chromeos/arc/page_transition_util.h
@@ -0,0 +1,17 @@
+// Copyright 2016 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.
+
+#ifndef CHROME_BROWSER_CHROMEOS_ARC_PAGE_TRANSITION_UTIL_H_
+#define CHROME_BROWSER_CHROMEOS_ARC_PAGE_TRANSITION_UTIL_H_
+
+#include "ui/base/page_transition_types.h"
+
+namespace arc {
+
+// Returns true if ARC should ignore the navigation with the |page_transition|.
+bool ShouldIgnoreNavigation(ui::PageTransition page_transition);
+
+} // namespace arc
+
+#endif // CHROME_BROWSER_CHROMEOS_ARC_PAGE_TRANSITION_UTIL_H_
« no previous file with comments | « chrome/browser/chromeos/arc/arc_navigation_throttle.cc ('k') | chrome/browser/chromeos/arc/page_transition_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698