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

Side by Side Diff: chrome/browser/platform_util.h

Issue 1310873003: Implement PlatformUtil::OpenExternal() so that mailto: can work (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/platform_util_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PLATFORM_UTIL_H_ 5 #ifndef CHROME_BROWSER_PLATFORM_UTIL_H_
6 #define CHROME_BROWSER_PLATFORM_UTIL_H_ 6 #define CHROME_BROWSER_PLATFORM_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // whether the view has the visible attribute set. 91 // whether the view has the visible attribute set.
92 bool IsVisible(gfx::NativeView view); 92 bool IsVisible(gfx::NativeView view);
93 93
94 #if defined(OS_MACOSX) 94 #if defined(OS_MACOSX)
95 // On 10.7+, back and forward swipe gestures can be triggered using a scroll 95 // On 10.7+, back and forward swipe gestures can be triggered using a scroll
96 // gesture, if enabled in System Preferences. This function returns true if 96 // gesture, if enabled in System Preferences. This function returns true if
97 // the feature is supported and enabled, and false otherwise. 97 // the feature is supported and enabled, and false otherwise.
98 bool IsSwipeTrackingFromScrollEventsEnabled(); 98 bool IsSwipeTrackingFromScrollEventsEnabled();
99 #endif 99 #endif
100 100
101 #if defined(OS_ANDROID)
102 bool RegisterPlatformUtil(JNIEnv* env);
103 #endif
101 } // namespace platform_util 104 } // namespace platform_util
102 105
103 #endif // CHROME_BROWSER_PLATFORM_UTIL_H_ 106 #endif // CHROME_BROWSER_PLATFORM_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/platform_util_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698