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

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

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 2 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
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_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/application_lifetime.h" 9 #include "chrome/browser/lifetime/application_lifetime.h"
10 #include "chrome/browser/ui/base_window.h" 10 #include "chrome/browser/ui/base_window.h"
(...skipping 18 matching lines...) Expand all
29 #if !defined(OS_MACOSX) 29 #if !defined(OS_MACOSX)
30 class ToolbarView; 30 class ToolbarView;
31 #endif 31 #endif
32 32
33 namespace autofill { 33 namespace autofill {
34 class PasswordGenerator; 34 class PasswordGenerator;
35 } 35 }
36 namespace content { 36 namespace content {
37 class WebContents; 37 class WebContents;
38 struct NativeWebKeyboardEvent; 38 struct NativeWebKeyboardEvent;
39 struct PasswordForm;
39 struct SSLStatus; 40 struct SSLStatus;
40 } 41 }
41 42
42 namespace extensions { 43 namespace extensions {
43 class Extension; 44 class Extension;
44 } 45 }
45 46
46 namespace gfx { 47 namespace gfx {
47 class Rect; 48 class Rect;
48 class Size; 49 class Size;
49 } 50 }
50 51
51 namespace webkit {
52 namespace forms {
53 struct PasswordForm;
54 }
55 }
56
57 enum DevToolsDockSide { 52 enum DevToolsDockSide {
58 DEVTOOLS_DOCK_SIDE_BOTTOM = 0, 53 DEVTOOLS_DOCK_SIDE_BOTTOM = 0,
59 DEVTOOLS_DOCK_SIDE_RIGHT = 1 54 DEVTOOLS_DOCK_SIDE_RIGHT = 1
60 }; 55 };
61 56
62 //////////////////////////////////////////////////////////////////////////////// 57 ////////////////////////////////////////////////////////////////////////////////
63 // BrowserWindow interface 58 // BrowserWindow interface
64 // An interface implemented by the "view" of the Browser window. 59 // An interface implemented by the "view" of the Browser window.
65 // This interface includes BaseWindow methods as well as Browser window 60 // This interface includes BaseWindow methods as well as Browser window
66 // specific methods. 61 // specific methods.
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 virtual void ShowAvatarBubbleFromAvatarButton() = 0; 366 virtual void ShowAvatarBubbleFromAvatarButton() = 0;
372 367
373 // Show bubble for password generation positioned relative to |rect|. The 368 // Show bubble for password generation positioned relative to |rect|. The
374 // subclasses implementing this interface do not own the |password_generator| 369 // subclasses implementing this interface do not own the |password_generator|
375 // object which is passed to generate the password. |form| is the form that 370 // object which is passed to generate the password. |form| is the form that
376 // contains the password field that the bubble will be associated with. A 371 // contains the password field that the bubble will be associated with. A
377 // stub implementation is provided since this feature is currently not 372 // stub implementation is provided since this feature is currently not
378 // available on mac. 373 // available on mac.
379 virtual void ShowPasswordGenerationBubble( 374 virtual void ShowPasswordGenerationBubble(
380 const gfx::Rect& rect, 375 const gfx::Rect& rect,
381 const webkit::forms::PasswordForm& form, 376 const content::PasswordForm& form,
382 autofill::PasswordGenerator* password_generator) {} 377 autofill::PasswordGenerator* password_generator) {}
383 378
384 protected: 379 protected:
385 friend void browser::CloseAllBrowsers(); 380 friend void browser::CloseAllBrowsers();
386 friend class BrowserView; 381 friend class BrowserView;
387 virtual void DestroyBrowser() = 0; 382 virtual void DestroyBrowser() = 0;
388 }; 383 };
389 384
390 #if defined(OS_WIN) || defined(TOOLKIT_VIEWS) 385 #if defined(OS_WIN) || defined(TOOLKIT_VIEWS)
391 class BookmarkBarView; 386 class BookmarkBarView;
(...skipping 20 matching lines...) Expand all
412 407
413 // Returns the ToolbarView. 408 // Returns the ToolbarView.
414 virtual ToolbarView* GetToolbarView() const = 0; 409 virtual ToolbarView* GetToolbarView() const = 0;
415 #endif 410 #endif
416 411
417 protected: 412 protected:
418 virtual ~BrowserWindowTesting() {} 413 virtual ~BrowserWindowTesting() {}
419 }; 414 };
420 415
421 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 416 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc ('k') | chrome/browser/ui/cocoa/login_prompt_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698