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

Side by Side Diff: chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc

Issue 220253002: Add net/base/filename_util.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
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/tabs/browser_tab_strip_controller.h" 5 #include "chrome/browser/ui/views/tabs/browser_tab_strip_controller.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 #include "base/task_runner_util.h" 10 #include "base/task_runner_util.h"
(...skipping 21 matching lines...) Expand all
32 #include "chrome/common/chrome_switches.h" 32 #include "chrome/common/chrome_switches.h"
33 #include "chrome/common/pref_names.h" 33 #include "chrome/common/pref_names.h"
34 #include "chrome/common/url_constants.h" 34 #include "chrome/common/url_constants.h"
35 #include "content/public/browser/browser_thread.h" 35 #include "content/public/browser/browser_thread.h"
36 #include "content/public/browser/notification_service.h" 36 #include "content/public/browser/notification_service.h"
37 #include "content/public/browser/plugin_service.h" 37 #include "content/public/browser/plugin_service.h"
38 #include "content/public/browser/user_metrics.h" 38 #include "content/public/browser/user_metrics.h"
39 #include "content/public/browser/web_contents.h" 39 #include "content/public/browser/web_contents.h"
40 #include "content/public/common/webplugininfo.h" 40 #include "content/public/common/webplugininfo.h"
41 #include "ipc/ipc_message.h" 41 #include "ipc/ipc_message.h"
42 #include "net/base/net_util.h" 42 #include "net/base/filename_util.h"
43 #include "ui/base/layout.h" 43 #include "ui/base/layout.h"
44 #include "ui/base/models/list_selection_model.h" 44 #include "ui/base/models/list_selection_model.h"
45 #include "ui/gfx/image/image.h" 45 #include "ui/gfx/image/image.h"
46 #include "ui/views/controls/menu/menu_item_view.h" 46 #include "ui/views/controls/menu/menu_item_view.h"
47 #include "ui/views/controls/menu/menu_runner.h" 47 #include "ui/views/controls/menu/menu_runner.h"
48 #include "ui/views/widget/widget.h" 48 #include "ui/views/widget/widget.h"
49 49
50 using base::UserMetricsAction; 50 using base::UserMetricsAction;
51 using content::WebContents; 51 using content::WebContents;
52 52
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 url, 592 url,
593 mime_type.empty() || 593 mime_type.empty() ||
594 net::IsSupportedMimeType(mime_type) || 594 net::IsSupportedMimeType(mime_type) ||
595 content::PluginService::GetInstance()->GetPluginInfo( 595 content::PluginService::GetInstance()->GetPluginInfo(
596 -1, // process ID 596 -1, // process ID
597 MSG_ROUTING_NONE, // routing ID 597 MSG_ROUTING_NONE, // routing ID
598 model_->profile()->GetResourceContext(), 598 model_->profile()->GetResourceContext(),
599 url, GURL(), mime_type, false, 599 url, GURL(), mime_type, false,
600 NULL, &plugin, NULL)); 600 NULL, &plugin, NULL));
601 } 601 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/download/download_item_drag.cc ('k') | chrome/browser/ui/webui/about_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698