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 gtk-specific. | 5 // Contains functions used by BrowserMain() that are gtk-specific. |
6 | 6 |
7 #ifndef CHROME_BROWSER_CHROME_BROWSER_PARTS_GTK_H_ | 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_PARTS_GTK_H_ |
8 #define CHROME_BROWSER_CHROME_BROWSER_PARTS_GTK_H_ | 8 #define CHROME_BROWSER_CHROME_BROWSER_PARTS_GTK_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
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 static void ShowMessageBox(const char* message); | 27 static void ShowMessageBox(const char* message); |
28 | 28 |
29 private: | 29 private: |
30 void DetectRunningAsRoot(); | 30 void DetectRunningAsRoot(); |
31 }; | 31 }; |
32 | 32 |
33 #endif // CHROME_BROWSER_CHROME_BROWSER_PARTS_GTK_H_ | 33 #endif // CHROME_BROWSER_CHROME_BROWSER_PARTS_GTK_H_ |
OLD | NEW |