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

Unified Diff: components/app_modal_dialogs/javascript_dialog_extensions_client.h

Issue 735473002: Rename app_modal_dialogs dir to app_modal (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 years, 1 month 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
Index: components/app_modal_dialogs/javascript_dialog_extensions_client.h
diff --git a/components/app_modal_dialogs/javascript_dialog_extensions_client.h b/components/app_modal_dialogs/javascript_dialog_extensions_client.h
deleted file mode 100644
index d5adb2decd50762d4f77a479c0db6780cad31aed..0000000000000000000000000000000000000000
--- a/components/app_modal_dialogs/javascript_dialog_extensions_client.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 The Chromium 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 COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_EXTENSIONS_CLIENT_H_
-#define COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_EXTENSIONS_CLIENT_H_
-
-#include <string>
-
-class GURL;
-
-namespace content {
-class WebContents;
-}
-
-// A client interface to access and control extensions/apps
-// that opened a JavaScript dialog.
-class JavaScriptDialogExtensionsClient {
- public:
- virtual ~JavaScriptDialogExtensionsClient() {}
-
- // Called when the extension associated with |web_contents| opened
- // a dialog.
- virtual void OnDialogOpened(content::WebContents* web_contents) = 0;
-
- // Called when a dialog created by the extension associated with
- // |web_contents| is closed.
- virtual void OnDialogClosed(content::WebContents* web_contents) = 0;
-
- // Sets the name of the extensions associated with the
- // |web_contents| in the |name_out| if there is one, returning true;
- // returns false otherwise.
- virtual bool GetExtensionName(content::WebContents* web_contents,
- const GURL& origin_url,
- std::string* name_out) = 0;
-};
-
-#endif // COMPONENTS_APP_MODAL_DIALOGS_JAVASCRIPT_DIALOG_EXTENSIONS_CLIENT_H_
« no previous file with comments | « components/app_modal_dialogs/javascript_app_modal_dialog.cc ('k') | components/app_modal_dialogs/javascript_dialog_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698