Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: extensions/browser/app_window/app_window.h

Issue 2005443002: Implement bluetooth chooser for Chrome Apps on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor_chooser_bubble_ui_cocoa
Patch Set: rebase and address comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 const content::NativeWebKeyboardEvent& event, 421 const content::NativeWebKeyboardEvent& event,
422 bool* is_keyboard_shortcut) override; 422 bool* is_keyboard_shortcut) override;
423 void HandleKeyboardEvent( 423 void HandleKeyboardEvent(
424 content::WebContents* source, 424 content::WebContents* source,
425 const content::NativeWebKeyboardEvent& event) override; 425 const content::NativeWebKeyboardEvent& event) override;
426 void RequestToLockMouse(content::WebContents* web_contents, 426 void RequestToLockMouse(content::WebContents* web_contents,
427 bool user_gesture, 427 bool user_gesture,
428 bool last_unlocked_by_target) override; 428 bool last_unlocked_by_target) override;
429 bool PreHandleGestureEvent(content::WebContents* source, 429 bool PreHandleGestureEvent(content::WebContents* source,
430 const blink::WebGestureEvent& event) override; 430 const blink::WebGestureEvent& event) override;
431 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser(
432 content::RenderFrameHost* frame,
433 const content::BluetoothChooser::EventHandler& event_handler) override;
431 434
432 // content::WebContentsObserver implementation. 435 // content::WebContentsObserver implementation.
433 void RenderViewCreated(content::RenderViewHost* render_view_host) override; 436 void RenderViewCreated(content::RenderViewHost* render_view_host) override;
434 void DidFirstVisuallyNonEmptyPaint() override; 437 void DidFirstVisuallyNonEmptyPaint() override;
435 438
436 // ExtensionFunctionDispatcher::Delegate implementation. 439 // ExtensionFunctionDispatcher::Delegate implementation.
437 WindowController* GetExtensionWindowController() const override; 440 WindowController* GetExtensionWindowController() const override;
438 content::WebContents* GetAssociatedWebContents() const override; 441 content::WebContents* GetAssociatedWebContents() const override;
439 442
440 // ExtensionRegistryObserver implementation. 443 // ExtensionRegistryObserver implementation.
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 base::Closure on_first_commit_callback_; 574 base::Closure on_first_commit_callback_;
572 575
573 base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_; 576 base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_;
574 577
575 DISALLOW_COPY_AND_ASSIGN(AppWindow); 578 DISALLOW_COPY_AND_ASSIGN(AppWindow);
576 }; 579 };
577 580
578 } // namespace extensions 581 } // namespace extensions
579 582
580 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ 583 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698