| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 APPS_SHELL_WINDOW_H_ | 5 #ifndef APPS_SHELL_WINDOW_H_ |
| 6 #define APPS_SHELL_WINDOW_H_ | 6 #define APPS_SHELL_WINDOW_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "chrome/browser/extensions/extension_icon_image.h" | 10 #include "chrome/browser/extensions/extension_icon_image.h" |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 virtual bool PreHandleKeyboardEvent( | 387 virtual bool PreHandleKeyboardEvent( |
| 388 content::WebContents* source, | 388 content::WebContents* source, |
| 389 const content::NativeWebKeyboardEvent& event, | 389 const content::NativeWebKeyboardEvent& event, |
| 390 bool* is_keyboard_shortcut) OVERRIDE; | 390 bool* is_keyboard_shortcut) OVERRIDE; |
| 391 virtual void HandleKeyboardEvent( | 391 virtual void HandleKeyboardEvent( |
| 392 content::WebContents* source, | 392 content::WebContents* source, |
| 393 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 393 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
| 394 virtual void RequestToLockMouse(content::WebContents* web_contents, | 394 virtual void RequestToLockMouse(content::WebContents* web_contents, |
| 395 bool user_gesture, | 395 bool user_gesture, |
| 396 bool last_unlocked_by_target) OVERRIDE; | 396 bool last_unlocked_by_target) OVERRIDE; |
| 397 virtual bool PreHandleGestureEvent(content::WebContents* source, |
| 398 const blink::WebGestureEvent& event); |
| 397 | 399 |
| 398 // content::WebContentsObserver implementation. | 400 // content::WebContentsObserver implementation. |
| 399 virtual void DidFirstVisuallyNonEmptyPaint(int32 page_id) OVERRIDE; | 401 virtual void DidFirstVisuallyNonEmptyPaint(int32 page_id) OVERRIDE; |
| 400 | 402 |
| 401 // content::NotificationObserver implementation. | 403 // content::NotificationObserver implementation. |
| 402 virtual void Observe(int type, | 404 virtual void Observe(int type, |
| 403 const content::NotificationSource& source, | 405 const content::NotificationSource& source, |
| 404 const content::NotificationDetails& details) OVERRIDE; | 406 const content::NotificationDetails& details) OVERRIDE; |
| 405 | 407 |
| 406 // web_modal::WebContentsModalDialogManagerDelegate implementation. | 408 // web_modal::WebContentsModalDialogManagerDelegate implementation. |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 // reinstated when the window exits fullscreen and moves away from the | 518 // reinstated when the window exits fullscreen and moves away from the |
| 517 // taskbar. | 519 // taskbar. |
| 518 bool cached_always_on_top_; | 520 bool cached_always_on_top_; |
| 519 | 521 |
| 520 DISALLOW_COPY_AND_ASSIGN(ShellWindow); | 522 DISALLOW_COPY_AND_ASSIGN(ShellWindow); |
| 521 }; | 523 }; |
| 522 | 524 |
| 523 } // namespace apps | 525 } // namespace apps |
| 524 | 526 |
| 525 #endif // APPS_SHELL_WINDOW_H_ | 527 #endif // APPS_SHELL_WINDOW_H_ |
| OLD | NEW |