Chromium Code Reviews| Index: chrome/browser/chromeos/status/network_dropdown_button.h |
| diff --git a/chrome/browser/chromeos/status/network_dropdown_button.h b/chrome/browser/chromeos/status/network_dropdown_button.h |
| index 8a9ac7aa2ad74cec9516b34bfc765e4e4c74d0a4..a9edbb194ffbebdaabb5ad83d910bd18bcee00c2 100644 |
| --- a/chrome/browser/chromeos/status/network_dropdown_button.h |
| +++ b/chrome/browser/chromeos/status/network_dropdown_button.h |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -36,10 +36,14 @@ class NetworkDropdownButton : public DropDownButton, |
| protected: |
| // NetworkMenu implementation: |
| - virtual bool IsBrowserMode() const { return browser_mode_; } |
| - virtual gfx::NativeWindow GetNativeWindow() const { return parent_window_; } |
| - virtual void OpenButtonOptions() {} |
| - virtual bool ShouldOpenButtonOptions() const { return false; } |
| + virtual bool IsBrowserMode() const OVERRIDE { return browser_mode_; } |
| + virtual views::MenuButton* GetMenuButton() OVERRIDE { return this; } |
| + virtual gfx::NativeWindow GetNativeWindow() OVERRIDE const { |
| + return parent_window_; |
| + } |
|
oshima
2011/04/15 22:26:51
actually, can you move implementations to .cc? We'
rhashimoto
2011/04/15 23:44:32
Done.
|
| + |
| + virtual void OpenButtonOptions() OVERRIDE {} |
| + virtual bool ShouldOpenButtonOptions() OVERRIDE const { return false; } |
| private: |
| bool browser_mode_; |