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

Side by Side Diff: chrome/views/widget/widget_gtk.h

Issue 99133: Removes an unused boolean passed to MoveToFront. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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
« no previous file with comments | « chrome/views/widget/widget.h ('k') | chrome/views/widget/widget_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_VIEWS_WIDGET_WIDGET_GTK_H_ 5 #ifndef CHROME_VIEWS_WIDGET_WIDGET_GTK_H_
6 #define CHROME_VIEWS_WIDGET_WIDGET_GTK_H_ 6 #define CHROME_VIEWS_WIDGET_WIDGET_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 19 matching lines...) Expand all
30 30
31 // Initializes this widget and returns the gtk drawing area for the caller to 31 // Initializes this widget and returns the gtk drawing area for the caller to
32 // add to its hierarchy. (We can't pass in the parent to this method because 32 // add to its hierarchy. (We can't pass in the parent to this method because
33 // there are no standard adding semantics in gtk...) 33 // there are no standard adding semantics in gtk...)
34 void Init(const gfx::Rect& bounds, bool has_own_focus_manager); 34 void Init(const gfx::Rect& bounds, bool has_own_focus_manager);
35 35
36 virtual void SetContentsView(View* view); 36 virtual void SetContentsView(View* view);
37 37
38 // Overridden from Widget: 38 // Overridden from Widget:
39 virtual void GetBounds(gfx::Rect* out, bool including_frame) const; 39 virtual void GetBounds(gfx::Rect* out, bool including_frame) const;
40 virtual void MoveToFront(bool should_activate);
41 virtual gfx::NativeView GetNativeView() const; 40 virtual gfx::NativeView GetNativeView() const;
42 virtual void PaintNow(const gfx::Rect& update_rect); 41 virtual void PaintNow(const gfx::Rect& update_rect);
43 virtual RootView* GetRootView(); 42 virtual RootView* GetRootView();
44 virtual bool IsVisible() const; 43 virtual bool IsVisible() const;
45 virtual bool IsActive() const; 44 virtual bool IsActive() const;
46 virtual TooltipManager* GetTooltipManager(); 45 virtual TooltipManager* GetTooltipManager();
47 virtual bool GetAccelerator(int cmd_id, Accelerator* accelerator); 46 virtual bool GetAccelerator(int cmd_id, Accelerator* accelerator);
48 47
49 protected: 48 protected:
50 virtual void OnSizeAllocate(GtkWidget* widget, GtkAllocation* allocation) {} 49 virtual void OnSizeAllocate(GtkWidget* widget, GtkAllocation* allocation) {}
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 bool last_mouse_event_was_move_; 116 bool last_mouse_event_was_move_;
118 117
119 // Coordinates of the last mouse move event, in screen coordinates. 118 // Coordinates of the last mouse move event, in screen coordinates.
120 int last_mouse_move_x_; 119 int last_mouse_move_x_;
121 int last_mouse_move_y_; 120 int last_mouse_move_y_;
122 }; 121 };
123 122
124 } // namespace views 123 } // namespace views
125 124
126 #endif // CHROME_VIEWS_WIDGET_WIDGET_GTK_H_ 125 #endif // CHROME_VIEWS_WIDGET_WIDGET_GTK_H_
OLDNEW
« no previous file with comments | « chrome/views/widget/widget.h ('k') | chrome/views/widget/widget_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698