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

Side by Side Diff: chrome/browser/chrome_browser_main_win.h

Issue 10984007: in-chrome viewer for metro (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove debug code Created 8 years, 2 months 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 win32-specific. 5 // Contains functions used by BrowserMain() that are win32-specific.
6 6
7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_
8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ 8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "chrome/browser/chrome_browser_main.h" 11 #include "chrome/browser/chrome_browser_main.h"
12 12
13 class CommandLine; 13 class CommandLine;
14 14
15 namespace chrome { 15 namespace chrome {
16 class RemovableDeviceNotificationsWindowWin; 16 class RemovableDeviceNotificationsWindowWin;
17 } // namespace chrome 17 } // namespace chrome
18 18
19 namespace viewer {
20 class ViewerProcessHost;
21 } // namespace viewer
22
19 23
20 // Handle uninstallation when given the appropriate the command-line switch. 24 // Handle uninstallation when given the appropriate the command-line switch.
21 // If |chrome_still_running| is true a modal dialog will be shown asking the 25 // If |chrome_still_running| is true a modal dialog will be shown asking the
22 // user to close the other chrome instance. 26 // user to close the other chrome instance.
23 int DoUninstallTasks(bool chrome_still_running); 27 int DoUninstallTasks(bool chrome_still_running);
24 28
25 class ChromeBrowserMainPartsWin : public ChromeBrowserMainParts { 29 class ChromeBrowserMainPartsWin : public ChromeBrowserMainParts {
26 public: 30 public:
27 explicit ChromeBrowserMainPartsWin( 31 explicit ChromeBrowserMainPartsWin(
28 const content::MainFunctionParams& parameters); 32 const content::MainFunctionParams& parameters);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // user level Chrome. 66 // user level Chrome.
63 static bool CheckMachineLevelInstall(); 67 static bool CheckMachineLevelInstall();
64 68
65 // Sets the TranslationDelegate which provides localized strings to 69 // Sets the TranslationDelegate which provides localized strings to
66 // installer_util. 70 // installer_util.
67 static void SetupInstallerUtilStrings(); 71 static void SetupInstallerUtilStrings();
68 72
69 private: 73 private:
70 scoped_refptr<chrome::RemovableDeviceNotificationsWindowWin> 74 scoped_refptr<chrome::RemovableDeviceNotificationsWindowWin>
71 removable_device_notifications_window_; 75 removable_device_notifications_window_;
76 scoped_ptr<viewer::ViewerProcessHost> viewer_process_host_;
72 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); 77 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin);
73 }; 78 };
74 79
75 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ 80 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_win.cc » ('j') | chrome/browser/viewer/viewer_process_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698