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

Side by Side Diff: app/win/shell.h

Issue 7231016: Move app/win/* files to base/win/, ui/base/win and chrome/common/ directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: brettw review Created 9 years, 6 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
« no previous file with comments | « app/win/scoped_com_initializer.h ('k') | app/win/shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef APP_WIN_SHELL_H_
6 #define APP_WIN_SHELL_H_
7
8 #include <windows.h>
9
10 #include "base/string16.h"
11
12 class FilePath;
13
14 namespace app {
15 namespace win {
16
17 // Open or run a file via the Windows shell. In the event that there is no
18 // default application registered for the file specified by 'full_path',
19 // ask the user, via the Windows "Open With" dialog.
20 // Returns 'true' on successful open, 'false' otherwise.
21 bool OpenItemViaShell(const FilePath& full_path);
22
23 // The download manager now writes the alternate data stream with the
24 // zone on all downloads. This function is equivalent to OpenItemViaShell
25 // without showing the zone warning dialog.
26 bool OpenItemViaShellNoZoneCheck(const FilePath& full_path);
27
28 // Ask the user, via the Windows "Open With" dialog, for an application to use
29 // to open the file specified by 'full_path'.
30 // Returns 'true' on successful open, 'false' otherwise.
31 bool OpenItemWithExternalApp(const string16& full_path);
32
33 // Sets the application id given as the Application Model ID for the window
34 // specified. This method is used to insure that different web applications
35 // do not group together on the Win7 task bar.
36 void SetAppIdForWindow(const string16& app_id, HWND hwnd);
37
38 } // namespace win
39 } // namespace app
40
41 #endif // APP_WIN_SHELL_H_
OLDNEW
« no previous file with comments | « app/win/scoped_com_initializer.h ('k') | app/win/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698