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

Side by Side Diff: chrome/browser/views/frame/browser_view.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
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-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_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 return browser_->ShouldShowDistributorLogo(); 178 return browser_->ShouldShowDistributorLogo();
179 } 179 }
180 180
181 // Register preferences specific to this view. 181 // Register preferences specific to this view.
182 static void RegisterBrowserViewPrefs(PrefService* prefs); 182 static void RegisterBrowserViewPrefs(PrefService* prefs);
183 183
184 // Attach/Detach a BrowserBubble to the browser. 184 // Attach/Detach a BrowserBubble to the browser.
185 void AttachBrowserBubble(BrowserBubble *bubble); 185 void AttachBrowserBubble(BrowserBubble *bubble);
186 void DetachBrowserBubble(BrowserBubble *bubble); 186 void DetachBrowserBubble(BrowserBubble *bubble);
187 187
188 #ifdef UNIT_TEST
189 TabContentsContainer* contents_container() const {
190 return contents_container_;
191 }
192 #endif
193
194 // Overridden from BrowserWindow: 188 // Overridden from BrowserWindow:
195 virtual void Show(); 189 virtual void Show();
196 virtual void SetBounds(const gfx::Rect& bounds); 190 virtual void SetBounds(const gfx::Rect& bounds);
197 virtual void Close(); 191 virtual void Close();
198 virtual void Activate(); 192 virtual void Activate();
199 virtual bool IsActive() const; 193 virtual bool IsActive() const;
200 virtual void FlashFrame(); 194 virtual void FlashFrame();
201 virtual gfx::NativeWindow GetNativeHandle(); 195 virtual gfx::NativeWindow GetNativeHandle();
202 virtual BrowserWindowTesting* GetBrowserWindowTesting(); 196 virtual BrowserWindowTesting* GetBrowserWindowTesting();
203 virtual StatusBubble* GetStatusBubble(); 197 virtual StatusBubble* GetStatusBubble();
(...skipping 26 matching lines...) Expand all
230 virtual void ShowImportDialog(); 224 virtual void ShowImportDialog();
231 virtual void ShowSearchEnginesDialog(); 225 virtual void ShowSearchEnginesDialog();
232 virtual void ShowPasswordManager(); 226 virtual void ShowPasswordManager();
233 virtual void ShowSelectProfileDialog(); 227 virtual void ShowSelectProfileDialog();
234 virtual void ShowNewProfileDialog(); 228 virtual void ShowNewProfileDialog();
235 virtual void ConfirmBrowserCloseWithPendingDownloads(); 229 virtual void ConfirmBrowserCloseWithPendingDownloads();
236 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, 230 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate,
237 gfx::NativeWindow parent_window); 231 gfx::NativeWindow parent_window);
238 virtual void UserChangedTheme(); 232 virtual void UserChangedTheme();
239 virtual int GetExtraRenderViewHeight() const; 233 virtual int GetExtraRenderViewHeight() const;
234 virtual void TabContentsFocused(TabContents* source);
240 235
241 // Overridden from BrowserWindowTesting: 236 // Overridden from BrowserWindowTesting:
242 virtual BookmarkBarView* GetBookmarkBarView() const; 237 virtual BookmarkBarView* GetBookmarkBarView() const;
243 virtual LocationBarView* GetLocationBarView() const; 238 virtual LocationBarView* GetLocationBarView() const;
239 virtual views::View* GetTabContentsContainerView() const;
244 240
245 // Overridden from NotificationObserver: 241 // Overridden from NotificationObserver:
246 virtual void Observe(NotificationType type, 242 virtual void Observe(NotificationType type,
247 const NotificationSource& source, 243 const NotificationSource& source,
248 const NotificationDetails& details); 244 const NotificationDetails& details);
249 245
250 // Overridden from TabStripModelObserver: 246 // Overridden from TabStripModelObserver:
251 virtual void TabDetachedAt(TabContents* contents, int index); 247 virtual void TabDetachedAt(TabContents* contents, int index);
252 virtual void TabDeselectedAt(TabContents* contents, int index); 248 virtual void TabDeselectedAt(TabContents* contents, int index);
253 virtual void TabSelectedAt(TabContents* old_contents, 249 virtual void TabSelectedAt(TabContents* old_contents,
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 // A bottom bar for showing extensions. 450 // A bottom bar for showing extensions.
455 ExtensionShelf* extension_shelf_; 451 ExtensionShelf* extension_shelf_;
456 452
457 typedef std::set<BrowserBubble*> BubbleSet; 453 typedef std::set<BrowserBubble*> BubbleSet;
458 BubbleSet browser_bubbles_; 454 BubbleSet browser_bubbles_;
459 455
460 DISALLOW_COPY_AND_ASSIGN(BrowserView); 456 DISALLOW_COPY_AND_ASSIGN(BrowserView);
461 }; 457 };
462 458
463 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 459 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view_win.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698