| 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; | 390 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; |
| 391 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; | 391 virtual void InfoBarContainerStateChanged(bool is_animating) OVERRIDE; |
| 392 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; | 392 virtual bool DrawInfoBarArrows(int* x) const OVERRIDE; |
| 393 | 393 |
| 394 // views::SingleSplitViewListener overrides: | 394 // views::SingleSplitViewListener overrides: |
| 395 virtual bool SplitHandleMoved(views::SingleSplitView* sender) OVERRIDE; | 395 virtual bool SplitHandleMoved(views::SingleSplitView* sender) OVERRIDE; |
| 396 | 396 |
| 397 // gfx::ScopedSysColorChangeListener overrides: | 397 // gfx::ScopedSysColorChangeListener overrides: |
| 398 virtual void OnSysColorChange() OVERRIDE; | 398 virtual void OnSysColorChange() OVERRIDE; |
| 399 | 399 |
| 400 // Returns the resource ID to use for the OTR icon, which depends on | |
| 401 // which layout is being shown and whether we are full-screen. | |
| 402 int GetOTRIconResourceID() const; | |
| 403 | |
| 404 protected: | 400 protected: |
| 405 // Appends to |toolbars| a pointer to each AccessiblePaneView that | 401 // Appends to |toolbars| a pointer to each AccessiblePaneView that |
| 406 // can be traversed using F6, in the order they should be traversed. | 402 // can be traversed using F6, in the order they should be traversed. |
| 407 // Abstracted here so that it can be extended for Chrome OS. | 403 // Abstracted here so that it can be extended for Chrome OS. |
| 408 virtual void GetAccessiblePanes( | 404 virtual void GetAccessiblePanes( |
| 409 std::vector<views::AccessiblePaneView*>* panes); | 405 std::vector<views::AccessiblePaneView*>* panes); |
| 410 | 406 |
| 411 int last_focused_view_storage_id() const { | 407 int last_focused_view_storage_id() const { |
| 412 return last_focused_view_storage_id_; | 408 return last_focused_view_storage_id_; |
| 413 } | 409 } |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 bool force_location_bar_focus_; | 683 bool force_location_bar_focus_; |
| 688 | 684 |
| 689 PendingFullscreenRequest fullscreen_request_; | 685 PendingFullscreenRequest fullscreen_request_; |
| 690 | 686 |
| 691 gfx::ScopedSysColorChangeListener color_change_listener_; | 687 gfx::ScopedSysColorChangeListener color_change_listener_; |
| 692 | 688 |
| 693 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 689 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 694 }; | 690 }; |
| 695 | 691 |
| 696 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 692 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |