OLD | NEW |
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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 static void RegisterBrowserViewPrefs(PrefService* prefs); | 197 static void RegisterBrowserViewPrefs(PrefService* prefs); |
198 | 198 |
199 // Attach/Detach a BrowserBubble to the browser. | 199 // Attach/Detach a BrowserBubble to the browser. |
200 void AttachBrowserBubble(BrowserBubble *bubble); | 200 void AttachBrowserBubble(BrowserBubble *bubble); |
201 void DetachBrowserBubble(BrowserBubble *bubble); | 201 void DetachBrowserBubble(BrowserBubble *bubble); |
202 | 202 |
203 // Returns true if the specified point(BrowserView coordinates) is in | 203 // Returns true if the specified point(BrowserView coordinates) is in |
204 // in the window caption area of the browser window. | 204 // in the window caption area of the browser window. |
205 bool IsPositionInWindowCaption(const gfx::Point& point); | 205 bool IsPositionInWindowCaption(const gfx::Point& point); |
206 | 206 |
| 207 // Returns whether the fullscreen bubble is visible or not. |
| 208 bool IsFullscreenBubbleVisible() const; |
| 209 |
207 // Overridden from BrowserWindow: | 210 // Overridden from BrowserWindow: |
208 virtual void Show(); | 211 virtual void Show(); |
209 virtual void SetBounds(const gfx::Rect& bounds); | 212 virtual void SetBounds(const gfx::Rect& bounds); |
210 virtual void Close(); | 213 virtual void Close(); |
211 virtual void Activate(); | 214 virtual void Activate(); |
212 virtual bool IsActive() const; | 215 virtual bool IsActive() const; |
213 virtual void FlashFrame(); | 216 virtual void FlashFrame(); |
214 virtual gfx::NativeWindow GetNativeHandle(); | 217 virtual gfx::NativeWindow GetNativeHandle(); |
215 virtual BrowserWindowTesting* GetBrowserWindowTesting(); | 218 virtual BrowserWindowTesting* GetBrowserWindowTesting(); |
216 virtual StatusBubble* GetStatusBubble(); | 219 virtual StatusBubble* GetStatusBubble(); |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 | 530 |
528 // The accessible name of this view. | 531 // The accessible name of this view. |
529 std::wstring accessible_name_; | 532 std::wstring accessible_name_; |
530 | 533 |
531 scoped_ptr<BrowserExtender> browser_extender_; | 534 scoped_ptr<BrowserExtender> browser_extender_; |
532 | 535 |
533 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 536 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
534 }; | 537 }; |
535 | 538 |
536 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 539 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |