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

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

Issue 10458018: This CL does the following: (1) Pass the max_length attribute to the password generator; (2) Update… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a windows UI bug. Created 8 years, 6 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/browser_window.h ('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) 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 22 matching lines...) Expand all
33 class ExtensionKeybindingRegistryGtk; 33 class ExtensionKeybindingRegistryGtk;
34 class FindBarGtk; 34 class FindBarGtk;
35 class FullscreenExitBubbleGtk; 35 class FullscreenExitBubbleGtk;
36 class GlobalMenuBar; 36 class GlobalMenuBar;
37 class InfoBarContainerGtk; 37 class InfoBarContainerGtk;
38 class LocationBar; 38 class LocationBar;
39 class StatusBubbleGtk; 39 class StatusBubbleGtk;
40 class TabContentsContainerGtk; 40 class TabContentsContainerGtk;
41 class TabStripGtk; 41 class TabStripGtk;
42 42
43 namespace autofill {
44 class PasswordGenerator;
45 }
46
43 namespace extensions { 47 namespace extensions {
44 class Extension; 48 class Extension;
45 } 49 }
46 50
47 // An implementation of BrowserWindow for GTK. 51 // An implementation of BrowserWindow for GTK.
48 // Cross-platform code will interact with this object when 52 // Cross-platform code will interact with this object when
49 // it needs to manipulate the window. 53 // it needs to manipulate the window.
50 54
51 class BrowserWindowGtk : public BrowserWindow, 55 class BrowserWindowGtk : public BrowserWindow,
52 public content::NotificationObserver, 56 public content::NotificationObserver,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 virtual void HideInstant() OVERRIDE; 171 virtual void HideInstant() OVERRIDE;
168 virtual gfx::Rect GetInstantBounds() OVERRIDE; 172 virtual gfx::Rect GetInstantBounds() OVERRIDE;
169 virtual WindowOpenDisposition GetDispositionForPopupBounds( 173 virtual WindowOpenDisposition GetDispositionForPopupBounds(
170 const gfx::Rect& bounds) OVERRIDE; 174 const gfx::Rect& bounds) OVERRIDE;
171 virtual FindBar* CreateFindBar() OVERRIDE; 175 virtual FindBar* CreateFindBar() OVERRIDE;
172 virtual void ShowAvatarBubble(content::WebContents* web_contents, 176 virtual void ShowAvatarBubble(content::WebContents* web_contents,
173 const gfx::Rect& rect) OVERRIDE; 177 const gfx::Rect& rect) OVERRIDE;
174 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; 178 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE;
175 virtual void ShowPasswordGenerationBubble( 179 virtual void ShowPasswordGenerationBubble(
176 const gfx::Rect& rect, 180 const gfx::Rect& rect,
181 autofill::PasswordGenerator* password_generator,
177 const webkit::forms::PasswordForm& form) OVERRIDE; 182 const webkit::forms::PasswordForm& form) OVERRIDE;
178 183
179 // Overridden from NotificationObserver: 184 // Overridden from NotificationObserver:
180 virtual void Observe(int type, 185 virtual void Observe(int type,
181 const content::NotificationSource& source, 186 const content::NotificationSource& source,
182 const content::NotificationDetails& details) OVERRIDE; 187 const content::NotificationDetails& details) OVERRIDE;
183 188
184 // Overridden from TabStripModelObserver: 189 // Overridden from TabStripModelObserver:
185 virtual void TabDetachedAt(TabContentsWrapper* contents, int index) OVERRIDE; 190 virtual void TabDetachedAt(TabContentsWrapper* contents, int index) OVERRIDE;
186 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, 191 virtual void ActiveTabChanged(TabContentsWrapper* old_contents,
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 576 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
572 577
573 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 578 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
574 579
575 content::NotificationRegistrar registrar_; 580 content::NotificationRegistrar registrar_;
576 581
577 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 582 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
578 }; 583 };
579 584
580 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 585 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698