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

Side by Side Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper.h

Issue 7624012: First pass on intents options UI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 240
241 // Message handlers. 241 // Message handlers.
242 void OnJSOutOfMemory(); 242 void OnJSOutOfMemory();
243 void OnRegisterProtocolHandler(const std::string& protocol, 243 void OnRegisterProtocolHandler(const std::string& protocol,
244 const GURL& url, 244 const GURL& url,
245 const string16& title); 245 const string16& title);
246 void OnRegisterIntentHandler(const string16& action, 246 void OnRegisterIntentHandler(const string16& action,
247 const string16& type, 247 const string16& type,
248 const string16& href, 248 const string16& href,
249 const string16& title); 249 const string16& title);
250 void OnWebIntentDispatch(int routing_id,
251 const string16& action,
252 const string16& type,
253 const string16& data,
254 int intent_id);
250 void OnSnapshot(const SkBitmap& bitmap); 255 void OnSnapshot(const SkBitmap& bitmap);
251 void OnPDFHasUnsupportedFeature(); 256 void OnPDFHasUnsupportedFeature();
252 void OnDidBlockDisplayingInsecureContent(); 257 void OnDidBlockDisplayingInsecureContent();
253 void OnDidBlockRunningInsecureContent(); 258 void OnDidBlockRunningInsecureContent();
254 259
255 // Returns the server that can provide alternate error pages. If the returned 260 // Returns the server that can provide alternate error pages. If the returned
256 // URL is empty, the default error page built into WebKit will be used. 261 // URL is empty, the default error page built into WebKit will be used.
257 GURL GetAlternateErrorPageURL() const; 262 GURL GetAlternateErrorPageURL() const;
258 263
259 // Send the alternate error page URL to the renderer. 264 // Send the alternate error page URL to the renderer.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 354
350 // The supporting objects need to outlive the TabContents dtor (as they may 355 // The supporting objects need to outlive the TabContents dtor (as they may
351 // be called upon during its execution). As a result, this must come last 356 // be called upon during its execution). As a result, this must come last
352 // in the list. 357 // in the list.
353 scoped_ptr<TabContents> tab_contents_; 358 scoped_ptr<TabContents> tab_contents_;
354 359
355 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); 360 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper);
356 }; 361 };
357 362
358 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 363 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698