| 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_CHROMEOS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 gfx::Rect* bounds, | 72 gfx::Rect* bounds, |
| 73 ui::WindowShowState* show_state) const OVERRIDE; | 73 ui::WindowShowState* show_state) const OVERRIDE; |
| 74 virtual void Cut() OVERRIDE; | 74 virtual void Cut() OVERRIDE; |
| 75 virtual void Copy() OVERRIDE; | 75 virtual void Copy() OVERRIDE; |
| 76 virtual void Paste() OVERRIDE; | 76 virtual void Paste() OVERRIDE; |
| 77 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 77 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 78 const gfx::Rect& bounds) OVERRIDE; | 78 const gfx::Rect& bounds) OVERRIDE; |
| 79 | 79 |
| 80 // views::ContextMenuController implementation. | 80 // views::ContextMenuController implementation. |
| 81 virtual void ShowContextMenuForView(views::View* source, | 81 virtual void ShowContextMenuForView(views::View* source, |
| 82 const gfx::Point& p, | 82 const gfx::Point& point) OVERRIDE; |
| 83 bool is_mouse_gesture) OVERRIDE; | |
| 84 | 83 |
| 85 // views::MenuListener implementation. | 84 // views::MenuListener implementation. |
| 86 virtual void OnMenuOpened() OVERRIDE; | 85 virtual void OnMenuOpened() OVERRIDE; |
| 87 | 86 |
| 88 // BrowserList::Observer implementation. | 87 // BrowserList::Observer implementation. |
| 89 virtual void OnBrowserAdded(const Browser* browser) OVERRIDE; | 88 virtual void OnBrowserAdded(const Browser* browser) OVERRIDE; |
| 90 virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE; | 89 virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE; |
| 91 | 90 |
| 92 // StatusAreaButton::Delegate overrides. | 91 // StatusAreaButton::Delegate overrides. |
| 93 virtual bool ShouldExecuteStatusAreaCommand( | 92 virtual bool ShouldExecuteStatusAreaCommand( |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 // Should the layout mode button be shown? We only show it if there are | 153 // Should the layout mode button be shown? We only show it if there are |
| 155 // multiple browsers open. | 154 // multiple browsers open. |
| 156 bool should_show_layout_mode_button_; | 155 bool should_show_layout_mode_button_; |
| 157 | 156 |
| 158 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 157 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 159 }; | 158 }; |
| 160 | 159 |
| 161 } // namespace chromeos | 160 } // namespace chromeos |
| 162 | 161 |
| 163 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ | 162 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |