OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "chrome/browser/browser.h" | 8 #include "chrome/browser/browser.h" |
9 #include "chrome/browser/browser_window.h" | 9 #include "chrome/browser/browser_window.h" |
10 #include "chrome/browser/hang_monitor/hung_plugin_action.h" | 10 #include "chrome/browser/hang_monitor/hung_plugin_action.h" |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 virtual void Activate(); | 165 virtual void Activate(); |
166 virtual void FlashFrame(); | 166 virtual void FlashFrame(); |
167 virtual void* GetNativeHandle(); | 167 virtual void* GetNativeHandle(); |
168 virtual BrowserWindowTesting* GetBrowserWindowTesting(); | 168 virtual BrowserWindowTesting* GetBrowserWindowTesting(); |
169 virtual StatusBubble* GetStatusBubble(); | 169 virtual StatusBubble* GetStatusBubble(); |
170 virtual void SelectedTabToolbarSizeChanged(bool is_animating); | 170 virtual void SelectedTabToolbarSizeChanged(bool is_animating); |
171 virtual void UpdateTitleBar(); | 171 virtual void UpdateTitleBar(); |
172 virtual void UpdateLoadingAnimations(bool should_animate); | 172 virtual void UpdateLoadingAnimations(bool should_animate); |
173 virtual void SetStarredState(bool is_starred); | 173 virtual void SetStarredState(bool is_starred); |
174 virtual gfx::Rect GetNormalBounds() const; | 174 virtual gfx::Rect GetNormalBounds() const; |
175 virtual bool IsMaximized(); | 175 virtual bool IsMaximized() const; |
176 virtual LocationBar* GetLocationBar() const; | 176 virtual LocationBar* GetLocationBar() const; |
177 virtual void UpdateStopGoState(bool is_loading); | 177 virtual void UpdateStopGoState(bool is_loading); |
178 virtual void UpdateToolbar(TabContents* contents, bool should_restore_state); | 178 virtual void UpdateToolbar(TabContents* contents, bool should_restore_state); |
179 virtual void FocusToolbar(); | 179 virtual void FocusToolbar(); |
180 virtual void DestroyBrowser(); | 180 virtual void DestroyBrowser(); |
181 virtual bool IsBookmarkBarVisible() const; | 181 virtual bool IsBookmarkBarVisible() const; |
| 182 virtual gfx::Rect GetRootWindowResizerRect() const; |
182 virtual void ToggleBookmarkBar(); | 183 virtual void ToggleBookmarkBar(); |
183 virtual void ShowAboutChromeDialog(); | 184 virtual void ShowAboutChromeDialog(); |
184 virtual void ShowBookmarkManager(); | 185 virtual void ShowBookmarkManager(); |
185 virtual bool IsBookmarkBubbleVisible() const; | 186 virtual bool IsBookmarkBubbleVisible() const; |
186 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); | 187 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); |
187 virtual void ShowReportBugDialog(); | 188 virtual void ShowReportBugDialog(); |
188 virtual void ShowClearBrowsingDataDialog(); | 189 virtual void ShowClearBrowsingDataDialog(); |
189 virtual void ShowImportDialog(); | 190 virtual void ShowImportDialog(); |
190 virtual void ShowSearchEnginesDialog(); | 191 virtual void ShowSearchEnginesDialog(); |
191 virtual void ShowPasswordManager(); | 192 virtual void ShowPasswordManager(); |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 | 422 |
422 // P13N stuff | 423 // P13N stuff |
423 #ifdef CHROME_PERSONALIZATION | 424 #ifdef CHROME_PERSONALIZATION |
424 FramePersonalization personalization_; | 425 FramePersonalization personalization_; |
425 bool personalization_enabled_; | 426 bool personalization_enabled_; |
426 #endif | 427 #endif |
427 | 428 |
428 DISALLOW_EVIL_CONSTRUCTORS(BrowserView); | 429 DISALLOW_EVIL_CONSTRUCTORS(BrowserView); |
429 }; | 430 }; |
430 | 431 |
431 #endif // #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 432 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |