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

Unified Diff: chrome/browser/ui/panels/panel.h

Issue 10736037: Enable keyboard shortcuts and some menu commands for browserless Panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index 0aaa58a3dba906c21d024e3ce9fcf7c8b9e49a4b..4a3d15db8a1e7e5c98bd76e2f9728746f7db8b03 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -31,6 +31,7 @@ class SkBitmap;
namespace content {
class WebContents;
+struct NativeWebKeyboardEvent;
}
// A platform independent implementation of BaseWindow for Panels.
@@ -244,6 +245,9 @@ class Panel : public BaseWindow,
// user-resizable, it should not be a problem.
void IncreaseMaxSize(const gfx::Size& desired_panel_size);
+ // Handles keyboard events coming back from the renderer.
+ void HandleKeyboardEvent(const content::NativeWebKeyboardEvent& event);
+
// Whether the panel window is always on top.
void SetAlwaysOnTop(bool on_top);
bool always_on_top() const { return always_on_top_; }
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698