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

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

Issue 339074: GTK: add back toolbar border.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 | « 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 <map> 10 #include <map>
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 GtkWindow* window_; 208 GtkWindow* window_;
209 // GtkAlignment that holds the interior components of the chromium window. 209 // GtkAlignment that holds the interior components of the chromium window.
210 // This is used to draw the custom frame border and content shadow. 210 // This is used to draw the custom frame border and content shadow.
211 GtkWidget* window_container_; 211 GtkWidget* window_container_;
212 // VBox that holds everything (tabs, toolbar, bookmarks bar, tab contents). 212 // VBox that holds everything (tabs, toolbar, bookmarks bar, tab contents).
213 GtkWidget* window_vbox_; 213 GtkWidget* window_vbox_;
214 // VBox that holds everything below the toolbar. 214 // VBox that holds everything below the toolbar.
215 GtkWidget* render_area_vbox_; 215 GtkWidget* render_area_vbox_;
216 // EventBox that holds render_area_vbox_. 216 // EventBox that holds render_area_vbox_.
217 GtkWidget* render_area_event_box_; 217 GtkWidget* render_area_event_box_;
218 // Border between toolbar and render area. This is hidden when the find bar
219 // is added because thereafter the findbar will draw the border for us.
220 GtkWidget* toolbar_border_;
218 221
219 scoped_ptr<Browser> browser_; 222 scoped_ptr<Browser> browser_;
220 223
221 // The download shelf view (view at the bottom of the page). 224 // The download shelf view (view at the bottom of the page).
222 scoped_ptr<DownloadShelfGtk> download_shelf_; 225 scoped_ptr<DownloadShelfGtk> download_shelf_;
223 226
224 private: 227 private:
225 // Show or hide the bookmark bar. 228 // Show or hide the bookmark bar.
226 void MaybeShowBookmarkBar(TabContents* contents, bool animate); 229 void MaybeShowBookmarkBar(TabContents* contents, bool animate);
227 230
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 // first time. This is to work around a compiz bug. 423 // first time. This is to work around a compiz bug.
421 bool maximize_after_show_; 424 bool maximize_after_show_;
422 425
423 // The accelerator group used to handle accelerators, owned by this object. 426 // The accelerator group used to handle accelerators, owned by this object.
424 GtkAccelGroup* accel_group_; 427 GtkAccelGroup* accel_group_;
425 428
426 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 429 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
427 }; 430 };
428 431
429 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 432 #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