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

Unified Diff: chrome/browser/ui/browser_window.h

Issue 1724733002: Show a warning bubble when the IME extension is activated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix patch conflict. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 5932af52998d5231d157986691275e53325e200f..05559a236cd3bc7a0a9a4aaa4ab1c75467d178c4 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -66,6 +66,8 @@ namespace web_modal {
class WebContentsModalDialogHost;
}
+enum class ImeWarningBubblePermissionStatus;
+
////////////////////////////////////////////////////////////////////////////////
// BrowserWindow interface
// An interface implemented by the "view" of the Browser window.
@@ -379,6 +381,12 @@ class BrowserWindow : public ui::BaseWindow {
// Returns object implementing ExclusiveAccessContext interface.
virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0;
+ // Shows the IME warning bubble.
+ virtual void ShowImeWarningBubble(
+ const extensions::Extension* extension,
+ const base::Callback<void(ImeWarningBubblePermissionStatus status)>&
+ callback) = 0;
+
protected:
friend class BrowserCloseManager;
friend class BrowserView;
« no previous file with comments | « chrome/browser/extensions/api/input_ime/input_ime_api_nonchromeos.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698