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

Unified Diff: extensions/browser/app_window/app_window.h

Issue 2934513003: Changes in app.window and app.runtime to support lock screen note taking (Closed)
Patch Set: split out browsertests Created 3 years, 6 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: 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 ab812c21c36e27f202388e890e9d3dab44177385..6022852c3986f7bf538c757c049964ec80dffdc2 100644
--- a/extensions/browser/app_window/app_window.h
+++ b/extensions/browser/app_window/app_window.h
@@ -184,6 +184,10 @@ class AppWindow : public content::WebContentsDelegate,
// If true, the window will be visible on all workspaces. Defaults to false.
bool visible_on_all_workspaces;
+ // Whether the app window should be shown on the lock screen.
+ // Chrome OS only.
+ bool show_on_lock_screen;
+
// If true, the window will have its own shelf icon. Otherwise the window
// will be grouped in the shelf with other windows that are associated with
// the app. Defaults to false.
@@ -364,6 +368,8 @@ class AppWindow : public content::WebContentsDelegate,
// remove this TODO.
bool is_ime_window() const { return is_ime_window_; }
+ bool show_on_lock_screen() const { return show_on_lock_screen_; }
+
bool show_in_shelf() const { return show_in_shelf_; }
AppDelegate* app_delegate() { return app_delegate_.get(); }
@@ -547,6 +553,9 @@ class AppWindow : public content::WebContentsDelegate,
// Whether |is_ime_window| was set in the CreateParams.
bool is_ime_window_;
+ // Whether |show_on_lock_screen| was set in the CreateParams.
+ bool show_on_lock_screen_;
+
// Whether |show_in_shelf| was set in the CreateParams.
bool show_in_shelf_;

Powered by Google App Engine
This is Rietveld 408576698