| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 | 545 |
| 546 // Exposes resize corner size to BrowserViewLayout. | 546 // Exposes resize corner size to BrowserViewLayout. |
| 547 gfx::Size GetResizeCornerSize() const; | 547 gfx::Size GetResizeCornerSize() const; |
| 548 | 548 |
| 549 // Shows the about chrome modal dialog and returns the Window object. | 549 // Shows the about chrome modal dialog and returns the Window object. |
| 550 views::Widget* DoShowAboutChromeDialog(); | 550 views::Widget* DoShowAboutChromeDialog(); |
| 551 | 551 |
| 552 // Set the value of |toolbar_| and hook it into the views hierarchy | 552 // Set the value of |toolbar_| and hook it into the views hierarchy |
| 553 void SetToolbar(ToolbarView* toolbar); | 553 void SetToolbar(ToolbarView* toolbar); |
| 554 | 554 |
| 555 // Create an icon for this window in the launcher (currently only for Ash). |
| 556 void CreateLauncherIcon(); |
| 557 |
| 555 // Last focused view that issued a tab traversal. | 558 // Last focused view that issued a tab traversal. |
| 556 int last_focused_view_storage_id_; | 559 int last_focused_view_storage_id_; |
| 557 | 560 |
| 558 // The BrowserFrame that hosts this view. | 561 // The BrowserFrame that hosts this view. |
| 559 BrowserFrame* frame_; | 562 BrowserFrame* frame_; |
| 560 | 563 |
| 561 // The Browser object we are associated with. | 564 // The Browser object we are associated with. |
| 562 scoped_ptr<Browser> browser_; | 565 scoped_ptr<Browser> browser_; |
| 563 | 566 |
| 564 // BrowserView layout (LTR one is pictured here). | 567 // BrowserView layout (LTR one is pictured here). |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 bool force_location_bar_focus_; | 709 bool force_location_bar_focus_; |
| 707 | 710 |
| 708 PendingFullscreenRequest fullscreen_request_; | 711 PendingFullscreenRequest fullscreen_request_; |
| 709 | 712 |
| 710 BrowserWindowMoveObserver* move_observer_; | 713 BrowserWindowMoveObserver* move_observer_; |
| 711 | 714 |
| 712 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 715 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 713 }; | 716 }; |
| 714 | 717 |
| 715 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 718 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |