Chromium Code Reviews| 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; | |
|
sky
2012/06/11 18:24:14
Otr -> OTR
Jói
2012/06/11 22:53:42
Done.
| |
| 403 | |
| 400 protected: | 404 protected: |
| 401 // Appends to |toolbars| a pointer to each AccessiblePaneView that | 405 // Appends to |toolbars| a pointer to each AccessiblePaneView that |
| 402 // can be traversed using F6, in the order they should be traversed. | 406 // can be traversed using F6, in the order they should be traversed. |
| 403 // Abstracted here so that it can be extended for Chrome OS. | 407 // Abstracted here so that it can be extended for Chrome OS. |
| 404 virtual void GetAccessiblePanes( | 408 virtual void GetAccessiblePanes( |
| 405 std::vector<views::AccessiblePaneView*>* panes); | 409 std::vector<views::AccessiblePaneView*>* panes); |
| 406 | 410 |
| 407 int last_focused_view_storage_id() const { | 411 int last_focused_view_storage_id() const { |
| 408 return last_focused_view_storage_id_; | 412 return last_focused_view_storage_id_; |
| 409 } | 413 } |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 683 bool force_location_bar_focus_; | 687 bool force_location_bar_focus_; |
| 684 | 688 |
| 685 PendingFullscreenRequest fullscreen_request_; | 689 PendingFullscreenRequest fullscreen_request_; |
| 686 | 690 |
| 687 gfx::ScopedSysColorChangeListener color_change_listener_; | 691 gfx::ScopedSysColorChangeListener color_change_listener_; |
| 688 | 692 |
| 689 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 693 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 690 }; | 694 }; |
| 691 | 695 |
| 692 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 696 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |