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

Side by Side Diff: chrome/browser/ui/intents/web_intent_inline_disposition_delegate.cc

Issue 10735061: Move ExtensionWindowController and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 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/intents/web_intent_inline_disposition_delegate.h" 5 #include "chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_tabstrip.h" 9 #include "chrome/browser/ui/browser_tabstrip.h"
10 #include "chrome/browser/ui/intents/web_intent_picker.h" 10 #include "chrome/browser/ui/intents/web_intent_picker.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 render_view_host->EnableAutoResize( 100 render_view_host->EnableAutoResize(
101 WebIntentPicker::GetMinInlineDispositionSize(), 101 WebIntentPicker::GetMinInlineDispositionSize(),
102 WebIntentPicker::GetMaxInlineDispositionSize()); 102 WebIntentPicker::GetMaxInlineDispositionSize());
103 } 103 }
104 104
105 content::WebContents* WebIntentInlineDispositionDelegate:: 105 content::WebContents* WebIntentInlineDispositionDelegate::
106 GetAssociatedWebContents() const { 106 GetAssociatedWebContents() const {
107 return NULL; 107 return NULL;
108 } 108 }
109 109
110 ExtensionWindowController* WebIntentInlineDispositionDelegate:: 110 extensions::WindowController*
111 GetExtensionWindowController() const { 111 WebIntentInlineDispositionDelegate::GetExtensionWindowController() const {
112 return NULL; 112 return NULL;
113 } 113 }
114 114
115 void WebIntentInlineDispositionDelegate::OnRequest( 115 void WebIntentInlineDispositionDelegate::OnRequest(
116 const ExtensionHostMsg_Request_Params& params) { 116 const ExtensionHostMsg_Request_Params& params) {
117 extension_function_dispatcher_.Dispatch(params, 117 extension_function_dispatcher_.Dispatch(params,
118 web_contents_->GetRenderViewHost()); 118 web_contents_->GetRenderViewHost());
119 } 119 }
120 void WebIntentInlineDispositionDelegate::ResizeDueToAutoResize( 120 void WebIntentInlineDispositionDelegate::ResizeDueToAutoResize(
121 content::WebContents* source, const gfx::Size& pref_size) { 121 content::WebContents* source, const gfx::Size& pref_size) {
122 DCHECK(picker_); 122 DCHECK(picker_);
123 picker_->OnInlineDispositionAutoResize(pref_size); 123 picker_->OnInlineDispositionAutoResize(pref_size);
124 } 124 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h ('k') | chrome/browser/ui/panels/panel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698