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

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

Issue 9015022: Replace most of Browser::GetSelectedTabContents calls into Browser::GetSelectedWebContents. I've ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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/ui/gtk/browser_titlebar.cc ('k') | chrome/browser/ui/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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; 178 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE;
179 179
180 // Overridden from InfoBarContainer::Delegate: 180 // Overridden from InfoBarContainer::Delegate:
181 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; 181 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE;
182 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; 182 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE;
183 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; 183 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE;
184 184
185 // Accessor for the tab strip. 185 // Accessor for the tab strip.
186 TabStripGtk* tabstrip() const { return tabstrip_.get(); } 186 TabStripGtk* tabstrip() const { return tabstrip_.get(); }
187 187
188 void UpdateDevToolsForContents(TabContents* contents); 188 void UpdateDevToolsForContents(content::WebContents* contents);
189 189
190 // Shows docked devtools. 190 // Shows docked devtools.
191 void ShowDevToolsContainer(); 191 void ShowDevToolsContainer();
192 192
193 // Hides docked devtools. 193 // Hides docked devtools.
194 void HideDevToolsContainer(); 194 void HideDevToolsContainer();
195 195
196 void OnDebouncedBoundsChanged(); 196 void OnDebouncedBoundsChanged();
197 197
198 // Request the underlying window to unmaximize. Also tries to work around 198 // Request the underlying window to unmaximize. Also tries to work around
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 // be called. This should only be enabled in tests where the debounce timeout 542 // be called. This should only be enabled in tests where the debounce timeout
543 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the 543 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the
544 // autocomplete popup before the results can be read) and the final window 544 // autocomplete popup before the results can be read) and the final window
545 // position is unimportant. 545 // position is unimportant.
546 bool debounce_timer_disabled_; 546 bool debounce_timer_disabled_;
547 547
548 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 548 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
549 }; 549 };
550 550
551 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 551 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_titlebar.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