| 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_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 void MoveContents(content::WebContents* source, | 592 void MoveContents(content::WebContents* source, |
| 593 const gfx::Rect& pos) override; | 593 const gfx::Rect& pos) override; |
| 594 bool IsPopupOrPanel(const content::WebContents* source) const override; | 594 bool IsPopupOrPanel(const content::WebContents* source) const override; |
| 595 void UpdateTargetURL(content::WebContents* source, const GURL& url) override; | 595 void UpdateTargetURL(content::WebContents* source, const GURL& url) override; |
| 596 void ContentsMouseEvent(content::WebContents* source, | 596 void ContentsMouseEvent(content::WebContents* source, |
| 597 const gfx::Point& location, | 597 const gfx::Point& location, |
| 598 bool motion, | 598 bool motion, |
| 599 bool exited) override; | 599 bool exited) override; |
| 600 void ContentsZoomChange(bool zoom_in) override; | 600 void ContentsZoomChange(bool zoom_in) override; |
| 601 bool TakeFocus(content::WebContents* source, bool reverse) override; | 601 bool TakeFocus(content::WebContents* source, bool reverse) override; |
| 602 gfx::Rect GetRootWindowResizerRect() const override; | |
| 603 void BeforeUnloadFired(content::WebContents* source, | 602 void BeforeUnloadFired(content::WebContents* source, |
| 604 bool proceed, | 603 bool proceed, |
| 605 bool* proceed_to_fire_unload) override; | 604 bool* proceed_to_fire_unload) override; |
| 606 bool ShouldFocusLocationBarByDefault(content::WebContents* source) override; | 605 bool ShouldFocusLocationBarByDefault(content::WebContents* source) override; |
| 607 void ViewSourceForTab(content::WebContents* source, | 606 void ViewSourceForTab(content::WebContents* source, |
| 608 const GURL& page_url) override; | 607 const GURL& page_url) override; |
| 609 void ViewSourceForFrame(content::WebContents* source, | 608 void ViewSourceForFrame(content::WebContents* source, |
| 610 const GURL& frame_url, | 609 const GURL& frame_url, |
| 611 const content::PageState& frame_page_state) override; | 610 const content::PageState& frame_page_state) override; |
| 612 void ShowRepostFormWarningDialog(content::WebContents* source) override; | 611 void ShowRepostFormWarningDialog(content::WebContents* source) override; |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1009 // The following factory is used for chrome update coalescing. | 1008 // The following factory is used for chrome update coalescing. |
| 1010 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 1009 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
| 1011 | 1010 |
| 1012 // The following factory is used to close the frame at a later time. | 1011 // The following factory is used to close the frame at a later time. |
| 1013 base::WeakPtrFactory<Browser> weak_factory_; | 1012 base::WeakPtrFactory<Browser> weak_factory_; |
| 1014 | 1013 |
| 1015 DISALLOW_COPY_AND_ASSIGN(Browser); | 1014 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1016 }; | 1015 }; |
| 1017 | 1016 |
| 1018 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1017 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |