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

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

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 #ifndef CHROME_BROWSER_UI_GTK_BACK_FORWARD_BUTTON_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BACK_FORWARD_BUTTON_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BACK_FORWARD_BUTTON_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BACK_FORWARD_BUTTON_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "app/gtk_signal.h"
10 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
11 #include "base/task.h" 10 #include "base/task.h"
12 #include "chrome/browser/ui/gtk/custom_button.h" 11 #include "chrome/browser/ui/gtk/custom_button.h"
13 #include "chrome/browser/ui/gtk/menu_gtk.h" 12 #include "chrome/browser/ui/gtk/menu_gtk.h"
13 #include "ui/base/gtk/gtk_signal.h"
14 14
15 class BackForwardMenuModel; 15 class BackForwardMenuModel;
16 class Browser; 16 class Browser;
17 17
18 typedef struct _GtkWidget GtkWidget; 18 typedef struct _GtkWidget GtkWidget;
19 19
20 // When clicked, these buttons will navigate forward or backward. When 20 // When clicked, these buttons will navigate forward or backward. When
21 // pressed and held, they show a dropdown menu of recent web sites. 21 // pressed and held, they show a dropdown menu of recent web sites.
22 class BackForwardButtonGtk : MenuGtk::Delegate { 22 class BackForwardButtonGtk : MenuGtk::Delegate {
23 public: 23 public:
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 // The y position of the last mouse down event. 64 // The y position of the last mouse down event.
65 int y_position_of_last_press_; 65 int y_position_of_last_press_;
66 66
67 ScopedRunnableMethodFactory<BackForwardButtonGtk> show_menu_factory_; 67 ScopedRunnableMethodFactory<BackForwardButtonGtk> show_menu_factory_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(BackForwardButtonGtk); 69 DISALLOW_COPY_AND_ASSIGN(BackForwardButtonGtk);
70 }; 70 };
71 71
72 #endif // CHROME_BROWSER_UI_GTK_BACK_FORWARD_BUTTON_GTK_H_ 72 #endif // CHROME_BROWSER_UI_GTK_BACK_FORWARD_BUTTON_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_window_controller.mm ('k') | chrome/browser/ui/gtk/bookmark_bar_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698