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

Side by Side Diff: chrome/browser/ui/browser.cc

Issue 7604032: Showing Task manager on the foreground window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: to be commited Created 9 years, 4 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/ui/browser.h ('k') | chrome/browser/ui/browser_window.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ui/browser.h" 5 #include "chrome/browser/ui/browser.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 #endif // OS_WIN 10 #endif // OS_WIN
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 WindowOpenDisposition disposition, 1126 WindowOpenDisposition disposition,
1127 const gfx::Rect& initial_pos, 1127 const gfx::Rect& initial_pos,
1128 bool user_gesture) { 1128 bool user_gesture) {
1129 AddNewContents(NULL, new_contents, disposition, initial_pos, user_gesture); 1129 AddNewContents(NULL, new_contents, disposition, initial_pos, user_gesture);
1130 } 1130 }
1131 1131
1132 void Browser::CloseTabContents(TabContents* contents) { 1132 void Browser::CloseTabContents(TabContents* contents) {
1133 CloseContents(contents); 1133 CloseContents(contents);
1134 } 1134 }
1135 1135
1136 void Browser::BrowserShowHtmlDialog(HtmlDialogUIDelegate* delegate, 1136 gfx::NativeWindow Browser::BrowserShowHtmlDialog(
1137 gfx::NativeWindow parent_window) { 1137 HtmlDialogUIDelegate* delegate, gfx::NativeWindow parent_window) {
1138 window_->ShowHTMLDialog(delegate, parent_window); 1138 return window_->ShowHTMLDialog(delegate, parent_window);
1139 } 1139 }
1140 1140
1141 void Browser::BrowserRenderWidgetShowing() { 1141 void Browser::BrowserRenderWidgetShowing() {
1142 RenderWidgetShowing(); 1142 RenderWidgetShowing();
1143 } 1143 }
1144 1144
1145 void Browser::BookmarkBarSizeChanged(bool is_animating) { 1145 void Browser::BookmarkBarSizeChanged(bool is_animating) {
1146 window_->ToolbarSizeChanged(is_animating); 1146 window_->ToolbarSizeChanged(is_animating);
1147 } 1147 }
1148 1148
(...skipping 3687 matching lines...) Expand 10 before | Expand all | Expand 10 after
4836 } 4836 }
4837 4837
4838 void Browser::ShowSyncSetup() { 4838 void Browser::ShowSyncSetup() {
4839 ProfileSyncService* service = 4839 ProfileSyncService* service =
4840 profile()->GetOriginalProfile()->GetProfileSyncService(); 4840 profile()->GetOriginalProfile()->GetProfileSyncService();
4841 if (service->HasSyncSetupCompleted()) 4841 if (service->HasSyncSetupCompleted())
4842 ShowOptionsTab(chrome::kSyncSetupSubPage); 4842 ShowOptionsTab(chrome::kSyncSetupSubPage);
4843 else 4843 else
4844 service->ShowLoginDialog(); 4844 service->ShowLoginDialog();
4845 } 4845 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698