| 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/ui/views/ash/panel_view_aura.h" | 5 #include "chrome/browser/ui/views/ash/panel_view_aura.h" |
| 6 | 6 |
| 7 #include "ash/wm/panel_frame_view.h" | 7 #include "ash/wm/panel_frame_view.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" | 9 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" |
| 10 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 10 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 DictionaryValue* result = ExtensionWindowController::CreateWindowValue(); | 221 DictionaryValue* result = ExtensionWindowController::CreateWindowValue(); |
| 222 return result; | 222 return result; |
| 223 } | 223 } |
| 224 | 224 |
| 225 base::DictionaryValue* | 225 base::DictionaryValue* |
| 226 PanelExtensionWindowController::CreateWindowValueWithTabs() const { | 226 PanelExtensionWindowController::CreateWindowValueWithTabs() const { |
| 227 DictionaryValue* result = CreateWindowValue(); | 227 DictionaryValue* result = CreateWindowValue(); |
| 228 | 228 |
| 229 // TODO(stevenjb): Implement tab interface for Aura panels. | 229 // TODO(stevenjb): Implement tab interface for Aura panels. |
| 230 // Currently there is no mechanism to get a tab id without an associated | 230 // Currently there is no mechanism to get a tab id without an associated |
| 231 // TabContentsWrapper. We will need to either add a TabContentsWrapper for | 231 // TabContents. We will need to either add a TabContents for |
| 232 // panels, or add another mechanism for tracking tabs. crbug.com/115532. | 232 // panels, or add another mechanism for tracking tabs. crbug.com/115532. |
| 233 | 233 |
| 234 return result; | 234 return result; |
| 235 } | 235 } |
| 236 | 236 |
| 237 bool PanelExtensionWindowController::CanClose(Reason* reason) const { | 237 bool PanelExtensionWindowController::CanClose(Reason* reason) const { |
| 238 return true; | 238 return true; |
| 239 } | 239 } |
| 240 | 240 |
| 241 void PanelExtensionWindowController::SetFullscreenMode( | 241 void PanelExtensionWindowController::SetFullscreenMode( |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 } | 440 } |
| 441 | 441 |
| 442 void PanelViewAura::FlashFrame(bool flash) { | 442 void PanelViewAura::FlashFrame(bool flash) { |
| 443 // TODO(stevenjb): Implement | 443 // TODO(stevenjb): Implement |
| 444 NOTIMPLEMENTED(); | 444 NOTIMPLEMENTED(); |
| 445 } | 445 } |
| 446 | 446 |
| 447 bool PanelViewAura::IsAlwaysOnTop() const { | 447 bool PanelViewAura::IsAlwaysOnTop() const { |
| 448 return true; | 448 return true; |
| 449 } | 449 } |
| OLD | NEW |