| OLD | NEW | 
|    1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2011 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_UI_BROWSER_WINDOW_H_ |    5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 
|    6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |    6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 
|    7 #pragma once |    7 #pragma once | 
|    8  |    8  | 
|    9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |    9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" | 
|   10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" |   10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" | 
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  348  |  348  | 
|  349   // Construct a BrowserWindow implementation for the specified |browser|. |  349   // Construct a BrowserWindow implementation for the specified |browser|. | 
|  350   static BrowserWindow* CreateBrowserWindow(Browser* browser); |  350   static BrowserWindow* CreateBrowserWindow(Browser* browser); | 
|  351  |  351  | 
|  352   // Shows the avatar bubble inside |tab_contents|. The bubble is positioned |  352   // Shows the avatar bubble inside |tab_contents|. The bubble is positioned | 
|  353   // relative to |rect|. |rect| should be in the |tab_contents| coordinate |  353   // relative to |rect|. |rect| should be in the |tab_contents| coordinate | 
|  354   // system. |  354   // system. | 
|  355   virtual void ShowAvatarBubble(TabContents* tab_contents, |  355   virtual void ShowAvatarBubble(TabContents* tab_contents, | 
|  356                                 const gfx::Rect& rect) = 0; |  356                                 const gfx::Rect& rect) = 0; | 
|  357  |  357  | 
 |  358   // Shows the avatar bubble on the window frame off of the avatar button. | 
 |  359   virtual void ShowAvatarBubbleFromAvatarButton() = 0; | 
 |  360  | 
|  358  protected: |  361  protected: | 
|  359   friend class BrowserList; |  362   friend class BrowserList; | 
|  360   friend class BrowserView; |  363   friend class BrowserView; | 
|  361   virtual void DestroyBrowser() = 0; |  364   virtual void DestroyBrowser() = 0; | 
|  362 }; |  365 }; | 
|  363  |  366  | 
|  364 #if defined(OS_WIN) || defined(TOOLKIT_VIEWS) |  367 #if defined(OS_WIN) || defined(TOOLKIT_VIEWS) | 
|  365 class BookmarkBarView; |  368 class BookmarkBarView; | 
|  366 class LocationBarView; |  369 class LocationBarView; | 
|  367  |  370  | 
| (...skipping 21 matching lines...) Expand all  Loading... | 
|  389  |  392  | 
|  390   // Returns the ToolbarView. |  393   // Returns the ToolbarView. | 
|  391   virtual ToolbarView* GetToolbarView() const = 0; |  394   virtual ToolbarView* GetToolbarView() const = 0; | 
|  392 #endif |  395 #endif | 
|  393  |  396  | 
|  394  protected: |  397  protected: | 
|  395   virtual ~BrowserWindowTesting() {} |  398   virtual ~BrowserWindowTesting() {} | 
|  396 }; |  399 }; | 
|  397  |  400  | 
|  398 #endif  // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |  401 #endif  // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 
| OLD | NEW |