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

Unified Diff: content/browser/browser_main_loop.cc

Issue 2761213003: Revert of Screen.orientation lock API implementation for Windows8 and later. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add 702435 to commit message Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 6f8e9632a429e53c5652e3e28a6b6bfe04893876..eaf526c1dc4d665e8c011a5b6fdf6771a5488682 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -154,8 +154,6 @@
#include <shellapi.h>
#include "base/memory/memory_pressure_monitor_win.h"
-#include "base/win/windows_version.h"
-#include "content/browser/screen_orientation/screen_orientation_delegate_win.h"
#include "content/common/sandbox_win.h"
#include "net/base/winsock_init.h"
#include "ui/base/l10n/l10n_util_win.h"
@@ -737,11 +735,6 @@ void BrowserMainLoop::PostMainMessageLoopStart() {
BrowserThread::GetTaskRunnerForThread(BrowserThread::UI));
}
-#if defined(OS_WIN)
- if (base::win::GetVersion() >= base::win::VERSION_WIN8)
- screen_orientation_delegate_.reset(new ScreenOrientationDelegateWin());
-#endif
-
// Only use discardable_memory::DiscardableSharedMemoryManager when Chrome is
// not running in mus+ash.
if (!service_manager::ServiceManagerIsRemote()) {
« no previous file with comments | « content/browser/browser_main_loop.h ('k') | content/browser/screen_orientation/screen_orientation_delegate_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698