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

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

Issue 122002: Moving the WM_SETFOCUS message processing out of FocusManager (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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
« no previous file with comments | « chrome/browser/browser_window.h ('k') | chrome/browser/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual void ShowImportDialog(); 64 virtual void ShowImportDialog();
65 virtual void ShowSearchEnginesDialog(); 65 virtual void ShowSearchEnginesDialog();
66 virtual void ShowPasswordManager(); 66 virtual void ShowPasswordManager();
67 virtual void ShowSelectProfileDialog(); 67 virtual void ShowSelectProfileDialog();
68 virtual void ShowNewProfileDialog(); 68 virtual void ShowNewProfileDialog();
69 virtual void ConfirmBrowserCloseWithPendingDownloads(); 69 virtual void ConfirmBrowserCloseWithPendingDownloads();
70 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, 70 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate,
71 gfx::NativeWindow parent_window); 71 gfx::NativeWindow parent_window);
72 virtual void UserChangedTheme(); 72 virtual void UserChangedTheme();
73 virtual int GetExtraRenderViewHeight() const; 73 virtual int GetExtraRenderViewHeight() const;
74 virtual void TabContentsFocused(TabContents* tab_contents);
74 75
75 // Overridden from NotificationObserver 76 // Overridden from NotificationObserver
76 virtual void Observe(NotificationType type, 77 virtual void Observe(NotificationType type,
77 const NotificationSource& source, 78 const NotificationSource& source,
78 const NotificationDetails& details); 79 const NotificationDetails& details);
79 80
80 // Adds the given FindBar cocoa controller to this browser window. 81 // Adds the given FindBar cocoa controller to this browser window.
81 void AddFindBar(FindBarCocoaController* find_bar_cocoa_controller); 82 void AddFindBar(FindBarCocoaController* find_bar_cocoa_controller);
82 83
83 protected: 84 protected:
84 virtual void DestroyBrowser(); 85 virtual void DestroyBrowser();
85 86
86 private: 87 private:
87 NotificationRegistrar registrar_; 88 NotificationRegistrar registrar_;
88 NSWindow* window_; // weak, owned by controller 89 NSWindow* window_; // weak, owned by controller
89 Browser* browser_; // weak, owned by controller 90 Browser* browser_; // weak, owned by controller
90 BrowserWindowController* controller_; // weak, owns us 91 BrowserWindowController* controller_; // weak, owns us
91 92
92 // Data for shelves and stuff ------------------------------------------------ 93 // Data for shelves and stuff ------------------------------------------------
93 // FIXME(thakis): This should probably in the controller on OS X. 94 // FIXME(thakis): This should probably in the controller on OS X.
94 95
95 // The download shelf view (view at the bottom of the page). 96 // The download shelf view (view at the bottom of the page).
96 scoped_ptr<DownloadShelf> download_shelf_; 97 scoped_ptr<DownloadShelf> download_shelf_;
97 }; 98 };
98 99
99 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_ 100 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_window.h ('k') | chrome/browser/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698