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

Side by Side Diff: extensions/shell/browser/shell_app_window_client.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 unified diff | Download patch
« no previous file with comments | « extensions/shell/browser/shell_app_window_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "extensions/shell/browser/shell_app_window_client.h" 5 #include "extensions/shell/browser/shell_app_window_client.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "extensions/browser/app_window/app_window.h" 9 #include "extensions/browser/app_window/app_window.h"
10 #include "extensions/shell/browser/desktop_controller.h" 10 #include "extensions/shell/browser/desktop_controller.h"
11 11
12 namespace extensions { 12 namespace extensions {
13 13
14 ShellAppWindowClient::ShellAppWindowClient() { 14 ShellAppWindowClient::ShellAppWindowClient() {
15 } 15 }
16 16
17 ShellAppWindowClient::~ShellAppWindowClient() { 17 ShellAppWindowClient::~ShellAppWindowClient() {
18 } 18 }
19 19
20 AppWindow* ShellAppWindowClient::CreateAppWindow( 20 AppWindow* ShellAppWindowClient::CreateAppWindow(
21 content::BrowserContext* context, 21 content::BrowserContext* context,
22 const Extension* extension) { 22 const Extension* extension) {
23 return DesktopController::instance()->CreateAppWindow(context, extension); 23 return DesktopController::instance()->CreateAppWindow(context, extension);
24 } 24 }
25 25
26 AppWindow* ShellAppWindowClient::CreateAppWindowForLockScreenAction(
27 content::BrowserContext* context,
28 const Extension* extension,
29 api::app_runtime::ActionType action) {
30 return nullptr;
31 }
32
26 void ShellAppWindowClient::OpenDevToolsWindow( 33 void ShellAppWindowClient::OpenDevToolsWindow(
27 content::WebContents* web_contents, 34 content::WebContents* web_contents,
28 const base::Closure& callback) { 35 const base::Closure& callback) {
29 NOTIMPLEMENTED(); 36 NOTIMPLEMENTED();
30 } 37 }
31 38
32 bool ShellAppWindowClient::IsCurrentChannelOlderThanDev() { 39 bool ShellAppWindowClient::IsCurrentChannelOlderThanDev() {
33 return false; 40 return false;
34 } 41 }
35 42
36 } // namespace extensions 43 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_app_window_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698