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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 8678019: Move sensors interface into content/public/browser (since it's only used by browser directory). M... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix aura typo Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/dbus/sensors_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler.cc
===================================================================
--- chrome/browser/browser_about_handler.cc (revision 111374)
+++ chrome/browser/browser_about_handler.cc (working copy)
@@ -1575,16 +1575,16 @@
shim->SimulateHang();
#if defined(OS_CHROMEOS)
} else if (host == chrome::kChromeUIRotateHost) {
- sensors::ScreenOrientation change;
+ content::ScreenOrientation change;
std::string query(url->query());
if (query == "left") {
- change.upward = sensors::ScreenOrientation::LEFT;
+ change = content::SCREEN_ORIENTATION_LEFT;
} else if (query == "right") {
- change.upward = sensors::ScreenOrientation::RIGHT;
+ change = content::SCREEN_ORIENTATION_RIGHT;
} else if (query == "top") {
- change.upward = sensors::ScreenOrientation::TOP;
+ change = content::SCREEN_ORIENTATION_TOP;
} else if (query == "bottom") {
- change.upward = sensors::ScreenOrientation::BOTTOM;
+ change = content::SCREEN_ORIENTATION_BOTTOM;
} else {
NOTREACHED() << "Unknown orientation";
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/dbus/sensors_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698