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

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

Issue 8110003: Show avatar menu from NTP4 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 2380 matching lines...) Expand 10 before | Expand all | Expand 10 after
2391 // are taken from the WMs' source code. 2391 // are taken from the WMs' source code.
2392 return (wm_name == "Blackbox" || 2392 return (wm_name == "Blackbox" ||
2393 wm_name == "compiz" || 2393 wm_name == "compiz" ||
2394 wm_name == "Compiz" || 2394 wm_name == "Compiz" ||
2395 wm_name == "e16" || // Enlightenment DR16 2395 wm_name == "e16" || // Enlightenment DR16
2396 wm_name == "Metacity" || 2396 wm_name == "Metacity" ||
2397 wm_name == "Mutter" || 2397 wm_name == "Mutter" ||
2398 wm_name == "Openbox" || 2398 wm_name == "Openbox" ||
2399 wm_name == "Xfwm4"); 2399 wm_name == "Xfwm4");
2400 } 2400 }
2401
2402 void BrowserWindowGtk::ShowAvatarBubble(TabContents* tab_contents,
Elliot Glaysher 2011/10/03 18:25:01 Move to right under CreateFindBar().
sail 2011/10/03 18:46:03 Done.
2403 int x, int y) {
2404 // TODO(sail): Implement this once we have a avatar bubble on GTK.
2405 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698