Move QLPreviewPanelDataSource to AtomNSWindowDelegate
This commit is contained in:
parent
f6a7e5ea23
commit
569967ac21
8 changed files with 80 additions and 59 deletions
|
@ -17,6 +17,7 @@
|
|||
|
||||
@class AtomNSWindow;
|
||||
@class AtomNSWindowDelegate;
|
||||
@class AtomPreviewItem;
|
||||
@class AtomTouchBar;
|
||||
@class FullSizeContentView;
|
||||
|
||||
|
@ -137,7 +138,8 @@ class NativeWindowMac : public NativeWindow {
|
|||
};
|
||||
TitleBarStyle title_bar_style() const { return title_bar_style_; }
|
||||
|
||||
AtomTouchBar* atom_touch_bar() const { return atom_touch_bar_.get(); }
|
||||
AtomPreviewItem* preview_item() const { return preview_item_.get(); }
|
||||
AtomTouchBar* touch_bar() const { return touch_bar_.get(); }
|
||||
bool zoom_to_page_width() const { return zoom_to_page_width_; }
|
||||
bool fullscreen_window_title() const { return fullscreen_window_title_; }
|
||||
bool simple_fullscreen() const { return always_simple_fullscreen_; }
|
||||
|
@ -150,7 +152,8 @@ class NativeWindowMac : public NativeWindow {
|
|||
|
||||
base::scoped_nsobject<AtomNSWindow> window_;
|
||||
base::scoped_nsobject<AtomNSWindowDelegate> window_delegate_;
|
||||
base::scoped_nsobject<AtomTouchBar> atom_touch_bar_;
|
||||
base::scoped_nsobject<AtomPreviewItem> preview_item_;
|
||||
base::scoped_nsobject<AtomTouchBar> touch_bar_;
|
||||
|
||||
std::unique_ptr<views::Widget> widget_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue