Skip to content

Commit

Permalink
fix: method to be accessible on mac api impl
Browse files Browse the repository at this point in the history
  • Loading branch information
summeroff committed Dec 20, 2018
1 parent aed7911 commit 0c099a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion atom/browser/native_window.h
Expand Up @@ -291,6 +291,8 @@ class NativeWindow : public base::SupportsUserData,
NativeWindow* parent() const { return parent_; }
bool is_modal() const { return is_modal_; }

std::list<NativeBrowserView*> browser_views() const { return browser_views_; }

protected:
NativeWindow(const mate::Dictionary& options, NativeWindow* parent);

Expand All @@ -300,7 +302,6 @@ class NativeWindow : public base::SupportsUserData,

void set_content_view(views::View* view) { content_view_ = view; }

std::list<NativeBrowserView*> browser_views() const { return browser_views_; }
void add_browser_view(NativeBrowserView* browser_view) {
browser_views_.push_back(browser_view);
}
Expand Down

0 comments on commit 0c099a4

Please sign in to comment.