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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 1286063002: Add a path for content/ to open and control a Bluetooth chooser dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Clean up. Created 5 years, 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 10 matching lines...) Expand all
21 #include "content/browser/frame_host/navigation_controller_impl.h" 21 #include "content/browser/frame_host/navigation_controller_impl.h"
22 #include "content/browser/frame_host/navigator_delegate.h" 22 #include "content/browser/frame_host/navigator_delegate.h"
23 #include "content/browser/frame_host/render_frame_host_delegate.h" 23 #include "content/browser/frame_host/render_frame_host_delegate.h"
24 #include "content/browser/frame_host/render_frame_host_manager.h" 24 #include "content/browser/frame_host/render_frame_host_manager.h"
25 #include "content/browser/media/audio_state_provider.h" 25 #include "content/browser/media/audio_state_provider.h"
26 #include "content/browser/renderer_host/render_view_host_delegate.h" 26 #include "content/browser/renderer_host/render_view_host_delegate.h"
27 #include "content/browser/renderer_host/render_view_host_impl.h" 27 #include "content/browser/renderer_host/render_view_host_impl.h"
28 #include "content/browser/renderer_host/render_widget_host_delegate.h" 28 #include "content/browser/renderer_host/render_widget_host_delegate.h"
29 #include "content/common/accessibility_mode_enums.h" 29 #include "content/common/accessibility_mode_enums.h"
30 #include "content/common/content_export.h" 30 #include "content/common/content_export.h"
31 #include "content/public/browser/bluetooth_chooser.h"
31 #include "content/public/browser/color_chooser.h" 32 #include "content/public/browser/color_chooser.h"
32 #include "content/public/browser/notification_observer.h" 33 #include "content/public/browser/notification_observer.h"
33 #include "content/public/browser/notification_registrar.h" 34 #include "content/public/browser/notification_registrar.h"
34 #include "content/public/browser/web_contents.h" 35 #include "content/public/browser/web_contents.h"
35 #include "content/public/common/renderer_preferences.h" 36 #include "content/public/common/renderer_preferences.h"
36 #include "content/public/common/resource_type.h" 37 #include "content/public/common/resource_type.h"
37 #include "content/public/common/three_d_api_types.h" 38 #include "content/public/common/three_d_api_types.h"
38 #include "net/base/load_states.h" 39 #include "net/base/load_states.h"
39 #include "net/http/http_response_headers.h" 40 #include "net/http/http_response_headers.h"
40 #include "third_party/WebKit/public/web/WebDragOperation.h" 41 #include "third_party/WebKit/public/web/WebDragOperation.h"
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 void RendererResponsive(RenderViewHost* render_view_host) override; 465 void RendererResponsive(RenderViewHost* render_view_host) override;
465 void LoadStateChanged(const GURL& url, 466 void LoadStateChanged(const GURL& url,
466 const net::LoadStateWithParam& load_state, 467 const net::LoadStateWithParam& load_state,
467 uint64 upload_position, 468 uint64 upload_position,
468 uint64 upload_size) override; 469 uint64 upload_size) override;
469 void Activate() override; 470 void Activate() override;
470 void Deactivate() override; 471 void Deactivate() override;
471 void LostCapture() override; 472 void LostCapture() override;
472 void RunFileChooser(RenderViewHost* render_view_host, 473 void RunFileChooser(RenderViewHost* render_view_host,
473 const FileChooserParams& params) override; 474 const FileChooserParams& params) override;
475 scoped_ptr<BluetoothChooser> RunBluetoothChooser(
476 BluetoothChooser::Observer* observer,
477 int chooser_id,
478 const GURL& origin) override;
474 bool IsFullscreenForCurrentTab() const override; 479 bool IsFullscreenForCurrentTab() const override;
475 blink::WebDisplayMode GetDisplayMode() const override; 480 blink::WebDisplayMode GetDisplayMode() const override;
476 void UpdatePreferredSize(const gfx::Size& pref_size) override; 481 void UpdatePreferredSize(const gfx::Size& pref_size) override;
477 void ResizeDueToAutoResize(const gfx::Size& new_size) override; 482 void ResizeDueToAutoResize(const gfx::Size& new_size) override;
478 void RequestToLockMouse(bool user_gesture, 483 void RequestToLockMouse(bool user_gesture,
479 bool last_unlocked_by_target) override; 484 bool last_unlocked_by_target) override;
480 void LostMouseLock() override; 485 void LostMouseLock() override;
481 void CreateNewWindow( 486 void CreateNewWindow(
482 SiteInstance* source_site_instance, 487 SiteInstance* source_site_instance,
483 int route_id, 488 int route_id,
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
1306 // Adds/removes a callback called on creation of each new WebContents. 1311 // Adds/removes a callback called on creation of each new WebContents.
1307 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1312 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1308 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1313 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1309 1314
1310 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1315 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1311 }; 1316 };
1312 1317
1313 } // namespace content 1318 } // namespace content
1314 1319
1315 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1320 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698