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

Side by Side Diff: chrome/browser/cocoa/browser_window_cocoa.h

Issue 2225003: Implement upgrade notifications.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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
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 "base/task.h" 8 #include "base/task.h"
9 #include "chrome/browser/browser_window.h" 9 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/bookmarks/bookmark_model.h" 10 #include "chrome/browser/bookmarks/bookmark_model.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void FocusPageAndAppMenus(); 60 virtual void FocusPageAndAppMenus();
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 views::Window* ShowAboutChromeDialog(); 69 virtual views::Window* ShowAboutChromeDialog();
70 virtual void ShowUpdateChromeDialog();
70 virtual void ShowTaskManager(); 71 virtual void ShowTaskManager();
71 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); 72 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked);
72 virtual bool IsDownloadShelfVisible() const; 73 virtual bool IsDownloadShelfVisible() const;
73 virtual DownloadShelf* GetDownloadShelf(); 74 virtual DownloadShelf* GetDownloadShelf();
74 virtual void ShowReportBugDialog(); 75 virtual void ShowReportBugDialog();
75 virtual void ShowClearBrowsingDataDialog(); 76 virtual void ShowClearBrowsingDataDialog();
76 virtual void ShowImportDialog(); 77 virtual void ShowImportDialog();
77 virtual void ShowSearchEnginesDialog(); 78 virtual void ShowSearchEnginesDialog();
78 virtual void ShowPasswordManager(); 79 virtual void ShowPasswordManager();
79 virtual void ShowSelectProfileDialog(); 80 virtual void ShowSelectProfileDialog();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 bool HandleKeyboardEventInternal(NSEvent* event); 125 bool HandleKeyboardEventInternal(NSEvent* event);
125 NSWindow* window() const; // Accessor for the (current) |NSWindow|. 126 NSWindow* window() const; // Accessor for the (current) |NSWindow|.
126 127
127 NotificationRegistrar registrar_; 128 NotificationRegistrar registrar_;
128 Browser* browser_; // weak, owned by controller 129 Browser* browser_; // weak, owned by controller
129 BrowserWindowController* controller_; // weak, owns us 130 BrowserWindowController* controller_; // weak, owns us
130 ScopedRunnableMethodFactory<Browser> confirm_close_factory_; 131 ScopedRunnableMethodFactory<Browser> confirm_close_factory_;
131 }; 132 };
132 133
133 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ 134 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698