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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_window_gtk.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_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 10 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual void ShowTaskManagerForPanel() OVERRIDE; 93 virtual void ShowTaskManagerForPanel() OVERRIDE;
94 virtual FindBar* CreatePanelFindBar() OVERRIDE; 94 virtual FindBar* CreatePanelFindBar() OVERRIDE;
95 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; 95 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE;
96 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE; 96 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE;
97 virtual void PanelCut() OVERRIDE; 97 virtual void PanelCut() OVERRIDE;
98 virtual void PanelCopy() OVERRIDE; 98 virtual void PanelCopy() OVERRIDE;
99 virtual void PanelPaste() OVERRIDE; 99 virtual void PanelPaste() OVERRIDE;
100 virtual void DrawAttention(bool draw_attention) OVERRIDE; 100 virtual void DrawAttention(bool draw_attention) OVERRIDE;
101 virtual bool IsDrawingAttention() const OVERRIDE; 101 virtual bool IsDrawingAttention() const OVERRIDE;
102 virtual bool PreHandlePanelKeyboardEvent( 102 virtual bool PreHandlePanelKeyboardEvent(
103 const NativeWebKeyboardEvent& event, 103 const content::NativeWebKeyboardEvent& event,
104 bool* is_keyboard_shortcut) OVERRIDE; 104 bool* is_keyboard_shortcut) OVERRIDE;
105 virtual void HandlePanelKeyboardEvent( 105 virtual void HandlePanelKeyboardEvent(
106 const NativeWebKeyboardEvent& event) OVERRIDE; 106 const content::NativeWebKeyboardEvent& event) OVERRIDE;
107 virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE; 107 virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE;
108 virtual Browser* GetPanelBrowser() const OVERRIDE; 108 virtual Browser* GetPanelBrowser() const OVERRIDE;
109 virtual void DestroyPanelBrowser() OVERRIDE; 109 virtual void DestroyPanelBrowser() OVERRIDE;
110 virtual gfx::Size WindowSizeFromContentSize( 110 virtual gfx::Size WindowSizeFromContentSize(
111 const gfx::Size& content_size) const OVERRIDE; 111 const gfx::Size& content_size) const OVERRIDE;
112 virtual gfx::Size ContentSizeFromWindowSize( 112 virtual gfx::Size ContentSizeFromWindowSize(
113 const gfx::Size& window_size) const OVERRIDE; 113 const gfx::Size& window_size) const OVERRIDE;
114 virtual int TitleOnlyHeight() const OVERRIDE; 114 virtual int TitleOnlyHeight() const OVERRIDE;
115 virtual void EnsurePanelFullyVisible() OVERRIDE; 115 virtual void EnsurePanelFullyVisible() OVERRIDE;
116 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE; 116 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 // current one completes. In this case, we want to start the new animation 161 // current one completes. In this case, we want to start the new animation
162 // from where the last one left. 162 // from where the last one left.
163 gfx::Rect last_animation_progressed_bounds_; 163 gfx::Rect last_animation_progressed_bounds_;
164 164
165 content::NotificationRegistrar registrar_; 165 content::NotificationRegistrar registrar_;
166 166
167 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk); 167 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk);
168 }; 168 };
169 169
170 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ 170 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window_cocoa.mm ('k') | chrome/browser/ui/panels/panel_browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698