summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/panels
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/panels')
-rw-r--r--chrome/browser/ui/panels/native_panel.h5
-rw-r--r--chrome/browser/ui/panels/panel.cc1
-rw-r--r--chrome/browser/ui/panels/panel.h4
-rw-r--r--chrome/browser/ui/panels/panel_browser_view.cc1
-rw-r--r--chrome/browser/ui/panels/panel_browser_view.h4
-rw-r--r--chrome/browser/ui/panels/panel_browser_window_cocoa.h4
-rw-r--r--chrome/browser/ui/panels/panel_browser_window_cocoa.mm1
-rw-r--r--chrome/browser/ui/panels/panel_browser_window_gtk.cc1
-rw-r--r--chrome/browser/ui/panels/panel_browser_window_gtk.h4
9 files changed, 15 insertions, 10 deletions
diff --git a/chrome/browser/ui/panels/native_panel.h b/chrome/browser/ui/panels/native_panel.h
index 9ac3a95..340b897 100644
--- a/chrome/browser/ui/panels/native_panel.h
+++ b/chrome/browser/ui/panels/native_panel.h
@@ -60,9 +60,10 @@ class NativePanel {
virtual void DrawAttention(bool draw_attention) = 0;
virtual bool IsDrawingAttention() const = 0;
virtual bool PreHandlePanelKeyboardEvent(
- const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) = 0;
+ const content::NativeWebKeyboardEvent& event,
+ bool* is_keyboard_shortcut) = 0;
virtual void HandlePanelKeyboardEvent(
- const NativeWebKeyboardEvent& event) = 0;
+ const content::NativeWebKeyboardEvent& event) = 0;
virtual void FullScreenModeChanged(bool is_full_screen) = 0;
virtual Browser* GetPanelBrowser() const = 0;
diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc
index d98d021..e4f54d1 100644
--- a/chrome/browser/ui/panels/panel.cc
+++ b/chrome/browser/ui/panels/panel.cc
@@ -27,6 +27,7 @@
#include "chrome/browser/ui/panels/panel_browser_view.h"
#endif
+using content::NativeWebKeyboardEvent;
using content::RenderViewHost;
using content::SSLStatus;
using content::WebContents;
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index 4072746..9f2eaca 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -168,10 +168,10 @@ class Panel : public BrowserWindow,
bool show_history) OVERRIDE;
virtual void ShowAppMenu() OVERRIDE;
virtual bool PreHandleKeyboardEvent(
- const NativeWebKeyboardEvent& event,
+ const content::NativeWebKeyboardEvent& event,
bool* is_keyboard_shortcut) OVERRIDE;
virtual void HandleKeyboardEvent(
- const NativeWebKeyboardEvent& event) OVERRIDE;
+ const content::NativeWebKeyboardEvent& event) OVERRIDE;
virtual void ShowCreateWebAppShortcutsDialog(
TabContentsWrapper* tab_contents) OVERRIDE;
virtual void ShowCreateChromeAppShortcutsDialog(
diff --git a/chrome/browser/ui/panels/panel_browser_view.cc b/chrome/browser/ui/panels/panel_browser_view.cc
index d8c04ec..96f060e 100644
--- a/chrome/browser/ui/panels/panel_browser_view.cc
+++ b/chrome/browser/ui/panels/panel_browser_view.cc
@@ -22,6 +22,7 @@
#include "ui/views/controls/label.h"
#include "ui/views/widget/widget.h"
+using content::NativeWebKeyboardEvent;
using content::WebContents;
NativePanel* Panel::CreateNativePanel(Browser* browser, Panel* panel,
diff --git a/chrome/browser/ui/panels/panel_browser_view.h b/chrome/browser/ui/panels/panel_browser_view.h
index ab2aa63..58892c8 100644
--- a/chrome/browser/ui/panels/panel_browser_view.h
+++ b/chrome/browser/ui/panels/panel_browser_view.h
@@ -109,11 +109,11 @@ class PanelBrowserView : public BrowserView,
virtual void DrawAttention(bool draw_attention) OVERRIDE;
virtual bool IsDrawingAttention() const OVERRIDE;
virtual bool PreHandlePanelKeyboardEvent(
- const NativeWebKeyboardEvent& event,
+ const content::NativeWebKeyboardEvent& event,
bool* is_keyboard_shortcut) OVERRIDE;
virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE;
virtual void HandlePanelKeyboardEvent(
- const NativeWebKeyboardEvent& event) OVERRIDE;
+ const content::NativeWebKeyboardEvent& event) OVERRIDE;
virtual gfx::Size WindowSizeFromContentSize(
const gfx::Size& content_size) const OVERRIDE;
virtual gfx::Size ContentSizeFromWindowSize(
diff --git a/chrome/browser/ui/panels/panel_browser_window_cocoa.h b/chrome/browser/ui/panels/panel_browser_window_cocoa.h
index 907de7f..28ce935 100644
--- a/chrome/browser/ui/panels/panel_browser_window_cocoa.h
+++ b/chrome/browser/ui/panels/panel_browser_window_cocoa.h
@@ -54,10 +54,10 @@ class PanelBrowserWindowCocoa : public NativePanel,
virtual void DrawAttention(bool draw_attention) OVERRIDE;
virtual bool IsDrawingAttention() const OVERRIDE;
virtual bool PreHandlePanelKeyboardEvent(
- const NativeWebKeyboardEvent& event,
+ const content::NativeWebKeyboardEvent& event,
bool* is_keyboard_shortcut) OVERRIDE;
virtual void HandlePanelKeyboardEvent(
- const NativeWebKeyboardEvent& event) OVERRIDE;
+ const content::NativeWebKeyboardEvent& event) OVERRIDE;
virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE;
virtual Browser* GetPanelBrowser() const OVERRIDE;
virtual void DestroyPanelBrowser() OVERRIDE;
diff --git a/chrome/browser/ui/panels/panel_browser_window_cocoa.mm b/chrome/browser/ui/panels/panel_browser_window_cocoa.mm
index f5fa4f3..4a46869 100644
--- a/chrome/browser/ui/panels/panel_browser_window_cocoa.mm
+++ b/chrome/browser/ui/panels/panel_browser_window_cocoa.mm
@@ -23,6 +23,7 @@
#include "content/public/browser/native_web_keyboard_event.h"
#include "content/public/browser/notification_source.h"
+using content::NativeWebKeyboardEvent;
using content::WebContents;
namespace {
diff --git a/chrome/browser/ui/panels/panel_browser_window_gtk.cc b/chrome/browser/ui/panels/panel_browser_window_gtk.cc
index 896114e..1f0fe3d 100644
--- a/chrome/browser/ui/panels/panel_browser_window_gtk.cc
+++ b/chrome/browser/ui/panels/panel_browser_window_gtk.cc
@@ -27,6 +27,7 @@
#include "ui/gfx/image/image.h"
#include "ui/gfx/skia_util.h"
+using content::NativeWebKeyboardEvent;
using content::WebContents;
namespace {
diff --git a/chrome/browser/ui/panels/panel_browser_window_gtk.h b/chrome/browser/ui/panels/panel_browser_window_gtk.h
index 4d4e62c..3c3066c 100644
--- a/chrome/browser/ui/panels/panel_browser_window_gtk.h
+++ b/chrome/browser/ui/panels/panel_browser_window_gtk.h
@@ -100,10 +100,10 @@ class PanelBrowserWindowGtk : public BrowserWindowGtk,
virtual void DrawAttention(bool draw_attention) OVERRIDE;
virtual bool IsDrawingAttention() const OVERRIDE;
virtual bool PreHandlePanelKeyboardEvent(
- const NativeWebKeyboardEvent& event,
+ const content::NativeWebKeyboardEvent& event,
bool* is_keyboard_shortcut) OVERRIDE;
virtual void HandlePanelKeyboardEvent(
- const NativeWebKeyboardEvent& event) OVERRIDE;
+ const content::NativeWebKeyboardEvent& event) OVERRIDE;
virtual void FullScreenModeChanged(bool is_full_screen) OVERRIDE;
virtual Browser* GetPanelBrowser() const OVERRIDE;
virtual void DestroyPanelBrowser() OVERRIDE;