Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Side by Side Diff: chrome/browser/ui/panels/panel_browser_window_cocoa.h

Issue 10383239: Move NativeWebKeyboardEvent to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_PANELS_PANEL_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_COCOA_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual void ShowTaskManagerForPanel() OVERRIDE; 47 virtual void ShowTaskManagerForPanel() OVERRIDE;
48 virtual FindBar* CreatePanelFindBar() OVERRIDE; 48 virtual FindBar* CreatePanelFindBar() OVERRIDE;
49 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; 49 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE;
50 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE; 50 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE;
51 virtual void PanelCut() OVERRIDE; 51 virtual void PanelCut() OVERRIDE;
52 virtual void PanelCopy() OVERRIDE; 52 virtual void PanelCopy() OVERRIDE;
53 virtual void PanelPaste() OVERRIDE; 53 virtual void PanelPaste() OVERRIDE;
54 virtual void DrawAttention(bool draw_attention) OVERRIDE; 54 virtual void DrawAttention(bool draw_attention) OVERRIDE;
55 virtual bool IsDrawingAttention() const OVERRIDE; 55 virtual bool IsDrawingAttention() const OVERRIDE;
56 virtual bool PreHandlePanelKeyboardEvent( 56 virtual bool PreHandlePanelKeyboardEvent(
57 const NativeWebKeyboardEvent& event, 57 const content::NativeWebKeyboardEvent& event,
58 bool* is_keyboard_shortcut) OVERRIDE; 58 bool* is_keyboard_shortcut) OVERRIDE;
59 virtual void HandlePanelKeyboardEvent( 59 virtual void HandlePanelKeyboardEvent(
60 const NativeWebKeyboardEvent& event) OVERRIDE; 60 const content::NativeWebKeyboardEvent& event) OVERRIDE;
61 virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE; 61 virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE;
62 virtual Browser* GetPanelBrowser() const OVERRIDE; 62 virtual Browser* GetPanelBrowser() const OVERRIDE;
63 virtual void DestroyPanelBrowser() OVERRIDE; 63 virtual void DestroyPanelBrowser() OVERRIDE;
64 virtual void EnsurePanelFullyVisible() OVERRIDE; 64 virtual void EnsurePanelFullyVisible() OVERRIDE;
65 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE; 65 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE;
66 virtual void EnableResizeByMouse(bool enable) OVERRIDE; 66 virtual void EnableResizeByMouse(bool enable) OVERRIDE;
67 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE; 67 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE;
68 68
69 // These sizes are in screen coordinates. 69 // These sizes are in screen coordinates.
70 virtual gfx::Size WindowSizeFromContentSize( 70 virtual gfx::Size WindowSizeFromContentSize(
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // window over other application windows due to panels having a higher 134 // window over other application windows due to panels having a higher
135 // priority NSWindowLevel, so we distinguish between the two scenarios. 135 // priority NSWindowLevel, so we distinguish between the two scenarios.
136 bool activation_requested_by_browser_; 136 bool activation_requested_by_browser_;
137 137
138 content::NotificationRegistrar registrar_; 138 content::NotificationRegistrar registrar_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowCocoa); 140 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowCocoa);
141 }; 141 };
142 142
143 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_COCOA_H_ 143 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_view.cc ('k') | chrome/browser/ui/panels/panel_browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698