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

Side by Side Diff: chrome/browser/chrome_browser_main_extra_parts_touch.cc

Issue 8539038: Add ChromeBrowserMainExtraParts for non main parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again + explicit reset of parts_ 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chrome_browser_parts_touch.h" 5 #include "chrome/browser/chrome_browser_main_extra_parts_touch.h"
6 6
7 #include "chrome/browser/ui/touch/sensors/screen_orientation_listener.h" 7 #include "chrome/browser/ui/touch/sensors/screen_orientation_listener.h"
8 8
9 ChromeBrowserPartsTouch::ChromeBrowserPartsTouch() 9 ChromeBrowserMainExtraPartsTouch::ChromeBrowserMainExtraPartsTouch()
10 : content::BrowserMainParts() { 10 : ChromeBrowserMainExtraParts() {
11 } 11 }
12 12
13 void ChromeBrowserPartsTouch::PreMainMessageLoopRun() { 13 void ChromeBrowserMainExtraPartsTouch::PreMainMessageLoopRun() {
14 // Make sure the singleton ScreenOrientationListener object is created. 14 // Make sure the singleton ScreenOrientationListener object is created.
15 ScreenOrientationListener::GetInstance(); 15 ScreenOrientationListener::GetInstance();
16 } 16 }
17
18 bool ChromeBrowserPartsTouch::MainMessageLoopRun(int* result_code) {
19 return false;
20 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_touch.h ('k') | chrome/browser/chrome_browser_main_extra_parts_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698