OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VIEWS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 virtual void TabReplacedAt(TabContentsWrapper* old_contents, | 353 virtual void TabReplacedAt(TabContentsWrapper* old_contents, |
354 TabContentsWrapper* new_contents, | 354 TabContentsWrapper* new_contents, |
355 int index); | 355 int index); |
356 virtual void TabStripEmpty(); | 356 virtual void TabStripEmpty(); |
357 | 357 |
358 // Overridden from menus::SimpleMenuModel::Delegate: | 358 // Overridden from menus::SimpleMenuModel::Delegate: |
359 virtual bool IsCommandIdChecked(int command_id) const; | 359 virtual bool IsCommandIdChecked(int command_id) const; |
360 virtual bool IsCommandIdEnabled(int command_id) const; | 360 virtual bool IsCommandIdEnabled(int command_id) const; |
361 virtual bool GetAcceleratorForCommandId(int command_id, | 361 virtual bool GetAcceleratorForCommandId(int command_id, |
362 menus::Accelerator* accelerator); | 362 menus::Accelerator* accelerator); |
363 virtual bool IsLabelForCommandIdDynamic(int command_id) const; | 363 virtual bool IsItemForCommandIdDynamic(int command_id) const; |
364 virtual string16 GetLabelForCommandId(int command_id) const; | 364 virtual string16 GetLabelForCommandId(int command_id) const; |
365 virtual void ExecuteCommand(int command_id); | 365 virtual void ExecuteCommand(int command_id); |
366 | 366 |
367 // Overridden from views::WindowDelegate: | 367 // Overridden from views::WindowDelegate: |
368 virtual bool CanResize() const; | 368 virtual bool CanResize() const; |
369 virtual bool CanMaximize() const; | 369 virtual bool CanMaximize() const; |
370 virtual bool IsModal() const; | 370 virtual bool IsModal() const; |
371 virtual std::wstring GetWindowTitle() const; | 371 virtual std::wstring GetWindowTitle() const; |
372 virtual std::wstring GetAccessibleWindowTitle() const; | 372 virtual std::wstring GetAccessibleWindowTitle() const; |
373 virtual views::View* GetInitiallyFocusedView(); | 373 virtual views::View* GetInitiallyFocusedView(); |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 657 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
658 | 658 |
659 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; | 659 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; |
660 | 660 |
661 NotificationRegistrar registrar_; | 661 NotificationRegistrar registrar_; |
662 | 662 |
663 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 663 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
664 }; | 664 }; |
665 | 665 |
666 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 666 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |