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

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

Issue 6312178: Highlight background pages in task manager if user clicks View Background Pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Review feedback Created 9 years, 10 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) 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/gtk/browser_window_gtk.h" 5 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
6 6
7 #include <gdk/gdkkeysyms.h> 7 #include <gdk/gdkkeysyms.h>
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 } 879 }
880 880
881 void BrowserWindowGtk::ShowUpdateChromeDialog() { 881 void BrowserWindowGtk::ShowUpdateChromeDialog() {
882 UpdateRecommendedDialog::Show(window_); 882 UpdateRecommendedDialog::Show(window_);
883 } 883 }
884 884
885 void BrowserWindowGtk::ShowTaskManager() { 885 void BrowserWindowGtk::ShowTaskManager() {
886 TaskManagerGtk::Show(); 886 TaskManagerGtk::Show();
887 } 887 }
888 888
889 void BrowserWindowGtk::ShowBackgroundPages() {
890 // TODO(atwilson): Support highlighting background resources.
891 // (http://crbug.com/71490)
892 TaskManagerGtk::Show();
893 }
894
889 void BrowserWindowGtk::ShowBookmarkBubble(const GURL& url, 895 void BrowserWindowGtk::ShowBookmarkBubble(const GURL& url,
890 bool already_bookmarked) { 896 bool already_bookmarked) {
891 toolbar_->GetLocationBarView()->ShowStarBubble(url, !already_bookmarked); 897 toolbar_->GetLocationBarView()->ShowStarBubble(url, !already_bookmarked);
892 } 898 }
893 899
894 bool BrowserWindowGtk::IsDownloadShelfVisible() const { 900 bool BrowserWindowGtk::IsDownloadShelfVisible() const {
895 return download_shelf_.get() && download_shelf_->IsShowing(); 901 return download_shelf_.get() && download_shelf_->IsShowing();
896 } 902 }
897 903
898 DownloadShelf* BrowserWindowGtk::GetDownloadShelf() { 904 DownloadShelf* BrowserWindowGtk::GetDownloadShelf() {
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after
2245 // special-case the ones where the custom frame should be used. These names 2251 // special-case the ones where the custom frame should be used. These names
2246 // are taken from the WMs' source code. 2252 // are taken from the WMs' source code.
2247 return (wm_name == "Blackbox" || 2253 return (wm_name == "Blackbox" ||
2248 wm_name == "compiz" || 2254 wm_name == "compiz" ||
2249 wm_name == "e16" || // Enlightenment DR16 2255 wm_name == "e16" || // Enlightenment DR16
2250 wm_name == "Metacity" || 2256 wm_name == "Metacity" ||
2251 wm_name == "Mutter" || 2257 wm_name == "Mutter" ||
2252 wm_name == "Openbox" || 2258 wm_name == "Openbox" ||
2253 wm_name == "Xfwm4"); 2259 wm_name == "Xfwm4");
2254 } 2260 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698