Commit 2250cc51 authored by tfarina@chromium.org's avatar tfarina@chromium.org

speech: Change SpeechInputBubbleBase::message_text() to return a const-ref.

R=satish@chromium.org

Review URL: https://chromiumcodereview.appspot.com/9595008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124933 0039d316-1c4b-4281-b951-d872f2087c98
parent 363989ac
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -152,13 +152,9 @@ class SpeechInputBubbleBase : public SpeechInputBubble { ...@@ -152,13 +152,9 @@ class SpeechInputBubbleBase : public SpeechInputBubble {
// Overridden by subclasses to copy |icon_image()| to the screen. // Overridden by subclasses to copy |icon_image()| to the screen.
virtual void UpdateImage() = 0; virtual void UpdateImage() = 0;
DisplayMode display_mode() { DisplayMode display_mode() const { return display_mode_; }
return display_mode_;
}
string16 message_text() { const string16& message_text() const { return message_text_; }
return message_text_;
}
SkBitmap icon_image(); SkBitmap icon_image();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment