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

Side by Side Diff: chrome/browser/chromeos/arc/page_transition_util.h

Issue 2363303003: Allow the external protocol dialog to handle FORM_SUBMIT navigation (Closed)
Patch Set: address comment Created 4 years, 2 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 unified diff | Download patch
OLDNEW
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 15
15 } // namespace arc 16 } // namespace arc
16 17
17 #endif // CHROME_BROWSER_CHROMEOS_ARC_PAGE_TRANSITION_UTIL_H_ 18 #endif // CHROME_BROWSER_CHROMEOS_ARC_PAGE_TRANSITION_UTIL_H_
OLDNEW
« 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