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

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

Issue 42372: Consolidate into a single shutdown path. (Closed)
Patch Set: remove trailing whitespace Created 11 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_window_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_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/gfx/rect.h" 10 #include "base/gfx/rect.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // Must be called once at startup. 97 // Must be called once at startup.
98 // Triggers relayout of the content. 98 // Triggers relayout of the content.
99 void SetCustomFrame(bool custom_frame); 99 void SetCustomFrame(bool custom_frame);
100 100
101 // Callback for when the "content area" vbox needs to be redrawn. 101 // Callback for when the "content area" vbox needs to be redrawn.
102 // The content area includes the toolbar and web page but not the tab strip. 102 // The content area includes the toolbar and web page but not the tab strip.
103 // It has a soft gray border when we have a custom frame. 103 // It has a soft gray border when we have a custom frame.
104 static gboolean OnContentAreaExpose(GtkWidget* widget, GdkEventExpose* e, 104 static gboolean OnContentAreaExpose(GtkWidget* widget, GdkEventExpose* e,
105 BrowserWindowGtk* window); 105 BrowserWindowGtk* window);
106 106
107 static gboolean OnWindowDestroyed(GtkWidget* window,
108 BrowserWindowGtk* browser_win);
109
110 static gboolean OnAccelerator(GtkAccelGroup* accel_group, 107 static gboolean OnAccelerator(GtkAccelGroup* accel_group,
111 GObject* acceleratable, 108 GObject* acceleratable,
112 guint keyval, 109 guint keyval,
113 GdkModifierType modifier, 110 GdkModifierType modifier,
114 BrowserWindowGtk* browser_window); 111 BrowserWindowGtk* browser_window);
115 112
116 gfx::Rect bounds_; 113 gfx::Rect bounds_;
117 GdkWindowState state_; 114 GdkWindowState state_;
118 115
119 // Theme graphics for the content area. 116 // Theme graphics for the content area.
(...skipping 13 matching lines...) Expand all
133 // of the content area). 130 // of the content area).
134 scoped_ptr<TabContentsContainerGtk> contents_container_; 131 scoped_ptr<TabContentsContainerGtk> contents_container_;
135 132
136 // The Find Bar. This may be NULL if there is no Find Bar, and if it is 133 // The Find Bar. This may be NULL if there is no Find Bar, and if it is
137 // non-NULL, it may or may not be visible. It is possible for the Find Bar 134 // non-NULL, it may or may not be visible. It is possible for the Find Bar
138 // to move among windows as tabs are dragged around. 135 // to move among windows as tabs are dragged around.
139 scoped_ptr<FindBarController> find_bar_controller_; 136 scoped_ptr<FindBarController> find_bar_controller_;
140 }; 137 };
141 138
142 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 139 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698