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_VIEWS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 } | 68 } |
69 | 69 |
70 namespace content { | 70 namespace content { |
71 class RenderFrameHost; | 71 class RenderFrameHost; |
72 } | 72 } |
73 | 73 |
74 namespace extensions { | 74 namespace extensions { |
75 class Extension; | 75 class Extension; |
76 } | 76 } |
77 | 77 |
78 namespace signin { | |
79 enum GAIA_SERVICE_TYPE; | |
sky
2014/05/23 19:55:22
I didn't think you could forward declare enums.
Mike Lerman
2014/05/23 20:13:04
Should I not? I would otherwise import the signin_
| |
80 } | |
81 | |
78 namespace views { | 82 namespace views { |
79 class AccessiblePaneView; | 83 class AccessiblePaneView; |
80 class ExternalFocusTracker; | 84 class ExternalFocusTracker; |
81 class WebView; | 85 class WebView; |
82 } | 86 } |
83 | 87 |
84 /////////////////////////////////////////////////////////////////////////////// | 88 /////////////////////////////////////////////////////////////////////////////// |
85 // BrowserView | 89 // BrowserView |
86 // | 90 // |
87 // A ClientView subclass that provides the contents of a browser window, | 91 // A ClientView subclass that provides the contents of a browser window, |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
354 virtual void Cut() OVERRIDE; | 358 virtual void Cut() OVERRIDE; |
355 virtual void Copy() OVERRIDE; | 359 virtual void Copy() OVERRIDE; |
356 virtual void Paste() OVERRIDE; | 360 virtual void Paste() OVERRIDE; |
357 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 361 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
358 const gfx::Rect& bounds) OVERRIDE; | 362 const gfx::Rect& bounds) OVERRIDE; |
359 virtual FindBar* CreateFindBar() OVERRIDE; | 363 virtual FindBar* CreateFindBar() OVERRIDE; |
360 virtual web_modal::WebContentsModalDialogHost* | 364 virtual web_modal::WebContentsModalDialogHost* |
361 GetWebContentsModalDialogHost() OVERRIDE; | 365 GetWebContentsModalDialogHost() OVERRIDE; |
362 virtual void ShowAvatarBubble(content::WebContents* web_contents, | 366 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
363 const gfx::Rect& rect) OVERRIDE; | 367 const gfx::Rect& rect) OVERRIDE; |
364 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode) OVERRIDE; | 368 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode, |
369 signin::GAIA_SERVICE_TYPE service_type) OVERRIDE; | |
365 virtual void ShowPasswordGenerationBubble( | 370 virtual void ShowPasswordGenerationBubble( |
366 const gfx::Rect& rect, | 371 const gfx::Rect& rect, |
367 const autofill::PasswordForm& form, | 372 const autofill::PasswordForm& form, |
368 autofill::PasswordGenerator* password_generator) OVERRIDE; | 373 autofill::PasswordGenerator* password_generator) OVERRIDE; |
369 virtual void OverscrollUpdate(int delta_y) OVERRIDE; | 374 virtual void OverscrollUpdate(int delta_y) OVERRIDE; |
370 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; | 375 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; |
371 virtual void ExecuteExtensionCommand( | 376 virtual void ExecuteExtensionCommand( |
372 const extensions::Extension* extension, | 377 const extensions::Extension* extension, |
373 const extensions::Command& command) OVERRIDE; | 378 const extensions::Command& command) OVERRIDE; |
374 virtual void ShowPageActionPopup( | 379 virtual void ShowPageActionPopup( |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
721 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; | 726 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; |
722 | 727 |
723 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; | 728 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; |
724 | 729 |
725 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 730 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
726 | 731 |
727 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 732 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
728 }; | 733 }; |
729 | 734 |
730 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 735 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |