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

Side by Side Diff: chrome/browser/ui/browser_util.h

Issue 617543002: Disable overscroll on Windows machines w/o touchscreen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unwanted changes. Created 6 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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_BROWSER_UTIL_H_
6 #define CHROME_BROWSER_UI_BROWSER_UTIL_H_
7
8 #include "base/basictypes.h"
9 #include "base/strings/string16.h"
10
11 // Contains helper functions used by the Browser.
12 class BrowserUtil {
sky 2014/10/01 20:05:04 Sorry. I had thought there was already a browser_u
13 public:
14 // Returns true if the overscrolling browser contents is enabled on the
15 // current platform.
16 static bool IsOverscrollEnabledOnPlatform();
17
18 // Prepares a title string for display (removes embedded newlines, etc).
19 static void FormatTitleForDisplay(base::string16* title);
20
21 DISALLOW_IMPLICIT_CONSTRUCTORS(BrowserUtil);
22 };
23
24 #endif // CHROME_BROWSER_UI_BROWSER_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698