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

Unified Diff: chrome/utility/shell_handler_impl_win.h

Issue 2122303002: Revive experiment to isolate shell operations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/utility/ipc_shell_handler_win.cc ('k') | chrome/utility/shell_handler_impl_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/shell_handler_impl_win.h
diff --git a/chrome/utility/shell_handler_impl_win.h b/chrome/utility/shell_handler_impl_win.h
index 224812e5dbddeaecf7cb32c8d021797761313477..51c8338f192e65f63fefb4b22ca317030cc2e507 100644
--- a/chrome/utility/shell_handler_impl_win.h
+++ b/chrome/utility/shell_handler_impl_win.h
@@ -5,6 +5,9 @@
#ifndef CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_
#define CHROME_UTILITY_SHELL_HANDLER_IMPL_WIN_H_
+#include <tuple>
+#include <vector>
+
#include "base/macros.h"
#include "chrome/common/shell_handler_win.mojom.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
@@ -21,6 +24,24 @@ class ShellHandlerImpl : public mojom::ShellHandler {
// mojom::ShellHandler:
void IsPinnedToTaskbar(const IsPinnedToTaskbarCallback& callback) override;
+ void DoGetOpenFileName(
+ uint32_t owner,
+ uint32_t flags,
+ const std::vector<std::tuple<base::string16, base::string16>>& filters,
+ const base::FilePath& initial_directory,
+ const base::FilePath& filename,
+ const DoGetOpenFileNameCallback& callback) override;
+
+ void DoGetSaveFileName(
+ uint32_t owner,
+ uint32_t flags,
+ const std::vector<std::tuple<base::string16, base::string16>>& filters,
+ uint32_t one_based_filter_index,
+ const base::FilePath& initial_directory,
+ const base::FilePath& suggested_filename,
+ const base::FilePath& default_extension,
+ const DoGetSaveFileNameCallback& callback) override;
+
mojo::StrongBinding<ShellHandler> binding_;
DISALLOW_COPY_AND_ASSIGN(ShellHandlerImpl);
« no previous file with comments | « chrome/utility/ipc_shell_handler_win.cc ('k') | chrome/utility/shell_handler_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698