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

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

Issue 6881073: Cleanup popup related browser navigation code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and merge with avi's popup block changes. Created 9 years, 7 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 (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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile, 123 virtual void ShowCreateChromeAppShortcutsDialog(Profile* profile,
124 const Extension* app); 124 const Extension* app);
125 virtual void Cut(); 125 virtual void Cut();
126 virtual void Copy(); 126 virtual void Copy();
127 virtual void Paste(); 127 virtual void Paste();
128 virtual void ToggleTabStripMode() {} 128 virtual void ToggleTabStripMode() {}
129 virtual void PrepareForInstant(); 129 virtual void PrepareForInstant();
130 virtual void ShowInstant(TabContentsWrapper* preview); 130 virtual void ShowInstant(TabContentsWrapper* preview);
131 virtual void HideInstant(bool instant_is_active); 131 virtual void HideInstant(bool instant_is_active);
132 virtual gfx::Rect GetInstantBounds(); 132 virtual gfx::Rect GetInstantBounds();
133 virtual WindowOpenDisposition GetDispositionForPopupBounds(
134 const gfx::Rect& bounds);
133 135
134 // Overridden from NotificationObserver: 136 // Overridden from NotificationObserver:
135 virtual void Observe(NotificationType type, 137 virtual void Observe(NotificationType type,
136 const NotificationSource& source, 138 const NotificationSource& source,
137 const NotificationDetails& details); 139 const NotificationDetails& details);
138 140
139 // Overridden from TabStripModelObserver: 141 // Overridden from TabStripModelObserver:
140 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); 142 virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
141 virtual void TabSelectedAt(TabContentsWrapper* old_contents, 143 virtual void TabSelectedAt(TabContentsWrapper* old_contents,
142 TabContentsWrapper* new_contents, 144 TabContentsWrapper* new_contents,
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 bool debounce_timer_disabled_; 517 bool debounce_timer_disabled_;
516 518
517 // The model that tracks the paint state of the arrow for the infobar 519 // The model that tracks the paint state of the arrow for the infobar
518 // directly below the toolbar. 520 // directly below the toolbar.
519 InfoBarArrowModel infobar_arrow_model_; 521 InfoBarArrowModel infobar_arrow_model_;
520 522
521 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 523 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
522 }; 524 };
523 525
524 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 526 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698