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

Side by Side Diff: chrome/browser/ui/cocoa/apps/native_app_window_cocoa.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 CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 virtual bool IsFrameless() const OVERRIDE; 127 virtual bool IsFrameless() const OVERRIDE;
128 virtual gfx::Insets GetFrameInsets() const OVERRIDE; 128 virtual gfx::Insets GetFrameInsets() const OVERRIDE;
129 129
130 // These are used to simulate Mac-style hide/show. Since windows can be hidden 130 // These are used to simulate Mac-style hide/show. Since windows can be hidden
131 // and shown using the app.window API, this sets is_hidden_with_app_ to 131 // and shown using the app.window API, this sets is_hidden_with_app_ to
132 // differentiate the reason a window was hidden. 132 // differentiate the reason a window was hidden.
133 virtual void ShowWithApp() OVERRIDE; 133 virtual void ShowWithApp() OVERRIDE;
134 virtual void HideWithApp() OVERRIDE; 134 virtual void HideWithApp() OVERRIDE;
135 // Calls setContent[Min|Max]Size with the current size constraints. 135 // Calls setContent[Min|Max]Size with the current size constraints.
136 virtual void UpdateWindowMinMaxSize() OVERRIDE; 136 virtual void UpdateWindowMinMaxSize() OVERRIDE;
137 virtual void UpdateAppMenu() OVERRIDE;
137 138
138 // WebContentsObserver implementation. 139 // WebContentsObserver implementation.
139 virtual void RenderViewCreated(content::RenderViewHost* rvh) OVERRIDE; 140 virtual void RenderViewCreated(content::RenderViewHost* rvh) OVERRIDE;
140 141
141 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; 142 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
142 143
143 // WebContentsModalDialogHost implementation. 144 // WebContentsModalDialogHost implementation.
144 virtual gfx::NativeView GetHostView() const OVERRIDE; 145 virtual gfx::NativeView GetHostView() const OVERRIDE;
145 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; 146 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE;
146 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; 147 virtual gfx::Size GetMaximumDialogSize() OVERRIDE;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 NSPoint last_mouse_location_; 221 NSPoint last_mouse_location_;
221 222
222 // The Extension Command Registry used to determine which keyboard events to 223 // The Extension Command Registry used to determine which keyboard events to
223 // handle. 224 // handle.
224 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; 225 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_;
225 226
226 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa); 227 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa);
227 }; 228 };
228 229
229 #endif // CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_ 230 #endif // CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698