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

Side by Side Diff: chrome/browser/ui/browser_window.h

Issue 538173002: [Password Generation] Remove old UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/lifetime/browser_close_manager.h" 9 #include "chrome/browser/lifetime/browser_close_manager.h"
10 #include "chrome/browser/signin/signin_header_helper.h" 10 #include "chrome/browser/signin/signin_header_helper.h"
(...skipping 14 matching lines...) Expand all
25 class DownloadShelf; 25 class DownloadShelf;
26 class FindBar; 26 class FindBar;
27 class GURL; 27 class GURL;
28 class LocationBar; 28 class LocationBar;
29 class Profile; 29 class Profile;
30 class StatusBubble; 30 class StatusBubble;
31 class TemplateURL; 31 class TemplateURL;
32 32
33 struct WebApplicationInfo; 33 struct WebApplicationInfo;
34 34
35 namespace autofill {
36 class PasswordGenerator;
37 struct PasswordForm;
38 }
39 namespace content { 35 namespace content {
40 class WebContents; 36 class WebContents;
41 struct NativeWebKeyboardEvent; 37 struct NativeWebKeyboardEvent;
42 struct SSLStatus; 38 struct SSLStatus;
43 } 39 }
44 40
45 namespace extensions { 41 namespace extensions {
46 class Command; 42 class Command;
47 class Extension; 43 class Extension;
48 } 44 }
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT, 369 AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT,
374 AVATAR_BUBBLE_MODE_SIGNIN, 370 AVATAR_BUBBLE_MODE_SIGNIN,
375 AVATAR_BUBBLE_MODE_ADD_ACCOUNT, 371 AVATAR_BUBBLE_MODE_ADD_ACCOUNT,
376 AVATAR_BUBBLE_MODE_REAUTH, 372 AVATAR_BUBBLE_MODE_REAUTH,
377 AVATAR_BUBBLE_MODE_CONFIRM_SIGNIN, 373 AVATAR_BUBBLE_MODE_CONFIRM_SIGNIN,
378 AVATAR_BUBBLE_MODE_SHOW_ERROR, 374 AVATAR_BUBBLE_MODE_SHOW_ERROR,
379 }; 375 };
380 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode, 376 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode,
381 const signin::ManageAccountsParams& manage_accounts_params) = 0; 377 const signin::ManageAccountsParams& manage_accounts_params) = 0;
382 378
383 // Show bubble for password generation positioned relative to |rect|. The
384 // subclasses implementing this interface do not own the |password_generator|
385 // object which is passed to generate the password. |form| is the form that
386 // contains the password field that the bubble will be associated with.
387 virtual void ShowPasswordGenerationBubble(
388 const gfx::Rect& rect,
389 const autofill::PasswordForm& form,
390 autofill::PasswordGenerator* password_generator) = 0;
391
392 // Invoked when the amount of vertical overscroll changes. |delta_y| is the 379 // Invoked when the amount of vertical overscroll changes. |delta_y| is the
393 // amount of overscroll that has occured in the y-direction. 380 // amount of overscroll that has occured in the y-direction.
394 virtual void OverscrollUpdate(int delta_y) {} 381 virtual void OverscrollUpdate(int delta_y) {}
395 382
396 // Returns the height inset for RenderView when detached bookmark bar is 383 // Returns the height inset for RenderView when detached bookmark bar is
397 // shown. Invoked when a new RenderHostView is created for a non-NTP 384 // shown. Invoked when a new RenderHostView is created for a non-NTP
398 // navigation entry and the bookmark bar is detached. 385 // navigation entry and the bookmark bar is detached.
399 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() = 0; 386 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() = 0;
400 387
401 // Executes |command| registered by |extension|. 388 // Executes |command| registered by |extension|.
402 virtual void ExecuteExtensionCommand(const extensions::Extension* extension, 389 virtual void ExecuteExtensionCommand(const extensions::Extension* extension,
403 const extensions::Command& command) = 0; 390 const extensions::Command& command) = 0;
404 391
405 protected: 392 protected:
406 friend class BrowserCloseManager; 393 friend class BrowserCloseManager;
407 friend class BrowserView; 394 friend class BrowserView;
408 virtual void DestroyBrowser() = 0; 395 virtual void DestroyBrowser() = 0;
409 }; 396 };
410 397
411 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 398 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698