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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 virtual void Paste() OVERRIDE; | 163 virtual void Paste() OVERRIDE; |
164 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; | 164 virtual void ShowInstant(TabContentsWrapper* preview) 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 WindowOpenDisposition GetDispositionForPopupBounds( | 167 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
168 const gfx::Rect& bounds) OVERRIDE; | 168 const gfx::Rect& bounds) OVERRIDE; |
169 virtual FindBar* CreateFindBar() OVERRIDE; | 169 virtual FindBar* CreateFindBar() OVERRIDE; |
170 virtual void ShowAvatarBubble(content::WebContents* web_contents, | 170 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
171 const gfx::Rect& rect) OVERRIDE; | 171 const gfx::Rect& rect) OVERRIDE; |
172 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; | 172 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; |
173 virtual void ShowPasswordGenerationBubble(const gfx::Rect& rect) OVERRIDE; | 173 virtual void ShowPasswordGenerationBubble(const gfx::Rect& rect, |
| 174 int max_length) OVERRIDE; |
174 | 175 |
175 // Overridden from NotificationObserver: | 176 // Overridden from NotificationObserver: |
176 virtual void Observe(int type, | 177 virtual void Observe(int type, |
177 const content::NotificationSource& source, | 178 const content::NotificationSource& source, |
178 const content::NotificationDetails& details) OVERRIDE; | 179 const content::NotificationDetails& details) OVERRIDE; |
179 | 180 |
180 // Overridden from TabStripModelObserver: | 181 // Overridden from TabStripModelObserver: |
181 virtual void TabDetachedAt(TabContentsWrapper* contents, int index) OVERRIDE; | 182 virtual void TabDetachedAt(TabContentsWrapper* contents, int index) OVERRIDE; |
182 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, | 183 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, |
183 TabContentsWrapper* new_contents, | 184 TabContentsWrapper* new_contents, |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; | 568 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; |
568 | 569 |
569 FullscreenExitBubbleType fullscreen_exit_bubble_type_; | 570 FullscreenExitBubbleType fullscreen_exit_bubble_type_; |
570 | 571 |
571 content::NotificationRegistrar registrar_; | 572 content::NotificationRegistrar registrar_; |
572 | 573 |
573 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); | 574 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); |
574 }; | 575 }; |
575 | 576 |
576 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ | 577 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |