OLD | NEW |
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 #ifndef CHROME_BROWSER_CHROME_BROWSER_PARTS_TOUCH_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_PARTS_TOUCH_H_ |
6 #define CHROME_BROWSER_CHROME_BROWSER_PARTS_TOUCH_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_PARTS_TOUCH_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "content/public/browser/browser_main_parts.h" | 10 #include "content/public/browser/browser_main_parts.h" |
11 | 11 |
| 12 namespace content { |
| 13 class IOThreadDelegate; |
| 14 } |
| 15 |
12 class ChromeBrowserPartsTouch : public content::BrowserMainParts { | 16 class ChromeBrowserPartsTouch : public content::BrowserMainParts { |
13 public: | 17 public: |
14 ChromeBrowserPartsTouch(); | 18 ChromeBrowserPartsTouch(); |
15 | 19 |
16 virtual void PreEarlyInitialization() OVERRIDE {} | 20 virtual void PreEarlyInitialization() OVERRIDE {} |
17 virtual void PostEarlyInitialization() OVERRIDE {} | 21 virtual void PostEarlyInitialization() OVERRIDE {} |
18 virtual void PreMainMessageLoopStart() OVERRIDE {} | 22 virtual void PreMainMessageLoopStart() OVERRIDE {} |
19 virtual void ToolkitInitialized() OVERRIDE {} | 23 virtual void ToolkitInitialized() OVERRIDE {} |
20 virtual void PostMainMessageLoopStart() OVERRIDE {} | 24 virtual void PostMainMessageLoopStart() OVERRIDE {} |
21 virtual void PreMainMessageLoopRun() OVERRIDE; | 25 virtual content::IOThreadDelegate* PreMainMessageLoopRun() OVERRIDE; |
| 26 virtual void PreMainMessageLoopRunThreadsCreated() OVERRIDE {} |
22 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; | 27 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; |
23 virtual void PostMainMessageLoopRun() OVERRIDE {} | 28 virtual void PostMainMessageLoopRun() OVERRIDE {} |
| 29 virtual void PreStopThread(content::BrowserThread::ID) OVERRIDE {} |
| 30 virtual void PostStopThread(content::BrowserThread::ID) OVERRIDE {} |
| 31 virtual void FinalCleanup() OVERRIDE {} |
24 | 32 |
25 private: | 33 private: |
26 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserPartsTouch); | 34 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserPartsTouch); |
27 }; | 35 }; |
28 | 36 |
29 #endif // CHROME_BROWSER_CHROME_BROWSER_PARTS_TOUCH_H_ | 37 #endif // CHROME_BROWSER_CHROME_BROWSER_PARTS_TOUCH_H_ |
OLD | NEW |