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

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

Issue 175017: Experiment with dislodging the Extension Shelf and having it only appear on t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « chrome/browser/dom_ui/new_tab_ui.cc ('k') | 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 virtual void Show(); 62 virtual void Show();
63 virtual void SetBounds(const gfx::Rect& bounds); 63 virtual void SetBounds(const gfx::Rect& bounds);
64 virtual void Close(); 64 virtual void Close();
65 virtual void Activate(); 65 virtual void Activate();
66 virtual bool IsActive() const; 66 virtual bool IsActive() const;
67 virtual void FlashFrame(); 67 virtual void FlashFrame();
68 virtual gfx::NativeWindow GetNativeHandle(); 68 virtual gfx::NativeWindow GetNativeHandle();
69 virtual BrowserWindowTesting* GetBrowserWindowTesting(); 69 virtual BrowserWindowTesting* GetBrowserWindowTesting();
70 virtual StatusBubble* GetStatusBubble(); 70 virtual StatusBubble* GetStatusBubble();
71 virtual void SelectedTabToolbarSizeChanged(bool is_animating); 71 virtual void SelectedTabToolbarSizeChanged(bool is_animating);
72 virtual void SelectedTabExtensionShelfSizeChanged();
72 virtual void UpdateTitleBar(); 73 virtual void UpdateTitleBar();
73 virtual void UpdateDevTools(); 74 virtual void UpdateDevTools();
74 virtual void FocusDevTools(); 75 virtual void FocusDevTools();
75 virtual void UpdateLoadingAnimations(bool should_animate); 76 virtual void UpdateLoadingAnimations(bool should_animate);
76 virtual void SetStarredState(bool is_starred); 77 virtual void SetStarredState(bool is_starred);
77 virtual gfx::Rect GetRestoredBounds() const; 78 virtual gfx::Rect GetRestoredBounds() const;
78 virtual bool IsMaximized() const; 79 virtual bool IsMaximized() const;
79 virtual void SetFullscreen(bool fullscreen); 80 virtual void SetFullscreen(bool fullscreen);
80 virtual bool IsFullscreen() const; 81 virtual bool IsFullscreen() const;
81 virtual LocationBar* GetLocationBar() const; 82 virtual LocationBar* GetLocationBar() const;
82 virtual void SetFocusToLocationBar(); 83 virtual void SetFocusToLocationBar();
83 virtual void UpdateStopGoState(bool is_loading, bool force); 84 virtual void UpdateStopGoState(bool is_loading, bool force);
84 virtual void UpdateToolbar(TabContents* contents, 85 virtual void UpdateToolbar(TabContents* contents,
85 bool should_restore_state); 86 bool should_restore_state);
86 virtual void FocusToolbar(); 87 virtual void FocusToolbar();
87 virtual bool IsBookmarkBarVisible() const; 88 virtual bool IsBookmarkBarVisible() const;
88 virtual gfx::Rect GetRootWindowResizerRect() const; 89 virtual gfx::Rect GetRootWindowResizerRect() const;
89 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, 90 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
90 Profile* profile); 91 Profile* profile);
91 virtual void ToggleBookmarkBar(); 92 virtual void ToggleBookmarkBar();
93 virtual void ToggleExtensionShelf();
92 virtual void ShowAboutChromeDialog(); 94 virtual void ShowAboutChromeDialog();
93 virtual void ShowTaskManager(); 95 virtual void ShowTaskManager();
94 virtual void ShowBookmarkManager(); 96 virtual void ShowBookmarkManager();
95 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); 97 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked);
96 virtual bool IsDownloadShelfVisible() const; 98 virtual bool IsDownloadShelfVisible() const;
97 virtual DownloadShelf* GetDownloadShelf(); 99 virtual DownloadShelf* GetDownloadShelf();
98 virtual void ShowReportBugDialog(); 100 virtual void ShowReportBugDialog();
99 virtual void ShowClearBrowsingDataDialog(); 101 virtual void ShowClearBrowsingDataDialog();
100 virtual void ShowImportDialog(); 102 virtual void ShowImportDialog();
101 virtual void ShowSearchEnginesDialog(); 103 virtual void ShowSearchEnginesDialog();
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 // first time. This is to work around a compiz bug. 381 // first time. This is to work around a compiz bug.
380 bool maximize_after_show_; 382 bool maximize_after_show_;
381 383
382 // The accelerator group used to handle accelerators, owned by this object. 384 // The accelerator group used to handle accelerators, owned by this object.
383 GtkAccelGroup* accel_group_; 385 GtkAccelGroup* accel_group_;
384 386
385 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 387 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
386 }; 388 };
387 389
388 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 390 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/new_tab_ui.cc ('k') | chrome/browser/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698