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

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

Issue 1730015: Windows/Views: delete native bookmark manager code. (Closed)
Patch Set: Patch with fixed file perms. Created 10 years, 8 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
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 #include "chrome/browser/gtk/browser_window_gtk.h" 5 #include "chrome/browser/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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 } 831 }
832 832
833 void BrowserWindowGtk::ShowAboutChromeDialog() { 833 void BrowserWindowGtk::ShowAboutChromeDialog() {
834 ShowAboutDialogForProfile(window_, browser_->profile()); 834 ShowAboutDialogForProfile(window_, browser_->profile());
835 } 835 }
836 836
837 void BrowserWindowGtk::ShowTaskManager() { 837 void BrowserWindowGtk::ShowTaskManager() {
838 TaskManagerGtk::Show(); 838 TaskManagerGtk::Show();
839 } 839 }
840 840
841 void BrowserWindowGtk::ShowBookmarkManager() {
842 // TODO(viettrungluu): remove this function (crbug.com/38908)
843 }
844
845 void BrowserWindowGtk::ShowBookmarkBubble(const GURL& url, 841 void BrowserWindowGtk::ShowBookmarkBubble(const GURL& url,
846 bool already_bookmarked) { 842 bool already_bookmarked) {
847 toolbar_->GetLocationBarView()->ShowStarBubble(url, !already_bookmarked); 843 toolbar_->GetLocationBarView()->ShowStarBubble(url, !already_bookmarked);
848 } 844 }
849 845
850 bool BrowserWindowGtk::IsDownloadShelfVisible() const { 846 bool BrowserWindowGtk::IsDownloadShelfVisible() const {
851 return download_shelf_.get() && download_shelf_->IsShowing(); 847 return download_shelf_.get() && download_shelf_->IsShowing();
852 } 848 }
853 849
854 DownloadShelf* BrowserWindowGtk::GetDownloadShelf() { 850 DownloadShelf* BrowserWindowGtk::GetDownloadShelf() {
(...skipping 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after
2074 // are taken from the WMs' source code. 2070 // are taken from the WMs' source code.
2075 return (wm_name == "Blackbox" || 2071 return (wm_name == "Blackbox" ||
2076 wm_name == "compiz" || 2072 wm_name == "compiz" ||
2077 wm_name == "e16" || // Enlightenment DR16 2073 wm_name == "e16" || // Enlightenment DR16
2078 wm_name == "KWin" || 2074 wm_name == "KWin" ||
2079 wm_name == "Metacity" || 2075 wm_name == "Metacity" ||
2080 wm_name == "Mutter" || 2076 wm_name == "Mutter" ||
2081 wm_name == "Openbox" || 2077 wm_name == "Openbox" ||
2082 wm_name == "Xfwm4"); 2078 wm_name == "Xfwm4");
2083 } 2079 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.h ('k') | chrome/browser/views/bookmark_context_menu_controller_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698