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

Side by Side Diff: content/shell/browser/shell.h

Issue 2658473002: Refactor BluetoothAllowedDevicesMap (Closed)
Patch Set: updated test code 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 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) override;
157 BluetoothAllowedDevicesMapBase* GetBluetoothDevicesMap(
158 RenderFrameHost* frame) override;
157 #if defined(OS_MACOSX) 159 #if defined(OS_MACOSX)
158 void HandleKeyboardEvent(WebContents* source, 160 void HandleKeyboardEvent(WebContents* source,
159 const NativeWebKeyboardEvent& event) override; 161 const NativeWebKeyboardEvent& event) override;
160 #endif 162 #endif
161 bool DidAddMessageToConsole(WebContents* source, 163 bool DidAddMessageToConsole(WebContents* source,
162 int32_t level, 164 int32_t level,
163 const base::string16& message, 165 const base::string16& message,
164 int32_t line_no, 166 int32_t line_no,
165 const base::string16& source_id) override; 167 const base::string16& source_id) override;
166 void RendererUnresponsive( 168 void RendererUnresponsive(
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 static base::Callback<void(Shell*)> shell_created_callback_; 278 static base::Callback<void(Shell*)> shell_created_callback_;
277 279
278 // True if the destructur of Shell should post a quit closure on the current 280 // 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. 281 // message loop if the destructed Shell object was the last one.
280 static bool quit_message_loop_; 282 static bool quit_message_loop_;
281 }; 283 };
282 284
283 } // namespace content 285 } // namespace content
284 286
285 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ 287 #endif // CONTENT_SHELL_BROWSER_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698