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

Side by Side Diff: apps/ui/native_app_window.h

Issue 158643002: Add option to install an ephemeral app to the Windows jump list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added notimplemented Created 6 years, 10 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 APPS_UI_NATIVE_APP_WINDOW_H_ 5 #ifndef APPS_UI_NATIVE_APP_WINDOW_H_
6 #define APPS_UI_NATIVE_APP_WINDOW_H_ 6 #define APPS_UI_NATIVE_APP_WINDOW_H_
7 7
8 #include "apps/shell_window.h" 8 #include "apps/shell_window.h"
9 #include "components/web_modal/web_contents_modal_dialog_host.h" 9 #include "components/web_modal/web_contents_modal_dialog_host.h"
10 #include "ui/base/base_window.h" 10 #include "ui/base/base_window.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // Hide or show this window as part of hiding or showing the app. 61 // Hide or show this window as part of hiding or showing the app.
62 // This may have different logic to Hide, Show, and ShowInactive as those are 62 // This may have different logic to Hide, Show, and ShowInactive as those are
63 // called via the AppWindow javascript API. 63 // called via the AppWindow javascript API.
64 virtual void ShowWithApp() = 0; 64 virtual void ShowWithApp() = 0;
65 virtual void HideWithApp() = 0; 65 virtual void HideWithApp() = 0;
66 66
67 // Updates the minimum and maximum size of the native window with the current 67 // Updates the minimum and maximum size of the native window with the current
68 // size constraints. 68 // size constraints.
69 virtual void UpdateWindowMinMaxSize() = 0; 69 virtual void UpdateWindowMinMaxSize() = 0;
70 70
71 // Updates custom entries for the context menu of the app's taskbar/dock/shelf
72 // icon.
73 virtual void UpdateAppMenu() = 0;
74
71 virtual ~NativeAppWindow() {} 75 virtual ~NativeAppWindow() {}
72 }; 76 };
73 77
74 } // namespace apps 78 } // namespace apps
75 79
76 #endif // APPS_UI_NATIVE_APP_WINDOW_H_ 80 #endif // APPS_UI_NATIVE_APP_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698