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

Side by Side Diff: chrome/browser/ui/views/ash/panel_view_aura.cc

Issue 10544023: Moving the tabs_module API into a separate directory in api/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Correcting the order of includes. Created 8 years, 6 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 (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/extension_function_dispatcher.h" 10 #include "chrome/browser/extensions/extension_function_dispatcher.h"
10 #include "chrome/browser/extensions/extension_process_manager.h" 11 #include "chrome/browser/extensions/extension_process_manager.h"
11 #include "chrome/browser/extensions/extension_system.h" 12 #include "chrome/browser/extensions/extension_system.h"
12 #include "chrome/browser/extensions/extension_tab_util.h" 13 #include "chrome/browser/extensions/extension_tab_util.h"
13 #include "chrome/browser/extensions/extension_tabs_module_constants.h"
14 #include "chrome/browser/extensions/extension_window_controller.h" 14 #include "chrome/browser/extensions/extension_window_controller.h"
15 #include "chrome/browser/extensions/extension_window_list.h" 15 #include "chrome/browser/extensions/extension_window_list.h"
16 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/sessions/session_id.h" 17 #include "chrome/browser/sessions/session_id.h"
18 #include "chrome/browser/ui/browser.h" 18 #include "chrome/browser/ui/browser.h"
19 #include "chrome/browser/ui/browser_finder.h" 19 #include "chrome/browser/ui/browser_finder.h"
20 #include "chrome/browser/view_type_utils.h" 20 #include "chrome/browser/view_type_utils.h"
21 #include "chrome/common/extensions/extension.h" 21 #include "chrome/common/extensions/extension.h"
22 #include "chrome/common/extensions/extension_messages.h" 22 #include "chrome/common/extensions/extension_messages.h"
23 #include "content/public/browser/site_instance.h" 23 #include "content/public/browser/site_instance.h"
24 #include "content/public/browser/web_contents.h" 24 #include "content/public/browser/web_contents.h"
25 #include "content/public/browser/web_contents_delegate.h" 25 #include "content/public/browser/web_contents_delegate.h"
26 #include "content/public/browser/web_contents_observer.h" 26 #include "content/public/browser/web_contents_observer.h"
27 #include "googleurl/src/gurl.h" 27 #include "googleurl/src/gurl.h"
28 #include "ipc/ipc_message.h" 28 #include "ipc/ipc_message.h"
29 #include "ipc/ipc_message_macros.h" 29 #include "ipc/ipc_message_macros.h"
30 #include "ui/aura/window.h" 30 #include "ui/aura/window.h"
31 #include "ui/views/widget/widget.h" 31 #include "ui/views/widget/widget.h"
32 32
33 namespace { 33 namespace {
34 const int kMinWidth = 100; 34 const int kMinWidth = 100;
35 const int kMinHeight = 100; 35 const int kMinHeight = 100;
36 const int kDefaultWidth = 200; 36 const int kDefaultWidth = 200;
37 const int kDefaultHeight = 300; 37 const int kDefaultHeight = 300;
38 } 38 }
39 39
40 namespace keys = extension_tabs_module_constants; 40 namespace keys = extensions::tabs_constants;
41 41
42 namespace internal { 42 namespace internal {
43 43
44 //////////////////////////////////////////////////////////////////////////////// 44 ////////////////////////////////////////////////////////////////////////////////
45 // PanelHost 45 // PanelHost
46 46
47 class PanelHost : public content::WebContentsDelegate, 47 class PanelHost : public content::WebContentsDelegate,
48 public content::WebContentsObserver, 48 public content::WebContentsObserver,
49 public ExtensionFunctionDispatcher::Delegate { 49 public ExtensionFunctionDispatcher::Delegate {
50 public: 50 public:
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/ash/launcher/launcher_platform_app_browsertest.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698