| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual void Init(); | 50 virtual void Init(); |
| 51 virtual void Show(); | 51 virtual void Show(); |
| 52 virtual void ShowInactive(); | 52 virtual void ShowInactive(); |
| 53 virtual void FocusChromeOSStatus(); | 53 virtual void FocusChromeOSStatus(); |
| 54 virtual views::LayoutManager* CreateLayoutManager() const; | 54 virtual views::LayoutManager* CreateLayoutManager() const; |
| 55 virtual void ChildPreferredSizeChanged(View* child); | 55 virtual void ChildPreferredSizeChanged(View* child); |
| 56 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const; | 56 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const; |
| 57 virtual void Cut(); | 57 virtual void Cut(); |
| 58 virtual void Copy(); | 58 virtual void Copy(); |
| 59 virtual void Paste(); | 59 virtual void Paste(); |
| 60 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 61 const gfx::Rect& bounds); |
| 60 | 62 |
| 61 // views::ContextMenuController overrides. | 63 // views::ContextMenuController overrides. |
| 62 virtual void ShowContextMenuForView(views::View* source, | 64 virtual void ShowContextMenuForView(views::View* source, |
| 63 const gfx::Point& p, | 65 const gfx::Point& p, |
| 64 bool is_mouse_gesture); | 66 bool is_mouse_gesture); |
| 65 | 67 |
| 66 // views::MenuListener implementation. | 68 // views::MenuListener implementation. |
| 67 virtual void OnMenuOpened(); | 69 virtual void OnMenuOpened(); |
| 68 | 70 |
| 69 // StatusAreaHost overrides. | 71 // StatusAreaHost overrides. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 98 // Focused native widget before wench menu shows up. We need this to properly | 100 // Focused native widget before wench menu shows up. We need this to properly |
| 99 // perform cut, copy and paste. See http://crosbug.com/8496 | 101 // perform cut, copy and paste. See http://crosbug.com/8496 |
| 100 gfx::NativeView saved_focused_widget_; | 102 gfx::NativeView saved_focused_widget_; |
| 101 | 103 |
| 102 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 104 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 103 }; | 105 }; |
| 104 | 106 |
| 105 } // namespace chromeos | 107 } // namespace chromeos |
| 106 | 108 |
| 107 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ | 109 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |