OLD | NEW |
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 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
876 | 876 |
877 void BrowserWindowGtk::ToggleExtensionShelf() { | 877 void BrowserWindowGtk::ToggleExtensionShelf() { |
878 NOTIMPLEMENTED(); | 878 NOTIMPLEMENTED(); |
879 } | 879 } |
880 | 880 |
881 views::Window* BrowserWindowGtk::ShowAboutChromeDialog() { | 881 views::Window* BrowserWindowGtk::ShowAboutChromeDialog() { |
882 ShowAboutDialogForProfile(window_, browser_->profile()); | 882 ShowAboutDialogForProfile(window_, browser_->profile()); |
883 return NULL; | 883 return NULL; |
884 } | 884 } |
885 | 885 |
| 886 void BrowserWindowGtk::ShowUpdateChromeDialog() { |
| 887 NOTIMPLEMENTED(); |
| 888 } |
| 889 |
886 void BrowserWindowGtk::ShowTaskManager() { | 890 void BrowserWindowGtk::ShowTaskManager() { |
887 TaskManagerGtk::Show(); | 891 TaskManagerGtk::Show(); |
888 } | 892 } |
889 | 893 |
890 void BrowserWindowGtk::ShowBookmarkBubble(const GURL& url, | 894 void BrowserWindowGtk::ShowBookmarkBubble(const GURL& url, |
891 bool already_bookmarked) { | 895 bool already_bookmarked) { |
892 toolbar_->GetLocationBarView()->ShowStarBubble(url, !already_bookmarked); | 896 toolbar_->GetLocationBarView()->ShowStarBubble(url, !already_bookmarked); |
893 } | 897 } |
894 | 898 |
895 bool BrowserWindowGtk::IsDownloadShelfVisible() const { | 899 bool BrowserWindowGtk::IsDownloadShelfVisible() const { |
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2124 // are taken from the WMs' source code. | 2128 // are taken from the WMs' source code. |
2125 return (wm_name == "Blackbox" || | 2129 return (wm_name == "Blackbox" || |
2126 wm_name == "compiz" || | 2130 wm_name == "compiz" || |
2127 wm_name == "e16" || // Enlightenment DR16 | 2131 wm_name == "e16" || // Enlightenment DR16 |
2128 wm_name == "KWin" || | 2132 wm_name == "KWin" || |
2129 wm_name == "Metacity" || | 2133 wm_name == "Metacity" || |
2130 wm_name == "Mutter" || | 2134 wm_name == "Mutter" || |
2131 wm_name == "Openbox" || | 2135 wm_name == "Openbox" || |
2132 wm_name == "Xfwm4"); | 2136 wm_name == "Xfwm4"); |
2133 } | 2137 } |
OLD | NEW |