| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_COCOA_BROWSER_WINDOW_COCOA_H_ | 5 #ifndef CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ |
| 6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ | 6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/browser_window.h" | 8 #include "chrome/browser/browser_window.h" |
| 9 #include "chrome/browser/bookmarks/bookmark_model.h" | 9 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 10 #include "chrome/common/notification_registrar.h" | 10 #include "chrome/common/notification_registrar.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 virtual bool IsBookmarkBarVisible() const; | 61 virtual bool IsBookmarkBarVisible() const; |
| 62 virtual bool IsBookmarkBarAnimating() const; | 62 virtual bool IsBookmarkBarAnimating() const; |
| 63 virtual bool IsToolbarVisible() const; | 63 virtual bool IsToolbarVisible() const; |
| 64 virtual gfx::Rect GetRootWindowResizerRect() const; | 64 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 65 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, | 65 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, |
| 66 Profile* profile); | 66 Profile* profile); |
| 67 virtual void ToggleBookmarkBar(); | 67 virtual void ToggleBookmarkBar(); |
| 68 virtual void ToggleExtensionShelf(); | 68 virtual void ToggleExtensionShelf(); |
| 69 virtual void ShowAboutChromeDialog(); | 69 virtual void ShowAboutChromeDialog(); |
| 70 virtual void ShowTaskManager(); | 70 virtual void ShowTaskManager(); |
| 71 virtual void ShowBookmarkManager(); | |
| 72 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); | 71 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); |
| 73 virtual bool IsDownloadShelfVisible() const; | 72 virtual bool IsDownloadShelfVisible() const; |
| 74 virtual DownloadShelf* GetDownloadShelf(); | 73 virtual DownloadShelf* GetDownloadShelf(); |
| 75 virtual void ShowReportBugDialog(); | 74 virtual void ShowReportBugDialog(); |
| 76 virtual void ShowClearBrowsingDataDialog(); | 75 virtual void ShowClearBrowsingDataDialog(); |
| 77 virtual void ShowImportDialog(); | 76 virtual void ShowImportDialog(); |
| 78 virtual void ShowSearchEnginesDialog(); | 77 virtual void ShowSearchEnginesDialog(); |
| 79 virtual void ShowPasswordManager(); | 78 virtual void ShowPasswordManager(); |
| 80 virtual void ShowSelectProfileDialog(); | 79 virtual void ShowSelectProfileDialog(); |
| 81 virtual void ShowNewProfileDialog(); | 80 virtual void ShowNewProfileDialog(); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 int GetCommandId(const NativeWebKeyboardEvent& event); | 121 int GetCommandId(const NativeWebKeyboardEvent& event); |
| 123 bool HandleKeyboardEventInternal(NSEvent* event); | 122 bool HandleKeyboardEventInternal(NSEvent* event); |
| 124 NSWindow* window() const; // Accessor for the (current) |NSWindow|. | 123 NSWindow* window() const; // Accessor for the (current) |NSWindow|. |
| 125 | 124 |
| 126 NotificationRegistrar registrar_; | 125 NotificationRegistrar registrar_; |
| 127 Browser* browser_; // weak, owned by controller | 126 Browser* browser_; // weak, owned by controller |
| 128 BrowserWindowController* controller_; // weak, owns us | 127 BrowserWindowController* controller_; // weak, owns us |
| 129 }; | 128 }; |
| 130 | 129 |
| 131 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ | 130 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ |
| OLD | NEW |