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

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

Issue 8068020: Converts usage of GetBrowserViewForNativeWindow to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks 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 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 } 1015 }
1016 1016
1017 void BrowserWindowGtk::TabContentsFocused(TabContents* tab_contents) { 1017 void BrowserWindowGtk::TabContentsFocused(TabContents* tab_contents) {
1018 NOTIMPLEMENTED(); 1018 NOTIMPLEMENTED();
1019 } 1019 }
1020 1020
1021 void BrowserWindowGtk::ShowPageInfo(Profile* profile, 1021 void BrowserWindowGtk::ShowPageInfo(Profile* profile,
1022 const GURL& url, 1022 const GURL& url,
1023 const NavigationEntry::SSLStatus& ssl, 1023 const NavigationEntry::SSLStatus& ssl,
1024 bool show_history) { 1024 bool show_history) {
1025 browser::ShowPageInfoBubble(window_, profile, url, ssl, show_history); 1025 browser::ShowPageInfoBubble(browser_, profile, url, ssl, show_history);
1026 } 1026 }
1027 1027
1028 void BrowserWindowGtk::ShowAppMenu() { 1028 void BrowserWindowGtk::ShowAppMenu() {
1029 toolbar_->ShowAppMenu(); 1029 toolbar_->ShowAppMenu();
1030 } 1030 }
1031 1031
1032 bool BrowserWindowGtk::PreHandleKeyboardEvent( 1032 bool BrowserWindowGtk::PreHandleKeyboardEvent(
1033 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) { 1033 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) {
1034 GdkEventKey* os_event = event.os_event; 1034 GdkEventKey* os_event = event.os_event;
1035 1035
(...skipping 1355 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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698