Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 6155003: Changes instant so that the newly created tab has a new id. Doing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/wrench_menu_model.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698