OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_PAGE_TRANSITION_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_PAGE_TRANSITION_UTIL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_ARC_PAGE_TRANSITION_UTIL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ARC_PAGE_TRANSITION_UTIL_H_ |
7 | 7 |
8 #include "ui/base/page_transition_types.h" | 8 #include "ui/base/page_transition_types.h" |
9 | 9 |
10 namespace arc { | 10 namespace arc { |
11 | 11 |
12 // Returns true if ARC should ignore the navigation with the |page_transition|. | 12 // Returns true if ARC should ignore the navigation with the |page_transition|. |
13 bool ShouldIgnoreNavigation(ui::PageTransition page_transition, | 13 bool ShouldIgnoreNavigation(ui::PageTransition page_transition, |
14 bool allow_form_submit); | 14 bool allow_form_submit); |
15 | 15 |
16 } // namespace arc | 16 } // namespace arc |
17 | 17 |
18 #endif // CHROME_BROWSER_CHROMEOS_ARC_PAGE_TRANSITION_UTIL_H_ | 18 #endif // CHROME_BROWSER_CHROMEOS_ARC_PAGE_TRANSITION_UTIL_H_ |
OLD | NEW |