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

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

Issue 10117016: Implementation for switching between recently used tabs using ctrl tilde or quoteleft. Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Uploading patch for review after rebase. Created 8 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 // of the matched accelerator. 429 // of the matched accelerator.
430 static gboolean OnGtkAccelerator(GtkAccelGroup* accel_group, 430 static gboolean OnGtkAccelerator(GtkAccelGroup* accel_group,
431 GObject* acceleratable, 431 GObject* acceleratable,
432 guint keyval, 432 guint keyval,
433 GdkModifierType modifier, 433 GdkModifierType modifier,
434 void* user_data); 434 void* user_data);
435 435
436 // Key press event callback. 436 // Key press event callback.
437 CHROMEGTK_CALLBACK_1(BrowserWindowGtk, gboolean, OnKeyPress, GdkEventKey*); 437 CHROMEGTK_CALLBACK_1(BrowserWindowGtk, gboolean, OnKeyPress, GdkEventKey*);
438 438
439 // Key release event callback.
440 CHROMEGTK_CALLBACK_1(BrowserWindowGtk, gboolean, OnKeyRelease, GdkEventKey*);
441
439 // Mouse move and mouse button press callbacks. 442 // Mouse move and mouse button press callbacks.
440 CHROMEGTK_CALLBACK_1(BrowserWindowGtk, gboolean, OnMouseMoveEvent, 443 CHROMEGTK_CALLBACK_1(BrowserWindowGtk, gboolean, OnMouseMoveEvent,
441 GdkEventMotion*); 444 GdkEventMotion*);
442 CHROMEGTK_CALLBACK_1(BrowserWindowGtk, gboolean, OnButtonPressEvent, 445 CHROMEGTK_CALLBACK_1(BrowserWindowGtk, gboolean, OnButtonPressEvent,
443 GdkEventButton*); 446 GdkEventButton*);
444 447
445 // Tracks focus state of browser. 448 // Tracks focus state of browser.
446 CHROMEGTK_CALLBACK_1(BrowserWindowGtk, gboolean, OnFocusIn, 449 CHROMEGTK_CALLBACK_1(BrowserWindowGtk, gboolean, OnFocusIn,
447 GdkEventFocus*); 450 GdkEventFocus*);
448 CHROMEGTK_CALLBACK_1(BrowserWindowGtk, gboolean, OnFocusOut, 451 CHROMEGTK_CALLBACK_1(BrowserWindowGtk, gboolean, OnFocusOut,
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 576 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
574 577
575 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 578 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
576 579
577 content::NotificationRegistrar registrar_; 580 content::NotificationRegistrar registrar_;
578 581
579 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 582 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
580 }; 583 };
581 584
582 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 585 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698