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

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

Issue 12256040: Second batch of fixing prefs registrations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head for commit. Created 7 years, 10 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
OLDNEW
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 23 matching lines...) Expand all
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 PrefRegistrySyncable; 43 class PrefRegistrySyncable;
44 class PrefService;
45 class StatusBubbleGtk; 44 class StatusBubbleGtk;
46 class TabContentsContainerGtk; 45 class TabContentsContainerGtk;
47 class TabStripGtk; 46 class TabStripGtk;
48 47
49 namespace autofill { 48 namespace autofill {
50 class PasswordGenerator; 49 class PasswordGenerator;
51 } 50 }
52 51
53 namespace extensions { 52 namespace extensions {
54 class ActiveTabPermissionGranter; 53 class ActiveTabPermissionGranter;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 240
242 GtkWidget* titlebar_widget() const; 241 GtkWidget* titlebar_widget() const;
243 242
244 BrowserToolbarGtk* GetToolbar() { return toolbar_.get(); } 243 BrowserToolbarGtk* GetToolbar() { return toolbar_.get(); }
245 244
246 gfx::Rect bounds() const { return bounds_; } 245 gfx::Rect bounds() const { return bounds_; }
247 246
248 // Returns the tab we're currently displaying in the tab contents container. 247 // Returns the tab we're currently displaying in the tab contents container.
249 content::WebContents* GetDisplayedTab(); 248 content::WebContents* GetDisplayedTab();
250 249
251 static void RegisterUserPrefs(PrefService* prefs, 250 static void RegisterUserPrefs(PrefRegistrySyncable* registry);
252 PrefRegistrySyncable* registry);
253 251
254 // Tells GTK that the toolbar area is invalidated and needs redrawing. We 252 // Tells GTK that the toolbar area is invalidated and needs redrawing. We
255 // have this method as a hack because GTK doesn't queue the toolbar area for 253 // have this method as a hack because GTK doesn't queue the toolbar area for
256 // redraw when it should. 254 // redraw when it should.
257 void QueueToolbarRedraw(); 255 void QueueToolbarRedraw();
258 256
259 // Get the position where the infobar arrow should be anchored in 257 // Get the position where the infobar arrow should be anchored in
260 // |relative_to| coordinates. This is the middle of the omnibox location icon. 258 // |relative_to| coordinates. This is the middle of the omnibox location icon.
261 int GetXPositionOfLocationIcon(GtkWidget* relative_to); 259 int GetXPositionOfLocationIcon(GtkWidget* relative_to);
262 260
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 569 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
572 570
573 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 571 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
574 572
575 content::NotificationRegistrar registrar_; 573 content::NotificationRegistrar registrar_;
576 574
577 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 575 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
578 }; 576 };
579 577
580 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 578 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698