| OLD | NEW |
| 1 // Copyright 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> |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 class BrowserToolbarGtk; | 33 class BrowserToolbarGtk; |
| 34 class DevToolsWindow; | 34 class DevToolsWindow; |
| 35 class DownloadShelfGtk; | 35 class DownloadShelfGtk; |
| 36 class ExtensionKeybindingRegistryGtk; | 36 class ExtensionKeybindingRegistryGtk; |
| 37 class FindBarGtk; | 37 class FindBarGtk; |
| 38 class FullscreenExitBubbleGtk; | 38 class FullscreenExitBubbleGtk; |
| 39 class GlobalMenuBar; | 39 class GlobalMenuBar; |
| 40 class InfoBarContainerGtk; | 40 class InfoBarContainerGtk; |
| 41 class InstantPreviewControllerGtk; | 41 class InstantPreviewControllerGtk; |
| 42 class LocationBar; | 42 class LocationBar; |
| 43 class PrefService; | 43 class PrefServiceSyncable; |
| 44 class StatusBubbleGtk; | 44 class StatusBubbleGtk; |
| 45 class TabContentsContainerGtk; | 45 class TabContentsContainerGtk; |
| 46 class TabStripGtk; | 46 class TabStripGtk; |
| 47 | 47 |
| 48 namespace autofill { | 48 namespace autofill { |
| 49 class PasswordGenerator; | 49 class PasswordGenerator; |
| 50 } | 50 } |
| 51 | 51 |
| 52 namespace extensions { | 52 namespace extensions { |
| 53 class ActiveTabPermissionGranter; | 53 class ActiveTabPermissionGranter; |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 | 245 |
| 246 GtkWidget* titlebar_widget() const; | 246 GtkWidget* titlebar_widget() const; |
| 247 | 247 |
| 248 BrowserToolbarGtk* GetToolbar() { return toolbar_.get(); } | 248 BrowserToolbarGtk* GetToolbar() { return toolbar_.get(); } |
| 249 | 249 |
| 250 gfx::Rect bounds() const { return bounds_; } | 250 gfx::Rect bounds() const { return bounds_; } |
| 251 | 251 |
| 252 // Returns the tab we're currently displaying in the tab contents container. | 252 // Returns the tab we're currently displaying in the tab contents container. |
| 253 content::WebContents* GetDisplayedTab(); | 253 content::WebContents* GetDisplayedTab(); |
| 254 | 254 |
| 255 static void RegisterUserPrefs(PrefService* prefs); | 255 static void RegisterUserPrefs(PrefServiceSyncable* prefs); |
| 256 | 256 |
| 257 // Tells GTK that the toolbar area is invalidated and needs redrawing. We | 257 // Tells GTK that the toolbar area is invalidated and needs redrawing. We |
| 258 // have this method as a hack because GTK doesn't queue the toolbar area for | 258 // have this method as a hack because GTK doesn't queue the toolbar area for |
| 259 // redraw when it should. | 259 // redraw when it should. |
| 260 void QueueToolbarRedraw(); | 260 void QueueToolbarRedraw(); |
| 261 | 261 |
| 262 // Get the position where the infobar arrow should be anchored in | 262 // Get the position where the infobar arrow should be anchored in |
| 263 // |relative_to| coordinates. This is the middle of the omnibox location icon. | 263 // |relative_to| coordinates. This is the middle of the omnibox location icon. |
| 264 int GetXPositionOfLocationIcon(GtkWidget* relative_to); | 264 int GetXPositionOfLocationIcon(GtkWidget* relative_to); |
| 265 | 265 |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 574 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
| 575 | 575 |
| 576 FullscreenExitBubbleType fullscreen_exit_bubble_type_; | 576 FullscreenExitBubbleType fullscreen_exit_bubble_type_; |
| 577 | 577 |
| 578 content::NotificationRegistrar registrar_; | 578 content::NotificationRegistrar registrar_; |
| 579 | 579 |
| 580 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 580 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
| 581 }; | 581 }; |
| 582 | 582 |
| 583 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 583 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |