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

Side by Side Diff: chrome/browser/ui/cocoa/panels/panel_cocoa.h

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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 (c) 2012 The Chromium Authors. All rights reserved. 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 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_PANELS_PANEL_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PANELS_PANEL_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_PANELS_PANEL_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_PANELS_PANEL_COCOA_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/ui/panels/native_panel.h" 10 #include "chrome/browser/ui/panels/native_panel.h"
11 #include "ui/gfx/rect.h" 11 #include "ui/gfx/geometry/rect.h"
12 12
13 class Panel; 13 class Panel;
14 @class PanelWindowControllerCocoa; 14 @class PanelWindowControllerCocoa;
15 15
16 // An implememtation of the native panel in Cocoa. 16 // An implememtation of the native panel in Cocoa.
17 // Bridges between C++ and the Cocoa NSWindow. Cross-platform code will 17 // Bridges between C++ and the Cocoa NSWindow. Cross-platform code will
18 // interact with this object when it needs to manipulate the window. 18 // interact with this object when it needs to manipulate the window.
19 class PanelCocoa : public NativePanel { 19 class PanelCocoa : public NativePanel {
20 public: 20 public:
21 PanelCocoa(Panel* panel, const gfx::Rect& bounds, bool always_on_top); 21 PanelCocoa(Panel* panel, const gfx::Rect& bounds, bool always_on_top);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 bool is_shown_; // Panel is hidden on creation, Show() changes that forever. 105 bool is_shown_; // Panel is hidden on creation, Show() changes that forever.
106 NSInteger attention_request_id_; // identifier from requestUserAttention. 106 NSInteger attention_request_id_; // identifier from requestUserAttention.
107 107
108 // Indicates how the window corner should be rendered, rounded or not. 108 // Indicates how the window corner should be rendered, rounded or not.
109 panel::CornerStyle corner_style_; 109 panel::CornerStyle corner_style_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(PanelCocoa); 111 DISALLOW_COPY_AND_ASSIGN(PanelCocoa);
112 }; 112 };
113 113
114 #endif // CHROME_BROWSER_UI_COCOA_PANELS_PANEL_COCOA_H_ 114 #endif // CHROME_BROWSER_UI_COCOA_PANELS_PANEL_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698