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_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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 virtual void ShowCreateChromeAppShortcutsDialog(Profile*, | 321 virtual void ShowCreateChromeAppShortcutsDialog(Profile*, |
322 const Extension* app); | 322 const Extension* app); |
323 virtual void Cut(); | 323 virtual void Cut(); |
324 virtual void Copy(); | 324 virtual void Copy(); |
325 virtual void Paste(); | 325 virtual void Paste(); |
326 virtual void ToggleTabStripMode(); | 326 virtual void ToggleTabStripMode(); |
327 virtual void PrepareForInstant(); | 327 virtual void PrepareForInstant(); |
328 virtual void ShowInstant(TabContents* preview_contents); | 328 virtual void ShowInstant(TabContents* preview_contents); |
329 virtual void HideInstant(bool instant_is_active); | 329 virtual void HideInstant(bool instant_is_active); |
330 virtual gfx::Rect GetInstantBounds(); | 330 virtual gfx::Rect GetInstantBounds(); |
331 virtual gfx::Rect GrabWindowSnapshot(std::vector<unsigned char>* | |
332 png_representation); | |
333 | 331 |
334 #if defined(OS_CHROMEOS) | 332 #if defined(OS_CHROMEOS) |
335 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window); | 333 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window); |
336 #endif | 334 #endif |
337 | 335 |
338 // Overridden from BrowserWindowTesting: | 336 // Overridden from BrowserWindowTesting: |
339 virtual BookmarkBarView* GetBookmarkBarView() const; | 337 virtual BookmarkBarView* GetBookmarkBarView() const; |
340 virtual LocationBarView* GetLocationBarView() const; | 338 virtual LocationBarView* GetLocationBarView() const; |
341 virtual views::View* GetTabContentsContainerView() const; | 339 virtual views::View* GetTabContentsContainerView() const; |
342 virtual views::View* GetSidebarContainerView() const; | 340 virtual views::View* GetSidebarContainerView() const; |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 669 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
672 | 670 |
673 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; | 671 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; |
674 | 672 |
675 NotificationRegistrar registrar_; | 673 NotificationRegistrar registrar_; |
676 | 674 |
677 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 675 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
678 }; | 676 }; |
679 | 677 |
680 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 678 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |