| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright 2012 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_BROWSER_WINDOW_GTK_H_ |    5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 
|    6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |    6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 
|    7  |    7  | 
|    8 #include <gtk/gtk.h> |    8 #include <gtk/gtk.h> | 
|    9  |    9  | 
|   10 #include <string> |   10 #include <string> | 
|   11  |   11  | 
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  241  |  241  | 
|  242   BrowserTitlebar* titlebar() const { return titlebar_.get(); } |  242   BrowserTitlebar* titlebar() const { return titlebar_.get(); } | 
|  243  |  243  | 
|  244   GtkWidget* titlebar_widget() const; |  244   GtkWidget* titlebar_widget() const; | 
|  245  |  245  | 
|  246   BrowserToolbarGtk* GetToolbar() { return toolbar_.get(); } |  246   BrowserToolbarGtk* GetToolbar() { return toolbar_.get(); } | 
|  247  |  247  | 
|  248   gfx::Rect bounds() const { return bounds_; } |  248   gfx::Rect bounds() const { return bounds_; } | 
|  249  |  249  | 
|  250   // Returns the tab we're currently displaying in the tab contents container. |  250   // Returns the tab we're currently displaying in the tab contents container. | 
|  251   TabContents* GetDisplayedTab(); |  251   content::WebContents* GetDisplayedTab(); | 
|  252  |  252  | 
|  253   static void RegisterUserPrefs(PrefService* prefs); |  253   static void RegisterUserPrefs(PrefService* prefs); | 
|  254  |  254  | 
|  255   // Tells GTK that the toolbar area is invalidated and needs redrawing. We |  255   // Tells GTK that the toolbar area is invalidated and needs redrawing. We | 
|  256   // have this method as a hack because GTK doesn't queue the toolbar area for |  256   // have this method as a hack because GTK doesn't queue the toolbar area for | 
|  257   // redraw when it should. |  257   // redraw when it should. | 
|  258   void QueueToolbarRedraw(); |  258   void QueueToolbarRedraw(); | 
|  259  |  259  | 
|  260   // Get the position where the infobar arrow should be anchored in |  260   // Get the position where the infobar arrow should be anchored in | 
|  261   // |relative_to| coordinates. This is the middle of the omnibox location icon. |  261   // |relative_to| coordinates. This is the middle of the omnibox location icon. | 
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  572   scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |  572   scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 
|  573  |  573  | 
|  574   FullscreenExitBubbleType fullscreen_exit_bubble_type_; |  574   FullscreenExitBubbleType fullscreen_exit_bubble_type_; | 
|  575  |  575  | 
|  576   content::NotificationRegistrar registrar_; |  576   content::NotificationRegistrar registrar_; | 
|  577  |  577  | 
|  578   DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |  578   DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 
|  579 }; |  579 }; | 
|  580  |  580  | 
|  581 #endif  // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |  581 #endif  // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 
| OLD | NEW |