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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 TabContents* new_contents, | 207 TabContents* new_contents, |
208 int index, | 208 int index, |
209 bool user_gesture); | 209 bool user_gesture); |
210 virtual void TabStripEmpty(); | 210 virtual void TabStripEmpty(); |
211 | 211 |
212 // Overridden from views::WindowDelegate: | 212 // Overridden from views::WindowDelegate: |
213 virtual bool CanResize() const; | 213 virtual bool CanResize() const; |
214 virtual bool CanMaximize() const; | 214 virtual bool CanMaximize() const; |
215 virtual bool IsModal() const; | 215 virtual bool IsModal() const; |
216 virtual std::wstring GetWindowTitle() const; | 216 virtual std::wstring GetWindowTitle() const; |
217 virtual views::View* GetInitiallyFocusedView() const; | 217 virtual views::View* GetInitiallyFocusedView(); |
218 virtual bool ShouldShowWindowTitle() const; | 218 virtual bool ShouldShowWindowTitle() const; |
219 virtual SkBitmap GetWindowIcon(); | 219 virtual SkBitmap GetWindowIcon(); |
220 virtual bool ShouldShowWindowIcon() const; | 220 virtual bool ShouldShowWindowIcon() const; |
221 virtual bool ExecuteWindowsCommand(int command_id); | 221 virtual bool ExecuteWindowsCommand(int command_id); |
222 virtual std::wstring GetWindowName() const; | 222 virtual std::wstring GetWindowName() const; |
223 virtual void SaveWindowPlacement(const gfx::Rect& bounds, | 223 virtual void SaveWindowPlacement(const gfx::Rect& bounds, |
224 bool maximized, | 224 bool maximized, |
225 bool always_on_top); | 225 bool always_on_top); |
226 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const; | 226 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const; |
227 virtual bool GetSavedMaximizedState(bool* maximized) const; | 227 virtual bool GetSavedMaximizedState(bool* maximized) const; |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 // P13N stuff | 416 // P13N stuff |
417 #ifdef CHROME_PERSONALIZATION | 417 #ifdef CHROME_PERSONALIZATION |
418 FramePersonalization personalization_; | 418 FramePersonalization personalization_; |
419 bool personalization_enabled_; | 419 bool personalization_enabled_; |
420 #endif | 420 #endif |
421 | 421 |
422 DISALLOW_EVIL_CONSTRUCTORS(BrowserView); | 422 DISALLOW_EVIL_CONSTRUCTORS(BrowserView); |
423 }; | 423 }; |
424 | 424 |
425 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 425 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |