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

Unified Diff: chrome/browser/gtk/browser_window_gtk.cc

Issue 160084: Chaos geolocation demo, non-WebKit part. Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.h ('k') | chrome/browser/gtk/gtk_skinny_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/browser_window_gtk.cc
===================================================================
--- chrome/browser/gtk/browser_window_gtk.cc (revision 23543)
+++ chrome/browser/gtk/browser_window_gtk.cc (working copy)
@@ -35,6 +35,7 @@
#include "chrome/browser/find_bar_controller.h"
#include "chrome/browser/gtk/about_chrome_dialog.h"
#include "chrome/browser/gtk/active_window_watcher.h"
+#include "chrome/browser/gtk/api_permissions_panel_gtk.h"
#include "chrome/browser/gtk/bookmark_bar_gtk.h"
#include "chrome/browser/gtk/bookmark_manager_gtk.h"
#include "chrome/browser/gtk/browser_titlebar.h"
@@ -282,6 +283,8 @@
GdkModifierType(GDK_CONTROL_MASK | GDK_MOD1_MASK) },
{ GDK_comma, IDC_CONTROL_PANEL, GdkModifierType(GDK_CONTROL_MASK) },
#endif
+ { GDK_Escape, IDC_API_PERMISSIONS_PANEL,
+ GdkModifierType(GDK_CONTROL_MASK | GDK_SHIFT_MASK) },
};
int GetCommandId(guint accel_key, GdkModifierType modifier) {
@@ -903,6 +906,10 @@
TaskManagerGtk::Show();
}
+void BrowserWindowGtk::ShowApiPermissionsPanel() {
+ ApiPermissionsPanelGtk::Show();
+}
+
void BrowserWindowGtk::ShowBookmarkManager() {
BookmarkManagerGtk::Show(browser_->profile());
}
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.h ('k') | chrome/browser/gtk/gtk_skinny_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698