Searched refs:rotation_value (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
H A Ddisplay_options_handler.cc426 std::string rotation_value;
428 if (!args->GetString(1, &rotation_value)) {
432 if (rotation_value == "90")
434 else if (rotation_value == "180")
436 else if (rotation_value == "270")
438 else if (rotation_value != "0")
439 LOG(ERROR) << "Invalid rotation: " << rotation_value << " Falls back to 0";
/external/chromium_org/chrome/browser/chromeos/display/
H A Ddisplay_preferences.cc156 int rotation_value = 0; local
157 if (dict_value->GetInteger("rotation", &rotation_value)) {
158 rotation = static_cast<gfx::Display::Rotation>(rotation_value);

Completed in 836 milliseconds