mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-14 10:34:29 +01:00
eda69594ef
- Add a new CefBrowserHost::RunFileDialog method that displays the specified file chooser dialog and returns the results asynchronously (issue #761). - Add a new CefDialogHandler::OnFileDialog callback that allows the application to provide custom UI for file chooser dialogs (issue #761). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@862 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
23 lines
635 B
C++
23 lines
635 B
C++
// Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
// can be found in the LICENSE file.
|
|
|
|
#ifndef CEF_TESTS_CEFCLIENT_DIALOG_TEST_H_
|
|
#define CEF_TESTS_CEFCLIENT_DIALOG_TEST_H_
|
|
#pragma once
|
|
|
|
#include "cefclient/client_handler.h"
|
|
|
|
namespace dialog_test {
|
|
|
|
// Delegate creation. Called from ClientHandler.
|
|
void CreateProcessMessageDelegates(
|
|
ClientHandler::ProcessMessageDelegateSet& delegates);
|
|
|
|
// Run the test.
|
|
void RunTest(CefRefPtr<CefBrowser> browser);
|
|
|
|
} // namespace dialog_test
|
|
|
|
#endif // CEF_TESTS_CEFCLIENT_DIALOG_TEST_H_
|