OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 content::MediaStreamType type) override; | 415 content::MediaStreamType type) override; |
416 content::WebContents* OpenURLFromTab( | 416 content::WebContents* OpenURLFromTab( |
417 content::WebContents* source, | 417 content::WebContents* source, |
418 const content::OpenURLParams& params) override; | 418 const content::OpenURLParams& params) override; |
419 void AddNewContents(content::WebContents* source, | 419 void AddNewContents(content::WebContents* source, |
420 content::WebContents* new_contents, | 420 content::WebContents* new_contents, |
421 WindowOpenDisposition disposition, | 421 WindowOpenDisposition disposition, |
422 const gfx::Rect& initial_rect, | 422 const gfx::Rect& initial_rect, |
423 bool user_gesture, | 423 bool user_gesture, |
424 bool* was_blocked) override; | 424 bool* was_blocked) override; |
425 bool PreHandleKeyboardEvent(content::WebContents* source, | 425 content::KeyboardEventProcessingResult PreHandleKeyboardEvent( |
426 const content::NativeWebKeyboardEvent& event, | 426 content::WebContents* source, |
427 bool* is_keyboard_shortcut) override; | 427 const content::NativeWebKeyboardEvent& event) override; |
428 void HandleKeyboardEvent( | 428 void HandleKeyboardEvent( |
429 content::WebContents* source, | 429 content::WebContents* source, |
430 const content::NativeWebKeyboardEvent& event) override; | 430 const content::NativeWebKeyboardEvent& event) override; |
431 void RequestToLockMouse(content::WebContents* web_contents, | 431 void RequestToLockMouse(content::WebContents* web_contents, |
432 bool user_gesture, | 432 bool user_gesture, |
433 bool last_unlocked_by_target) override; | 433 bool last_unlocked_by_target) override; |
434 bool PreHandleGestureEvent(content::WebContents* source, | 434 bool PreHandleGestureEvent(content::WebContents* source, |
435 const blink::WebGestureEvent& event) override; | 435 const blink::WebGestureEvent& event) override; |
436 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser( | 436 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser( |
437 content::RenderFrameHost* frame, | 437 content::RenderFrameHost* frame, |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 base::Closure on_first_commit_callback_; | 573 base::Closure on_first_commit_callback_; |
574 | 574 |
575 base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_; | 575 base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_; |
576 | 576 |
577 DISALLOW_COPY_AND_ASSIGN(AppWindow); | 577 DISALLOW_COPY_AND_ASSIGN(AppWindow); |
578 }; | 578 }; |
579 | 579 |
580 } // namespace extensions | 580 } // namespace extensions |
581 | 581 |
582 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 582 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
OLD | NEW |