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

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

Issue 2658473002: Refactor BluetoothAllowedDevicesMap (Closed)
Patch Set: set --similarity=20 when did git cl upload Created 3 years, 10 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 15 matching lines...) Expand all
26 #include "ui/gfx/image/image.h" 26 #include "ui/gfx/image/image.h"
27 27
28 class GURL; 28 class GURL;
29 class SkRegion; 29 class SkRegion;
30 30
31 namespace base { 31 namespace base {
32 class DictionaryValue; 32 class DictionaryValue;
33 } 33 }
34 34
35 namespace content { 35 namespace content {
36 class BluetoothAllowedDevicesMapBase;
36 class BrowserContext; 37 class BrowserContext;
37 class RenderFrameHost; 38 class RenderFrameHost;
38 class WebContents; 39 class WebContents;
39 } 40 }
40 41
41 namespace extensions { 42 namespace extensions {
42 43
43 class AppDelegate; 44 class AppDelegate;
44 class AppWebContentsHelper; 45 class AppWebContentsHelper;
45 class Extension; 46 class Extension;
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 content::WebContents* source, 430 content::WebContents* source,
430 const content::NativeWebKeyboardEvent& event) override; 431 const content::NativeWebKeyboardEvent& event) override;
431 void RequestToLockMouse(content::WebContents* web_contents, 432 void RequestToLockMouse(content::WebContents* web_contents,
432 bool user_gesture, 433 bool user_gesture,
433 bool last_unlocked_by_target) override; 434 bool last_unlocked_by_target) override;
434 bool PreHandleGestureEvent(content::WebContents* source, 435 bool PreHandleGestureEvent(content::WebContents* source,
435 const blink::WebGestureEvent& event) override; 436 const blink::WebGestureEvent& event) override;
436 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser( 437 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser(
437 content::RenderFrameHost* frame, 438 content::RenderFrameHost* frame,
438 const content::BluetoothChooser::EventHandler& event_handler) override; 439 const content::BluetoothChooser::EventHandler& event_handler) override;
440 content::BluetoothAllowedDevicesMapBase* GetBluetoothDevicesMap(
441 content::RenderFrameHost* frame) override;
439 442
440 // content::WebContentsObserver implementation. 443 // content::WebContentsObserver implementation.
441 void RenderViewCreated(content::RenderViewHost* render_view_host) override; 444 void RenderViewCreated(content::RenderViewHost* render_view_host) override;
442 445
443 // ExtensionFunctionDispatcher::Delegate implementation. 446 // ExtensionFunctionDispatcher::Delegate implementation.
444 WindowController* GetExtensionWindowController() const override; 447 WindowController* GetExtensionWindowController() const override;
445 content::WebContents* GetAssociatedWebContents() const override; 448 content::WebContents* GetAssociatedWebContents() const override;
446 449
447 // ExtensionRegistryObserver implementation. 450 // ExtensionRegistryObserver implementation.
448 void OnExtensionUnloaded(content::BrowserContext* browser_context, 451 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_; 576 base::Closure on_first_commit_callback_;
574 577
575 base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_; 578 base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_;
576 579
577 DISALLOW_COPY_AND_ASSIGN(AppWindow); 580 DISALLOW_COPY_AND_ASSIGN(AppWindow);
578 }; 581 };
579 582
580 } // namespace extensions 583 } // namespace extensions
581 584
582 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ 585 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698