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

Side by Side Diff: content/shell/browser/shell.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_ 4 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_
5 #define CONTENT_SHELL_BROWSER_SHELL_H_ 5 #define CONTENT_SHELL_BROWSER_SHELL_H_
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 void RequestToLockMouse(WebContents* web_contents, 146 void RequestToLockMouse(WebContents* web_contents,
147 bool user_gesture, 147 bool user_gesture,
148 bool last_unlocked_by_target) override; 148 bool last_unlocked_by_target) override;
149 void CloseContents(WebContents* source) override; 149 void CloseContents(WebContents* source) override;
150 bool CanOverscrollContent() const override; 150 bool CanOverscrollContent() const override;
151 void DidNavigateMainFramePostCommit(WebContents* web_contents) override; 151 void DidNavigateMainFramePostCommit(WebContents* web_contents) override;
152 JavaScriptDialogManager* GetJavaScriptDialogManager( 152 JavaScriptDialogManager* GetJavaScriptDialogManager(
153 WebContents* source) override; 153 WebContents* source) override;
154 std::unique_ptr<BluetoothChooser> RunBluetoothChooser( 154 std::unique_ptr<BluetoothChooser> RunBluetoothChooser(
155 RenderFrameHost* frame, 155 RenderFrameHost* frame,
156 const BluetoothChooser::EventHandler& event_handler) override; 156 const BluetoothChooser::EventHandler& event_handler,
157 bool accept_all_devices) override;
157 #if defined(OS_MACOSX) 158 #if defined(OS_MACOSX)
158 void HandleKeyboardEvent(WebContents* source, 159 void HandleKeyboardEvent(WebContents* source,
159 const NativeWebKeyboardEvent& event) override; 160 const NativeWebKeyboardEvent& event) override;
160 #endif 161 #endif
161 bool DidAddMessageToConsole(WebContents* source, 162 bool DidAddMessageToConsole(WebContents* source,
162 int32_t level, 163 int32_t level,
163 const base::string16& message, 164 const base::string16& message,
164 int32_t line_no, 165 int32_t line_no,
165 const base::string16& source_id) override; 166 const base::string16& source_id) override;
166 void RendererUnresponsive( 167 void RendererUnresponsive(
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 static base::Callback<void(Shell*)> shell_created_callback_; 277 static base::Callback<void(Shell*)> shell_created_callback_;
277 278
278 // True if the destructur of Shell should post a quit closure on the current 279 // True if the destructur of Shell should post a quit closure on the current
279 // message loop if the destructed Shell object was the last one. 280 // message loop if the destructed Shell object was the last one.
280 static bool quit_message_loop_; 281 static bool quit_message_loop_;
281 }; 282 };
282 283
283 } // namespace content 284 } // namespace content
284 285
285 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ 286 #endif // CONTENT_SHELL_BROWSER_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698