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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_view.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
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_browser_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual void ShowTaskManagerForPanel() OVERRIDE; 102 virtual void ShowTaskManagerForPanel() OVERRIDE;
103 virtual FindBar* CreatePanelFindBar() OVERRIDE; 103 virtual FindBar* CreatePanelFindBar() OVERRIDE;
104 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; 104 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE;
105 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE; 105 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE;
106 virtual void PanelCut() OVERRIDE; 106 virtual void PanelCut() OVERRIDE;
107 virtual void PanelCopy() OVERRIDE; 107 virtual void PanelCopy() OVERRIDE;
108 virtual void PanelPaste() OVERRIDE; 108 virtual void PanelPaste() OVERRIDE;
109 virtual void DrawAttention(bool draw_attention) OVERRIDE; 109 virtual void DrawAttention(bool draw_attention) OVERRIDE;
110 virtual bool IsDrawingAttention() const OVERRIDE; 110 virtual bool IsDrawingAttention() const OVERRIDE;
111 virtual bool PreHandlePanelKeyboardEvent( 111 virtual bool PreHandlePanelKeyboardEvent(
112 const NativeWebKeyboardEvent& event, 112 const content::NativeWebKeyboardEvent& event,
113 bool* is_keyboard_shortcut) OVERRIDE; 113 bool* is_keyboard_shortcut) OVERRIDE;
114 virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE; 114 virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE;
115 virtual void HandlePanelKeyboardEvent( 115 virtual void HandlePanelKeyboardEvent(
116 const NativeWebKeyboardEvent& event) OVERRIDE; 116 const content::NativeWebKeyboardEvent& event) OVERRIDE;
117 virtual gfx::Size WindowSizeFromContentSize( 117 virtual gfx::Size WindowSizeFromContentSize(
118 const gfx::Size& content_size) const OVERRIDE; 118 const gfx::Size& content_size) const OVERRIDE;
119 virtual gfx::Size ContentSizeFromWindowSize( 119 virtual gfx::Size ContentSizeFromWindowSize(
120 const gfx::Size& window_size) const OVERRIDE; 120 const gfx::Size& window_size) const OVERRIDE;
121 virtual int TitleOnlyHeight() const OVERRIDE; 121 virtual int TitleOnlyHeight() const OVERRIDE;
122 virtual Browser* GetPanelBrowser() const OVERRIDE; 122 virtual Browser* GetPanelBrowser() const OVERRIDE;
123 virtual void DestroyPanelBrowser() OVERRIDE; 123 virtual void DestroyPanelBrowser() OVERRIDE;
124 virtual void EnsurePanelFullyVisible() OVERRIDE; 124 virtual void EnsurePanelFullyVisible() OVERRIDE;
125 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE; 125 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE;
126 virtual void EnableResizeByMouse(bool enable) OVERRIDE; 126 virtual void EnableResizeByMouse(bool enable) OVERRIDE;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // The last view that had focus in the panel. This is saved so that focus can 178 // The last view that had focus in the panel. This is saved so that focus can
179 // be restored properly when a drag ends. 179 // be restored properly when a drag ends.
180 views::View* old_focused_view_; 180 views::View* old_focused_view_;
181 181
182 content::NotificationRegistrar registrar_; 182 content::NotificationRegistrar registrar_;
183 183
184 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView); 184 DISALLOW_COPY_AND_ASSIGN(PanelBrowserView);
185 }; 185 };
186 186
187 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_ 187 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/panels/panel_browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698