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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 const NotificationSource& source, | 344 const NotificationSource& source, |
345 const NotificationDetails& details); | 345 const NotificationDetails& details); |
346 | 346 |
347 // Overridden from TabStripModelObserver: | 347 // Overridden from TabStripModelObserver: |
348 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); | 348 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); |
349 virtual void TabDeselectedAt(TabContentsWrapper* contents, int index); | 349 virtual void TabDeselectedAt(TabContentsWrapper* contents, int index); |
350 virtual void TabSelectedAt(TabContentsWrapper* old_contents, | 350 virtual void TabSelectedAt(TabContentsWrapper* old_contents, |
351 TabContentsWrapper* new_contents, | 351 TabContentsWrapper* new_contents, |
352 int index, | 352 int index, |
353 bool user_gesture); | 353 bool user_gesture); |
354 virtual void TabReplacedAt(TabContentsWrapper* old_contents, | 354 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
| 355 TabContentsWrapper* old_contents, |
355 TabContentsWrapper* new_contents, | 356 TabContentsWrapper* new_contents, |
356 int index); | 357 int index); |
357 virtual void TabStripEmpty(); | 358 virtual void TabStripEmpty(); |
358 | 359 |
359 // Overridden from menus::SimpleMenuModel::Delegate: | 360 // Overridden from menus::SimpleMenuModel::Delegate: |
360 virtual bool IsCommandIdChecked(int command_id) const; | 361 virtual bool IsCommandIdChecked(int command_id) const; |
361 virtual bool IsCommandIdEnabled(int command_id) const; | 362 virtual bool IsCommandIdEnabled(int command_id) const; |
362 virtual bool GetAcceleratorForCommandId(int command_id, | 363 virtual bool GetAcceleratorForCommandId(int command_id, |
363 menus::Accelerator* accelerator); | 364 menus::Accelerator* accelerator); |
364 virtual bool IsItemForCommandIdDynamic(int command_id) const; | 365 virtual bool IsItemForCommandIdDynamic(int command_id) const; |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 665 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
665 | 666 |
666 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; | 667 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; |
667 | 668 |
668 NotificationRegistrar registrar_; | 669 NotificationRegistrar registrar_; |
669 | 670 |
670 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 671 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
671 }; | 672 }; |
672 | 673 |
673 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 674 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |