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

Side by Side Diff: ui/base/win/shell.h

Issue 7265009: Revert 90464 - 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: Created 9 years, 5 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 | « content/gpu/gpu_main.cc ('k') | ui/base/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) 2011 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 UI_BASE_WIN_SHELL_H_
6 #define UI_BASE_WIN_SHELL_H_
7 #pragma once
8
9 #include <windows.h>
10
11 #include "base/string16.h"
12
13 class FilePath;
14
15 namespace ui {
16 namespace win {
17
18 // Open or run a file via the Windows shell. In the event that there is no
19 // default application registered for the file specified by 'full_path',
20 // ask the user, via the Windows "Open With" dialog.
21 // Returns 'true' on successful open, 'false' otherwise.
22 bool OpenItemViaShell(const FilePath& full_path);
23
24 // The download manager now writes the alternate data stream with the
25 // zone on all downloads. This function is equivalent to OpenItemViaShell
26 // without showing the zone warning dialog.
27 bool OpenItemViaShellNoZoneCheck(const FilePath& full_path);
28
29 // Ask the user, via the Windows "Open With" dialog, for an application to use
30 // to open the file specified by 'full_path'.
31 // Returns 'true' on successful open, 'false' otherwise.
32 bool OpenItemWithExternalApp(const string16& full_path);
33
34 // Sets the application id given as the Application Model ID for the window
35 // specified. This method is used to insure that different web applications
36 // do not group together on the Win7 task bar.
37 void SetAppIdForWindow(const string16& app_id, HWND hwnd);
38
39 } // namespace win
40 } // namespace ui
41
42 #endif // UI_BASE_WIN_SHELL_H_
OLDNEW
« no previous file with comments | « content/gpu/gpu_main.cc ('k') | ui/base/win/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698