| 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 <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/gfx/native_widget_types.h" | 10 #include "base/gfx/native_widget_types.h" |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 int index, | 256 int index, |
| 257 bool user_gesture); | 257 bool user_gesture); |
| 258 virtual void TabStripEmpty(); | 258 virtual void TabStripEmpty(); |
| 259 | 259 |
| 260 // Overridden from views::SimpleMenuModel::Delegate: | 260 // Overridden from views::SimpleMenuModel::Delegate: |
| 261 virtual bool IsCommandIdChecked(int command_id) const; | 261 virtual bool IsCommandIdChecked(int command_id) const; |
| 262 virtual bool IsCommandIdEnabled(int command_id) const; | 262 virtual bool IsCommandIdEnabled(int command_id) const; |
| 263 virtual bool GetAcceleratorForCommandId(int command_id, | 263 virtual bool GetAcceleratorForCommandId(int command_id, |
| 264 views::Accelerator* accelerator); | 264 views::Accelerator* accelerator); |
| 265 virtual bool IsLabelForCommandIdDynamic(int command_id) const; | 265 virtual bool IsLabelForCommandIdDynamic(int command_id) const; |
| 266 virtual std::wstring GetLabelForCommandId(int command_id) const; | 266 virtual string16 GetLabelForCommandId(int command_id) const; |
| 267 virtual void ExecuteCommand(int command_id); | 267 virtual void ExecuteCommand(int command_id); |
| 268 | 268 |
| 269 // Overridden from views::WindowDelegate: | 269 // Overridden from views::WindowDelegate: |
| 270 virtual bool CanResize() const; | 270 virtual bool CanResize() const; |
| 271 virtual bool CanMaximize() const; | 271 virtual bool CanMaximize() const; |
| 272 virtual bool IsModal() const; | 272 virtual bool IsModal() const; |
| 273 virtual std::wstring GetWindowTitle() const; | 273 virtual std::wstring GetWindowTitle() const; |
| 274 virtual views::View* GetInitiallyFocusedView(); | 274 virtual views::View* GetInitiallyFocusedView(); |
| 275 virtual bool ShouldShowWindowTitle() const; | 275 virtual bool ShouldShowWindowTitle() const; |
| 276 virtual SkBitmap GetWindowIcon(); | 276 virtual SkBitmap GetWindowIcon(); |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 // A bottom bar for showing extensions. | 455 // A bottom bar for showing extensions. |
| 456 ExtensionShelf* extension_shelf_; | 456 ExtensionShelf* extension_shelf_; |
| 457 | 457 |
| 458 typedef std::set<BrowserBubble*> BubbleSet; | 458 typedef std::set<BrowserBubble*> BubbleSet; |
| 459 BubbleSet browser_bubbles_; | 459 BubbleSet browser_bubbles_; |
| 460 | 460 |
| 461 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 461 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 462 }; | 462 }; |
| 463 | 463 |
| 464 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 464 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |