OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 virtual void Paste() OVERRIDE; | 161 virtual void Paste() OVERRIDE; |
162 virtual void ShowInstant(TabContents* preview, | 162 virtual void ShowInstant(TabContents* preview, |
163 int height, | 163 int height, |
164 InstantSizeUnits units) OVERRIDE; | 164 InstantSizeUnits units) OVERRIDE; |
165 virtual void HideInstant() OVERRIDE; | 165 virtual void HideInstant() OVERRIDE; |
166 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 166 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
167 virtual bool IsInstantTabShowing() OVERRIDE; | 167 virtual bool IsInstantTabShowing() OVERRIDE; |
168 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 168 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
169 const gfx::Rect& bounds) OVERRIDE; | 169 const gfx::Rect& bounds) OVERRIDE; |
170 virtual FindBar* CreateFindBar() OVERRIDE; | 170 virtual FindBar* CreateFindBar() OVERRIDE; |
| 171 virtual int GetConstrainedWindowTopY() OVERRIDE; |
171 virtual void ShowAvatarBubble(content::WebContents* web_contents, | 172 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
172 const gfx::Rect& rect) OVERRIDE; | 173 const gfx::Rect& rect) OVERRIDE; |
173 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; | 174 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; |
174 virtual void ShowPasswordGenerationBubble( | 175 virtual void ShowPasswordGenerationBubble( |
175 const gfx::Rect& rect, | 176 const gfx::Rect& rect, |
176 const webkit::forms::PasswordForm& form, | 177 const webkit::forms::PasswordForm& form, |
177 autofill::PasswordGenerator* password_generator) OVERRIDE; | 178 autofill::PasswordGenerator* password_generator) OVERRIDE; |
178 | 179 |
179 // Overridden from NotificationObserver: | 180 // Overridden from NotificationObserver: |
180 virtual void Observe(int type, | 181 virtual void Observe(int type, |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 549 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
549 | 550 |
550 FullscreenExitBubbleType fullscreen_exit_bubble_type_; | 551 FullscreenExitBubbleType fullscreen_exit_bubble_type_; |
551 | 552 |
552 content::NotificationRegistrar registrar_; | 553 content::NotificationRegistrar registrar_; |
553 | 554 |
554 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 555 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
555 }; | 556 }; |
556 | 557 |
557 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 558 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |