| OLD | NEW |
| 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 <dlfcn.h> | 9 #include <dlfcn.h> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1081 } | 1081 } |
| 1082 | 1082 |
| 1083 void BrowserWindowGtk::Copy() { | 1083 void BrowserWindowGtk::Copy() { |
| 1084 gtk_util::DoCopy(this); | 1084 gtk_util::DoCopy(this); |
| 1085 } | 1085 } |
| 1086 | 1086 |
| 1087 void BrowserWindowGtk::Paste() { | 1087 void BrowserWindowGtk::Paste() { |
| 1088 gtk_util::DoPaste(this); | 1088 gtk_util::DoPaste(this); |
| 1089 } | 1089 } |
| 1090 | 1090 |
| 1091 void BrowserWindowGtk::ToggleTabStripMode() { |
| 1092 } |
| 1093 |
| 1094 void BrowserWindowGtk::ToggleUseCompactNavigationBar() { |
| 1095 } |
| 1096 |
| 1091 void BrowserWindowGtk::PrepareForInstant() { | 1097 void BrowserWindowGtk::PrepareForInstant() { |
| 1092 TabContentsWrapper* contents = contents_container_->tab(); | 1098 TabContentsWrapper* contents = contents_container_->tab(); |
| 1093 if (contents) | 1099 if (contents) |
| 1094 FadeForInstant(true); | 1100 FadeForInstant(true); |
| 1095 } | 1101 } |
| 1096 | 1102 |
| 1097 void BrowserWindowGtk::ShowInstant(TabContentsWrapper* preview) { | 1103 void BrowserWindowGtk::ShowInstant(TabContentsWrapper* preview) { |
| 1098 contents_container_->SetPreview(preview); | 1104 contents_container_->SetPreview(preview); |
| 1099 MaybeShowBookmarkBar(false); | 1105 MaybeShowBookmarkBar(false); |
| 1100 | 1106 |
| (...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2374 // are taken from the WMs' source code. | 2380 // are taken from the WMs' source code. |
| 2375 return (wm_name == "Blackbox" || | 2381 return (wm_name == "Blackbox" || |
| 2376 wm_name == "compiz" || | 2382 wm_name == "compiz" || |
| 2377 wm_name == "Compiz" || | 2383 wm_name == "Compiz" || |
| 2378 wm_name == "e16" || // Enlightenment DR16 | 2384 wm_name == "e16" || // Enlightenment DR16 |
| 2379 wm_name == "Metacity" || | 2385 wm_name == "Metacity" || |
| 2380 wm_name == "Mutter" || | 2386 wm_name == "Mutter" || |
| 2381 wm_name == "Openbox" || | 2387 wm_name == "Openbox" || |
| 2382 wm_name == "Xfwm4"); | 2388 wm_name == "Xfwm4"); |
| 2383 } | 2389 } |
| OLD | NEW |