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

Side by Side Diff: chrome/browser/ui/gtk/apps/native_app_window_gtk.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_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "apps/shell_window.h" 10 #include "apps/shell_window.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 virtual SkRegion* GetDraggableRegion() OVERRIDE; 77 virtual SkRegion* GetDraggableRegion() OVERRIDE;
78 virtual void UpdateShape(scoped_ptr<SkRegion> region) OVERRIDE; 78 virtual void UpdateShape(scoped_ptr<SkRegion> region) OVERRIDE;
79 virtual void HandleKeyboardEvent( 79 virtual void HandleKeyboardEvent(
80 const content::NativeWebKeyboardEvent& event) OVERRIDE; 80 const content::NativeWebKeyboardEvent& event) OVERRIDE;
81 virtual bool IsFrameless() const OVERRIDE; 81 virtual bool IsFrameless() const OVERRIDE;
82 virtual gfx::Insets GetFrameInsets() const OVERRIDE; 82 virtual gfx::Insets GetFrameInsets() const OVERRIDE;
83 virtual void HideWithApp() OVERRIDE; 83 virtual void HideWithApp() OVERRIDE;
84 virtual void ShowWithApp() OVERRIDE; 84 virtual void ShowWithApp() OVERRIDE;
85 // Calls gtk_window_set_geometry_hints with the current size constraints. 85 // Calls gtk_window_set_geometry_hints with the current size constraints.
86 virtual void UpdateWindowMinMaxSize() OVERRIDE; 86 virtual void UpdateWindowMinMaxSize() OVERRIDE;
87 virtual void UpdateAppMenu() OVERRIDE;
87 88
88 // web_modal::WebContentsModalDialogHost implementation. 89 // web_modal::WebContentsModalDialogHost implementation.
89 virtual gfx::NativeView GetHostView() const OVERRIDE; 90 virtual gfx::NativeView GetHostView() const OVERRIDE;
90 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; 91 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE;
91 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; 92 virtual gfx::Size GetMaximumDialogSize() OVERRIDE;
92 virtual void AddObserver( 93 virtual void AddObserver(
93 web_modal::ModalDialogHostObserver* observer) OVERRIDE; 94 web_modal::ModalDialogHostObserver* observer) OVERRIDE;
94 virtual void RemoveObserver( 95 virtual void RemoveObserver(
95 web_modal::ModalDialogHostObserver* observer) OVERRIDE; 96 web_modal::ModalDialogHostObserver* observer) OVERRIDE;
96 97
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 184
184 ui::X11AtomCache atom_cache_; 185 ui::X11AtomCache atom_cache_;
185 186
186 // True if we listen for the XEvent. 187 // True if we listen for the XEvent.
187 bool is_x_event_listened_; 188 bool is_x_event_listened_;
188 189
189 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowGtk); 190 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowGtk);
190 }; 191 };
191 192
192 #endif // CHROME_BROWSER_UI_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_ 193 #endif // CHROME_BROWSER_UI_GTK_APPS_NATIVE_APP_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698