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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 virtual bool IsToolbarVisible() const OVERRIDE; | 314 virtual bool IsToolbarVisible() const OVERRIDE; |
315 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 315 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
316 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, | 316 virtual void ConfirmAddSearchProvider(TemplateURL* template_url, |
317 Profile* profile) OVERRIDE; | 317 Profile* profile) OVERRIDE; |
318 virtual void ShowUpdateChromeDialog() OVERRIDE; | 318 virtual void ShowUpdateChromeDialog() OVERRIDE; |
319 virtual void ShowBookmarkBubble(const GURL& url, | 319 virtual void ShowBookmarkBubble(const GURL& url, |
320 bool already_bookmarked) OVERRIDE; | 320 bool already_bookmarked) OVERRIDE; |
321 virtual void ShowBookmarkAppBubble( | 321 virtual void ShowBookmarkAppBubble( |
322 const WebApplicationInfo& web_app_info, | 322 const WebApplicationInfo& web_app_info, |
323 const std::string& extension_id) OVERRIDE; | 323 const std::string& extension_id) OVERRIDE; |
324 virtual void ShowTranslateBubble(content::WebContents* contents, | 324 virtual void ShowTranslateBubble( |
325 translate::TranslateStep step, | 325 content::WebContents* contents, |
326 TranslateErrors::Type error_type) OVERRIDE; | 326 translate::TranslateStep step, |
| 327 translate::TranslateErrors::Type error_type) OVERRIDE; |
327 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 328 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
328 virtual void ShowOneClickSigninBubble( | 329 virtual void ShowOneClickSigninBubble( |
329 OneClickSigninBubbleType type, | 330 OneClickSigninBubbleType type, |
330 const base::string16& email, | 331 const base::string16& email, |
331 const base::string16& error_message, | 332 const base::string16& error_message, |
332 const StartSyncCallback& start_sync_callback) OVERRIDE; | 333 const StartSyncCallback& start_sync_callback) OVERRIDE; |
333 #endif | 334 #endif |
334 // TODO(beng): Not an override, move somewhere else. | 335 // TODO(beng): Not an override, move somewhere else. |
335 void SetDownloadShelfVisible(bool visible); | 336 void SetDownloadShelfVisible(bool visible); |
336 virtual bool IsDownloadShelfVisible() const OVERRIDE; | 337 virtual bool IsDownloadShelfVisible() const OVERRIDE; |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; | 721 scoped_ptr<ScrollEndEffectController> scroll_end_effect_controller_; |
721 | 722 |
722 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; | 723 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; |
723 | 724 |
724 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 725 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
725 | 726 |
726 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 727 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
727 }; | 728 }; |
728 | 729 |
729 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 730 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |