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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 void DestroyBrowser() override; | 301 void DestroyBrowser() override; |
302 bool IsBookmarkBarVisible() const override; | 302 bool IsBookmarkBarVisible() const override; |
303 bool IsBookmarkBarAnimating() const override; | 303 bool IsBookmarkBarAnimating() const override; |
304 bool IsTabStripEditable() const override; | 304 bool IsTabStripEditable() const override; |
305 bool IsToolbarVisible() const override; | 305 bool IsToolbarVisible() const override; |
306 gfx::Rect GetRootWindowResizerRect() const override; | 306 gfx::Rect GetRootWindowResizerRect() const override; |
307 void ConfirmAddSearchProvider(TemplateURL* template_url, | 307 void ConfirmAddSearchProvider(TemplateURL* template_url, |
308 Profile* profile) override; | 308 Profile* profile) override; |
309 void ShowUpdateChromeDialog() override; | 309 void ShowUpdateChromeDialog() override; |
310 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; | 310 void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) override; |
311 void ShowBookmarkAppBubble(const WebApplicationInfo& web_app_info, | 311 void ShowBookmarkAppBubble( |
312 const std::string& extension_id) override; | 312 const WebApplicationInfo& web_app_info, |
| 313 const ShowBookmarkAppBubbleCallback& callback) override; |
313 void ShowTranslateBubble(content::WebContents* contents, | 314 void ShowTranslateBubble(content::WebContents* contents, |
314 translate::TranslateStep step, | 315 translate::TranslateStep step, |
315 translate::TranslateErrors::Type error_type, | 316 translate::TranslateErrors::Type error_type, |
316 bool is_user_gesture) override; | 317 bool is_user_gesture) override; |
317 bool ShowSessionCrashedBubble() override; | 318 bool ShowSessionCrashedBubble() override; |
318 bool IsProfileResetBubbleSupported() const override; | 319 bool IsProfileResetBubbleSupported() const override; |
319 GlobalErrorBubbleViewBase* ShowProfileResetBubble( | 320 GlobalErrorBubbleViewBase* ShowProfileResetBubble( |
320 const base::WeakPtr<ProfileResetGlobalError>& global_error) override; | 321 const base::WeakPtr<ProfileResetGlobalError>& global_error) override; |
321 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 322 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
322 void ShowOneClickSigninBubble( | 323 void ShowOneClickSigninBubble( |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; | 698 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; |
698 | 699 |
699 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; | 700 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; |
700 | 701 |
701 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 702 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
702 | 703 |
703 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 704 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
704 }; | 705 }; |
705 | 706 |
706 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 707 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |