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

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: Remove an unnecessary include and forward decl 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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 void RendererResponsive(RenderViewHost* render_view_host) override; 466 void RendererResponsive(RenderViewHost* render_view_host) override;
466 void LoadStateChanged(const GURL& url, 467 void LoadStateChanged(const GURL& url,
467 const net::LoadStateWithParam& load_state, 468 const net::LoadStateWithParam& load_state,
468 uint64 upload_position, 469 uint64 upload_position,
469 uint64 upload_size) override; 470 uint64 upload_size) override;
470 void Activate() override; 471 void Activate() override;
471 void Deactivate() override; 472 void Deactivate() override;
472 void LostCapture() override; 473 void LostCapture() override;
473 void RunFileChooser(RenderViewHost* render_view_host, 474 void RunFileChooser(RenderViewHost* render_view_host,
474 const FileChooserParams& params) override; 475 const FileChooserParams& params) override;
476 scoped_ptr<BluetoothChooser> RunBluetoothChooser(
477 BluetoothChooser::Observer* observer,
478 int chooser_id,
479 const GURL& origin) override;
475 bool IsFullscreenForCurrentTab() const override; 480 bool IsFullscreenForCurrentTab() const override;
476 blink::WebDisplayMode GetDisplayMode() const override; 481 blink::WebDisplayMode GetDisplayMode() const override;
477 void UpdatePreferredSize(const gfx::Size& pref_size) override; 482 void UpdatePreferredSize(const gfx::Size& pref_size) override;
478 void ResizeDueToAutoResize(const gfx::Size& new_size) override; 483 void ResizeDueToAutoResize(const gfx::Size& new_size) override;
479 void RequestToLockMouse(bool user_gesture, 484 void RequestToLockMouse(bool user_gesture,
480 bool last_unlocked_by_target) override; 485 bool last_unlocked_by_target) override;
481 void LostMouseLock() override; 486 void LostMouseLock() override;
482 void CreateNewWindow( 487 void CreateNewWindow(
483 SiteInstance* source_site_instance, 488 SiteInstance* source_site_instance,
484 int route_id, 489 int route_id,
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
1307 // Adds/removes a callback called on creation of each new WebContents. 1312 // Adds/removes a callback called on creation of each new WebContents.
1308 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1313 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1309 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1314 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1310 1315
1311 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1316 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1312 }; 1317 };
1313 1318
1314 } // namespace content 1319 } // namespace content
1315 1320
1316 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1321 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698