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

Side by Side Diff: chrome/utility/shell_handler_win.h

Issue 352393002: Be explicit about target type in platform_util::OpenItem() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Catch up with changes to JSONStringValueSerializer and address CrOS comment Created 5 years, 9 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 | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/shell_handler_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_UTILITY_SHELL_HANDLER_WIN_H_ 5 #ifndef CHROME_UTILITY_SHELL_HANDLER_WIN_H_
6 #define CHROME_UTILITY_SHELL_HANDLER_WIN_H_ 6 #define CHROME_UTILITY_SHELL_HANDLER_WIN_H_
7 7
8 #include <Windows.h> 8 #include <Windows.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 18 matching lines...) Expand all
29 // in a non-sandboxed utility process. 29 // in a non-sandboxed utility process.
30 class ShellHandler : public UtilityMessageHandler { 30 class ShellHandler : public UtilityMessageHandler {
31 public: 31 public:
32 ShellHandler(); 32 ShellHandler();
33 virtual ~ShellHandler(); 33 virtual ~ShellHandler();
34 34
35 // IPC::Listener implementation 35 // IPC::Listener implementation
36 virtual bool OnMessageReceived(const IPC::Message& message) override; 36 virtual bool OnMessageReceived(const IPC::Message& message) override;
37 37
38 private: 38 private:
39 void OnOpenItemViaShell(const base::FilePath& full_path); 39 void OnOpenFileViaShell(const base::FilePath& full_path);
40 void OnOpenFolderViaShell(const base::FilePath& full_path);
40 41
41 void OnGetOpenFileName( 42 void OnGetOpenFileName(
42 HWND owner, 43 HWND owner,
43 DWORD flags, 44 DWORD flags,
44 const GetOpenFileNameFilter& filter, 45 const GetOpenFileNameFilter& filter,
45 const base::FilePath& initial_directory, 46 const base::FilePath& initial_directory,
46 const base::FilePath& filename); 47 const base::FilePath& filename);
47 48
48 void OnGetSaveFileName(const ChromeUtilityMsg_GetSaveFileName_Params& params); 49 void OnGetSaveFileName(const ChromeUtilityMsg_GetSaveFileName_Params& params);
49 50
50 DISALLOW_COPY_AND_ASSIGN(ShellHandler); 51 DISALLOW_COPY_AND_ASSIGN(ShellHandler);
51 }; 52 };
52 53
53 #endif // CHROME_UTILITY_SHELL_HANDLER_WIN_H_ 54 #endif // CHROME_UTILITY_SHELL_HANDLER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/shell_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698