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

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

Issue 6913026: Compact Navigation prototype (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Clang build fix. After commit/revert. Created 9 years, 7 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 <dlfcn.h> 9 #include <dlfcn.h>
10 #include <string> 10 #include <string>
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 1262 matching lines...) Expand 10 before | Expand all | Expand 10 after
2363 // are taken from the WMs' source code. 2369 // are taken from the WMs' source code.
2364 return (wm_name == "Blackbox" || 2370 return (wm_name == "Blackbox" ||
2365 wm_name == "compiz" || 2371 wm_name == "compiz" ||
2366 wm_name == "Compiz" || 2372 wm_name == "Compiz" ||
2367 wm_name == "e16" || // Enlightenment DR16 2373 wm_name == "e16" || // Enlightenment DR16
2368 wm_name == "Metacity" || 2374 wm_name == "Metacity" ||
2369 wm_name == "Mutter" || 2375 wm_name == "Mutter" ||
2370 wm_name == "Openbox" || 2376 wm_name == "Openbox" ||
2371 wm_name == "Xfwm4"); 2377 wm_name == "Xfwm4");
2372 } 2378 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.h ('k') | chrome/browser/ui/gtk/view_id_util_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698