OLD | NEW |
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 #include "chrome/browser/speech/speech_recognition_bubble.h" | 5 #include "chrome/browser/speech/speech_recognition_bubble.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 } | 388 } |
389 | 389 |
390 } // namespace | 390 } // namespace |
391 | 391 |
392 SpeechRecognitionBubble* SpeechRecognitionBubble::CreateNativeBubble( | 392 SpeechRecognitionBubble* SpeechRecognitionBubble::CreateNativeBubble( |
393 WebContents* web_contents, | 393 WebContents* web_contents, |
394 SpeechRecognitionBubble::Delegate* delegate, | 394 SpeechRecognitionBubble::Delegate* delegate, |
395 const gfx::Rect& element_rect) { | 395 const gfx::Rect& element_rect) { |
396 return new SpeechRecognitionBubbleImpl(web_contents, delegate, element_rect); | 396 return new SpeechRecognitionBubbleImpl(web_contents, delegate, element_rect); |
397 } | 397 } |
OLD | NEW |