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

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

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 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 "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/task.h"
13 #include "chrome/browser/ui/gtk/custom_button.h" 12 #include "chrome/browser/ui/gtk/custom_button.h"
14 #include "chrome/browser/ui/gtk/menu_gtk.h" 13 #include "chrome/browser/ui/gtk/menu_gtk.h"
15 #include "ui/base/gtk/gtk_signal.h" 14 #include "ui/base/gtk/gtk_signal.h"
16 15
17 class BackForwardMenuModel; 16 class BackForwardMenuModel;
18 class Browser; 17 class Browser;
19 18
20 typedef struct _GtkWidget GtkWidget; 19 typedef struct _GtkWidget GtkWidget;
21 20
22 // When clicked, these buttons will navigate forward or backward. When 21 // When clicked, these buttons will navigate forward or backward. When
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 64
66 // The y position of the last mouse down event. 65 // The y position of the last mouse down event.
67 int y_position_of_last_press_; 66 int y_position_of_last_press_;
68 67
69 base::WeakPtrFactory<BackForwardButtonGtk> weak_factory_; 68 base::WeakPtrFactory<BackForwardButtonGtk> weak_factory_;
70 69
71 DISALLOW_COPY_AND_ASSIGN(BackForwardButtonGtk); 70 DISALLOW_COPY_AND_ASSIGN(BackForwardButtonGtk);
72 }; 71 };
73 72
74 #endif // CHROME_BROWSER_UI_GTK_BACK_FORWARD_BUTTON_GTK_H_ 73 #endif // CHROME_BROWSER_UI_GTK_BACK_FORWARD_BUTTON_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/fullscreen_controller.h ('k') | chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698