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

Side by Side Diff: chrome/browser/extensions/api/tabs/tabs_api.cc

Issue 2314853003: Move ash::DisplayManager switches to ui::display (Closed)
Patch Set: rebased again Created 4 years, 3 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/extensions/api/tabs/tabs_api.h" 5 #include "chrome/browser/extensions/api/tabs/tabs_api.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <algorithm> 8 #include <algorithm>
9 #include <limits> 9 #include <limits>
10 #include <memory> 10 #include <memory>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 #include "extensions/common/permissions/permissions_data.h" 89 #include "extensions/common/permissions/permissions_data.h"
90 #include "extensions/common/user_script.h" 90 #include "extensions/common/user_script.h"
91 #include "net/base/escape.h" 91 #include "net/base/escape.h"
92 #include "skia/ext/image_operations.h" 92 #include "skia/ext/image_operations.h"
93 #include "skia/ext/platform_canvas.h" 93 #include "skia/ext/platform_canvas.h"
94 #include "third_party/skia/include/core/SkBitmap.h" 94 #include "third_party/skia/include/core/SkBitmap.h"
95 #include "ui/base/models/list_selection_model.h" 95 #include "ui/base/models/list_selection_model.h"
96 #include "ui/base/ui_base_types.h" 96 #include "ui/base/ui_base_types.h"
97 97
98 #if defined(USE_ASH) 98 #if defined(USE_ASH)
99 #include "ash/common/ash_switches.h" // nogncheck
100 #include "chrome/browser/extensions/api/tabs/ash_panel_contents.h" // nogncheck 99 #include "chrome/browser/extensions/api/tabs/ash_panel_contents.h" // nogncheck
101 #include "extensions/browser/app_window/app_window_registry.h" // nogncheck 100 #include "extensions/browser/app_window/app_window_registry.h" // nogncheck
102 #endif 101 #endif
103 102
104 using content::BrowserThread; 103 using content::BrowserThread;
105 using content::NavigationController; 104 using content::NavigationController;
106 using content::NavigationEntry; 105 using content::NavigationEntry;
107 using content::OpenURLParams; 106 using content::OpenURLParams;
108 using content::Referrer; 107 using content::Referrer;
109 using content::WebContents; 108 using content::WebContents;
(...skipping 2074 matching lines...) Expand 10 before | Expand all | Expand 10 after
2184 params->tab_id 2183 params->tab_id
2185 ? ErrorUtils::FormatErrorMessage(keys::kCannotDiscardTab, 2184 ? ErrorUtils::FormatErrorMessage(keys::kCannotDiscardTab,
2186 base::IntToString(*params->tab_id)) 2185 base::IntToString(*params->tab_id))
2187 : keys::kCannotFindTabToDiscard)); 2186 : keys::kCannotFindTabToDiscard));
2188 } 2187 }
2189 2188
2190 TabsDiscardFunction::TabsDiscardFunction() {} 2189 TabsDiscardFunction::TabsDiscardFunction() {}
2191 TabsDiscardFunction::~TabsDiscardFunction() {} 2190 TabsDiscardFunction::~TabsDiscardFunction() {}
2192 2191
2193 } // namespace extensions 2192 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698