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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 virtual void Cut() OVERRIDE; | 156 virtual void Cut() OVERRIDE; |
157 virtual void Copy() OVERRIDE; | 157 virtual void Copy() OVERRIDE; |
158 virtual void Paste() OVERRIDE; | 158 virtual void Paste() OVERRIDE; |
159 virtual void ShowInstant(TabContents* preview) OVERRIDE; | 159 virtual void ShowInstant(TabContents* preview) OVERRIDE; |
160 virtual void HideInstant() OVERRIDE; | 160 virtual void HideInstant() OVERRIDE; |
161 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 161 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
162 virtual bool IsInstantTabShowing() OVERRIDE; | 162 virtual bool IsInstantTabShowing() OVERRIDE; |
163 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 163 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
164 const gfx::Rect& bounds) OVERRIDE; | 164 const gfx::Rect& bounds) OVERRIDE; |
165 virtual FindBar* CreateFindBar() OVERRIDE; | 165 virtual FindBar* CreateFindBar() OVERRIDE; |
| 166 virtual int GetConstrainedWindowTopY() OVERRIDE; |
166 virtual void ShowAvatarBubble(content::WebContents* web_contents, | 167 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
167 const gfx::Rect& rect) OVERRIDE; | 168 const gfx::Rect& rect) OVERRIDE; |
168 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; | 169 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; |
169 virtual void ShowPasswordGenerationBubble( | 170 virtual void ShowPasswordGenerationBubble( |
170 const gfx::Rect& rect, | 171 const gfx::Rect& rect, |
171 const webkit::forms::PasswordForm& form, | 172 const webkit::forms::PasswordForm& form, |
172 autofill::PasswordGenerator* password_generator) OVERRIDE; | 173 autofill::PasswordGenerator* password_generator) OVERRIDE; |
173 | 174 |
174 // Overridden from NotificationObserver: | 175 // Overridden from NotificationObserver: |
175 virtual void Observe(int type, | 176 virtual void Observe(int type, |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 562 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
562 | 563 |
563 FullscreenExitBubbleType fullscreen_exit_bubble_type_; | 564 FullscreenExitBubbleType fullscreen_exit_bubble_type_; |
564 | 565 |
565 content::NotificationRegistrar registrar_; | 566 content::NotificationRegistrar registrar_; |
566 | 567 |
567 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 568 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
568 }; | 569 }; |
569 | 570 |
570 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 571 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |