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

Side by Side Diff: chrome/browser/views/frame/browser_view.cc

Issue 140044: Reorganize the way the task manager is constructed.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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
« no previous file with comments | « chrome/browser/views/frame/browser_view.h ('k') | chrome/browser/views/task_manager_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "chrome/browser/views/frame/browser_view.h" 5 #include "chrome/browser/views/frame/browser_view.h"
6 6
7 #if defined(OS_LINUX) 7 #if defined(OS_LINUX)
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #endif 9 #endif
10 10
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 } 810 }
811 811
812 void BrowserView::ToggleBookmarkBar() { 812 void BrowserView::ToggleBookmarkBar() {
813 bookmark_utils::ToggleWhenVisible(browser_->profile()); 813 bookmark_utils::ToggleWhenVisible(browser_->profile());
814 } 814 }
815 815
816 void BrowserView::ShowAboutChromeDialog() { 816 void BrowserView::ShowAboutChromeDialog() {
817 browser::ShowAboutChromeView(GetWidget(), browser_->profile()); 817 browser::ShowAboutChromeView(GetWidget(), browser_->profile());
818 } 818 }
819 819
820 void BrowserView::ShowTaskManager() {
821 browser::ShowTaskManager();
822 }
823
820 void BrowserView::ShowBookmarkManager() { 824 void BrowserView::ShowBookmarkManager() {
821 browser::ShowBookmarkManagerView(browser_->profile()); 825 browser::ShowBookmarkManagerView(browser_->profile());
822 } 826 }
823 827
824 void BrowserView::ShowBookmarkBubble(const GURL& url, bool already_bookmarked) { 828 void BrowserView::ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {
825 toolbar_->star_button()->ShowStarBubble(url, !already_bookmarked); 829 toolbar_->star_button()->ShowStarBubble(url, !already_bookmarked);
826 } 830 }
827 831
828 void BrowserView::SetDownloadShelfVisible(bool visible) { 832 void BrowserView::SetDownloadShelfVisible(bool visible) {
829 // This can be called from the superclass destructor, when it destroys our 833 // This can be called from the superclass destructor, when it destroys our
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
1804 1808
1805 // static 1809 // static
1806 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { 1810 FindBar* BrowserWindow::CreateFindBar(Browser* browser) {
1807 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); 1811 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window()));
1808 } 1812 }
1809 1813
1810 // static 1814 // static
1811 void BrowserList::AllBrowsersClosed() { 1815 void BrowserList::AllBrowsersClosed() {
1812 views::Window::CloseAllSecondaryWindows(); 1816 views::Window::CloseAllSecondaryWindows();
1813 } 1817 }
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_view.h ('k') | chrome/browser/views/task_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698