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

Side by Side Diff: chrome/browser/ui/panels/native_panel_cocoa.h

Issue 10908153: [Panel refactor] Deprecate old panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux_chromeos test failure Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_COCOA_H_
6 #define CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_COCOA_H_
7
8 #include "chrome/browser/ui/panels/native_panel.h"
9
10 // Cocoa NativePanel interface used by the PanelWindowControllerCocoa class
11 // as its C++ window shim. I wish I had a "friend @class" construct to make
12 // this interface non-public.
13 class NativePanelCocoa : public NativePanel {
14 public:
15 virtual ~NativePanelCocoa() {}
16
17 virtual Panel* panel() const = 0;
18
19 // Callback from cocoa panel window controller that native window was actually
20 // closed. The window may not close right away because of onbeforeunload
21 // handlers.
22 virtual void DidCloseNativeWindow() = 0;
23 };
24
25 #endif // CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/native_panel.h ('k') | chrome/browser/ui/panels/old_base_panel_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698