Index: extensions/browser/app_window/app_window.h |
diff --git a/extensions/browser/app_window/app_window.h b/extensions/browser/app_window/app_window.h |
index 8d6ffea1c08b24193b260e1407a89693d3f0ac21..bf78e96ff1456e0cff586dd34aa5f6d8c0d66514 100644 |
--- a/extensions/browser/app_window/app_window.h |
+++ b/extensions/browser/app_window/app_window.h |
@@ -351,6 +351,12 @@ class AppWindow : public content::NotificationObserver, |
// Whether the app window wants to be alpha enabled. |
bool requested_alpha_enabled() const { return requested_alpha_enabled_; } |
+ // Whether the app window is created by IME extensions. |
+ // TODO(bshe): rename to hide_app_window_in_launcher if it is not used |
+ // anywhere other than app_window_launcher_controller after M45. Otherwise, |
+ // remove this TODO. |
+ bool is_ime_window() const { return is_ime_window_; } |
+ |
void SetAppWindowContentsForTesting(scoped_ptr<AppWindowContents> contents) { |
app_window_contents_ = contents.Pass(); |
} |
@@ -555,6 +561,9 @@ class AppWindow : public content::NotificationObserver, |
// Whether |alpha_enabled| was set in the CreateParams. |
bool requested_alpha_enabled_; |
+ // Whether |is_ime_window| was set in the CreateParams. |
+ bool is_ime_window_; |
+ |
base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_; |
DISALLOW_COPY_AND_ASSIGN(AppWindow); |