Remove GetNativeView() when compiled with views toolkit.

This commit is contained in:
Cheng Zhao 2014-07-11 23:32:00 +08:00
parent 4b57e1f4f8
commit a080d2c5bb
3 changed files with 2 additions and 8 deletions

View file

@ -24,9 +24,10 @@ class InspectableWebContentsView {
// Returns the web view control, which can be used by the
// GetInitiallyFocusedView() to set initial focus to web view.
virtual views::View* GetWebView() = 0;
#else
virtual gfx::NativeView GetNativeView() const = 0;
#endif
virtual gfx::NativeView GetNativeView() const = 0;
virtual void ShowDevTools() = 0;
// Hide the DevTools view.
virtual void CloseDevTools() = 0;