win: Make web view focused initialy.
This commit is contained in:
parent
d86172cc87
commit
55a35d473d
2 changed files with 5 additions and 0 deletions
|
@ -439,6 +439,10 @@ void NativeWindowWin::DeleteDelegate() {
|
|||
// Do nothing, window is managed by users.
|
||||
}
|
||||
|
||||
views::View* NativeWindowWin::GetInitiallyFocusedView() {
|
||||
return web_view_;
|
||||
}
|
||||
|
||||
bool NativeWindowWin::CanResize() const {
|
||||
return resizable_;
|
||||
}
|
||||
|
|
|
@ -92,6 +92,7 @@ class NativeWindowWin : public NativeWindow,
|
|||
|
||||
// Overridden from views::WidgetDelegate:
|
||||
virtual void DeleteDelegate() OVERRIDE;
|
||||
virtual views::View* GetInitiallyFocusedView() OVERRIDE;
|
||||
virtual bool CanResize() const OVERRIDE;
|
||||
virtual bool CanMaximize() const OVERRIDE;
|
||||
virtual string16 GetWindowTitle() const OVERRIDE;
|
||||
|
|
Loading…
Reference in a new issue