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

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

Issue 12041078: Clear the clipboard closing Incognito window (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge and compilation fixes Created 7 years, 10 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ash_panel_contents.h" 5 #include "chrome/browser/extensions/api/tabs/ash_panel_contents.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/extensions/api/tabs/tabs_constants.h" 8 #include "chrome/browser/extensions/api/tabs/tabs_constants.h"
9 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h" 9 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h"
10 #include "chrome/browser/extensions/api/tabs/windows_event_router.h" 10 #include "chrome/browser/extensions/api/tabs/windows_event_router.h"
11 #include "chrome/browser/extensions/extension_tab_util.h" 11 #include "chrome/browser/extensions/extension_tab_util.h"
12 #include "chrome/browser/extensions/window_controller_list.h" 12 #include "chrome/browser/extensions/window_controller_list.h"
13 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/ui/extensions/native_app_window.h" 14 #include "chrome/browser/ui/extensions/native_app_window.h"
14 #include "chrome/browser/ui/extensions/shell_window.h" 15 #include "chrome/browser/ui/extensions/shell_window.h"
15 #include "chrome/common/chrome_notification_types.h" 16 #include "chrome/common/chrome_notification_types.h"
16 #include "chrome/common/extensions/extension.h" 17 #include "chrome/common/extensions/extension.h"
17 #include "chrome/common/extensions/extension_messages.h" 18 #include "chrome/common/extensions/extension_messages.h"
18 #include "content/public/browser/site_instance.h" 19 #include "content/public/browser/site_instance.h"
19 #include "content/public/browser/web_contents.h" 20 #include "content/public/browser/web_contents.h"
20 21
21 // AshPanelWindowController ---------------------------------------------------- 22 // AshPanelWindowController ----------------------------------------------------
22 23
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 213
213 content::WebContents* AshPanelContents::GetAssociatedWebContents() const { 214 content::WebContents* AshPanelContents::GetAssociatedWebContents() const {
214 return web_contents_.get(); 215 return web_contents_.get();
215 } 216 }
216 217
217 void AshPanelContents::OnRequest( 218 void AshPanelContents::OnRequest(
218 const ExtensionHostMsg_Request_Params& params) { 219 const ExtensionHostMsg_Request_Params& params) {
219 extension_function_dispatcher_->Dispatch( 220 extension_function_dispatcher_->Dispatch(
220 params, web_contents_->GetRenderViewHost()); 221 params, web_contents_->GetRenderViewHost());
221 } 222 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698