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

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

Issue 2577183002: Add UMA for the number of devices in the chooser when a device is paired (Closed)
Patch Set: address comments Created 4 years 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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
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,
438 const content::BluetoothChooser::EventHandler& event_handler) override; 438 const content::BluetoothChooser::EventHandler& event_handler,
439 bool accept_all_devices) override;
439 440
440 // content::WebContentsObserver implementation. 441 // content::WebContentsObserver implementation.
441 void RenderViewCreated(content::RenderViewHost* render_view_host) override; 442 void RenderViewCreated(content::RenderViewHost* render_view_host) override;
442 443
443 // ExtensionFunctionDispatcher::Delegate implementation. 444 // ExtensionFunctionDispatcher::Delegate implementation.
444 WindowController* GetExtensionWindowController() const override; 445 WindowController* GetExtensionWindowController() const override;
445 content::WebContents* GetAssociatedWebContents() const override; 446 content::WebContents* GetAssociatedWebContents() const override;
446 447
447 // ExtensionRegistryObserver implementation. 448 // ExtensionRegistryObserver implementation.
448 void OnExtensionUnloaded(content::BrowserContext* browser_context, 449 void OnExtensionUnloaded(content::BrowserContext* browser_context,
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 base::Closure on_first_commit_callback_; 574 base::Closure on_first_commit_callback_;
574 575
575 base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_; 576 base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_;
576 577
577 DISALLOW_COPY_AND_ASSIGN(AppWindow); 578 DISALLOW_COPY_AND_ASSIGN(AppWindow);
578 }; 579 };
579 580
580 } // namespace extensions 581 } // namespace extensions
581 582
582 #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