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

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

Issue 2934513003: Changes in app.window and app.runtime to support lock screen note taking (Closed)
Patch Set: . 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
« no previous file with comments | « extensions/browser/app_window/app_window.h ('k') | extensions/browser/app_window/app_window_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/app_window/app_window.cc
diff --git a/extensions/browser/app_window/app_window.cc b/extensions/browser/app_window/app_window.cc
index ea3fa9ad2ddf4e97c42b5f22497ea181955ff384..80cc0aeceb91b66b7e1abc9a2541759f119ada50 100644
--- a/extensions/browser/app_window/app_window.cc
+++ b/extensions/browser/app_window/app_window.cc
@@ -171,6 +171,7 @@ AppWindow::CreateParams::CreateParams()
focused(true),
always_on_top(false),
visible_on_all_workspaces(false),
+ show_on_lock_screen(false),
show_in_shelf(false) {}
AppWindow::CreateParams::CreateParams(const CreateParams& other) = default;
@@ -248,6 +249,7 @@ AppWindow::AppWindow(BrowserContext* context,
cached_always_on_top_(false),
requested_alpha_enabled_(false),
is_ime_window_(false),
+ show_on_lock_screen_(false),
show_in_shelf_(false),
image_loader_ptr_factory_(this) {
ExtensionsBrowserClient* client = ExtensionsBrowserClient::Get();
@@ -290,6 +292,7 @@ void AppWindow::Init(const GURL& url,
requested_alpha_enabled_ = new_params.alpha_enabled;
is_ime_window_ = params.is_ime_window;
+ show_on_lock_screen_ = params.show_on_lock_screen;
show_in_shelf_ = params.show_in_shelf;
AppWindowClient* app_window_client = AppWindowClient::Get();
« no previous file with comments | « extensions/browser/app_window/app_window.h ('k') | extensions/browser/app_window/app_window_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698