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

Side by Side Diff: chrome/browser/ui/apps/chrome_app_window_client.h

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
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 #ifndef CHROME_BROWSER_UI_APPS_CHROME_APP_WINDOW_CLIENT_H_ 5 #ifndef CHROME_BROWSER_UI_APPS_CHROME_APP_WINDOW_CLIENT_H_
6 #define CHROME_BROWSER_UI_APPS_CHROME_APP_WINDOW_CLIENT_H_ 6 #define CHROME_BROWSER_UI_APPS_CHROME_APP_WINDOW_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "extensions/browser/app_window/app_window_client.h" 10 #include "extensions/browser/app_window/app_window_client.h"
(...skipping 12 matching lines...) Expand all
23 // Get the LazyInstance for ChromeAppWindowClient. 23 // Get the LazyInstance for ChromeAppWindowClient.
24 static ChromeAppWindowClient* GetInstance(); 24 static ChromeAppWindowClient* GetInstance();
25 25
26 private: 26 private:
27 friend struct base::DefaultSingletonTraits<ChromeAppWindowClient>; 27 friend struct base::DefaultSingletonTraits<ChromeAppWindowClient>;
28 28
29 // extensions::AppWindowClient 29 // extensions::AppWindowClient
30 extensions::AppWindow* CreateAppWindow( 30 extensions::AppWindow* CreateAppWindow(
31 content::BrowserContext* context, 31 content::BrowserContext* context,
32 const extensions::Extension* extension) override; 32 const extensions::Extension* extension) override;
33 extensions::AppWindow* CreateAppWindowForLockScreenAction(
34 content::BrowserContext* context,
35 const extensions::Extension* extension,
36 extensions::api::app_runtime::ActionType action) override;
33 extensions::NativeAppWindow* CreateNativeAppWindow( 37 extensions::NativeAppWindow* CreateNativeAppWindow(
34 extensions::AppWindow* window, 38 extensions::AppWindow* window,
35 extensions::AppWindow::CreateParams* params) override; 39 extensions::AppWindow::CreateParams* params) override;
36 void OpenDevToolsWindow(content::WebContents* web_contents, 40 void OpenDevToolsWindow(content::WebContents* web_contents,
37 const base::Closure& callback) override; 41 const base::Closure& callback) override;
38 bool IsCurrentChannelOlderThanDev() override; 42 bool IsCurrentChannelOlderThanDev() override;
39 43
40 // Implemented in platform specific code. 44 // Implemented in platform specific code.
41 static extensions::NativeAppWindow* CreateNativeAppWindowImpl( 45 static extensions::NativeAppWindow* CreateNativeAppWindowImpl(
42 extensions::AppWindow* window, 46 extensions::AppWindow* window,
43 const extensions::AppWindow::CreateParams& params); 47 const extensions::AppWindow::CreateParams& params);
44 48
45 DISALLOW_COPY_AND_ASSIGN(ChromeAppWindowClient); 49 DISALLOW_COPY_AND_ASSIGN(ChromeAppWindowClient);
46 }; 50 };
47 51
48 #endif // CHROME_BROWSER_UI_APPS_CHROME_APP_WINDOW_CLIENT_H_ 52 #endif // CHROME_BROWSER_UI_APPS_CHROME_APP_WINDOW_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698