Index: chrome/browser/chrome_browser_parts_touch.cc |
diff --git a/chrome/browser/chrome_browser_parts_touch.cc b/chrome/browser/chrome_browser_parts_touch.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..506cf1d320f759ac30b284f641ded9474bbc2a5f |
--- /dev/null |
+++ b/chrome/browser/chrome_browser_parts_touch.cc |
@@ -0,0 +1,20 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/chrome_browser_parts_touch.h" |
+ |
+#include "chrome/browser/ui/touch/sensors/screen_orientation_listener.h" |
+ |
+ChromeBrowserPartsTouch::ChromeBrowserPartsTouch() |
+ : content::BrowserMainParts() { |
+} |
+ |
+void ChromeBrowserPartsTouch::PreMainMessageLoopRun() { |
+ // Make sure the singleton ScreenOrientationListener object is created. |
+ ScreenOrientationListener::GetInstance(); |
+} |
+ |
+bool ChromeBrowserPartsTouch::MainMessageLoopRun(int* result_code) { |
+ return false; |
+} |