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 // Contains functions used by BrowserMain() that are views-specific. | 5 // Contains functions used by BrowserMain() that are views-specific. |
6 | 6 |
7 #ifndef CHROME_BROWSER_CHROME_BROWSER_PARTS_VIEWS_H_ | 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_PARTS_VIEWS_H_ |
8 #define CHROME_BROWSER_CHROME_BROWSER_PARTS_VIEWS_H_ | 8 #define CHROME_BROWSER_CHROME_BROWSER_PARTS_VIEWS_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "content/public/browser/browser_main_parts.h" | 12 #include "content/public/browser/browser_main_parts.h" |
13 | 13 |
14 class ChromeBrowserPartsViews : public content::BrowserMainParts { | 14 class ChromeBrowserPartsViews : public content::BrowserMainParts { |
15 public: | 15 public: |
16 ChromeBrowserPartsViews(); | 16 ChromeBrowserPartsViews(); |
17 | 17 |
18 virtual void PreEarlyInitialization() OVERRIDE {} | 18 virtual void PreEarlyInitialization() OVERRIDE {} |
19 virtual void PostEarlyInitialization() OVERRIDE {} | 19 virtual void PostEarlyInitialization() OVERRIDE {} |
20 virtual void PreMainMessageLoopStart() OVERRIDE {} | 20 virtual void PreMainMessageLoopStart() OVERRIDE {} |
21 virtual void ToolkitInitialized() OVERRIDE; | 21 virtual void ToolkitInitialized() OVERRIDE; |
22 virtual void PostMainMessageLoopStart() OVERRIDE {} | 22 virtual void PostMainMessageLoopStart() OVERRIDE {} |
23 virtual void PreMainMessageLoopRun() OVERRIDE; | 23 virtual void PreMainMessageLoopRun() OVERRIDE; |
24 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; | 24 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; |
25 virtual void PostMainMessageLoopRun() OVERRIDE {} | 25 virtual void PostMainMessageLoopRun() OVERRIDE {} |
26 }; | 26 }; |
27 | 27 |
28 #endif // CHROME_BROWSER_CHROME_BROWSER_PARTS_VIEWS_H_ | 28 #endif // CHROME_BROWSER_CHROME_BROWSER_PARTS_VIEWS_H_ |
OLD | NEW |