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

Side by Side Diff: chrome_frame/chrome_frame_automation.h

Issue 6756044: Remove extension automation support that was used only by CEEE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. Created 9 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
« no previous file with comments | « chrome_frame/chrome_frame_activex_base.h ('k') | chrome_frame/chrome_frame_automation.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_FRAME_CHROME_FRAME_AUTOMATION_H_ 5 #ifndef CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_
6 #define CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ 6 #define CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlwin.h> 9 #include <atlwin.h>
10 #include <string> 10 #include <string>
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 const std::string& url, 336 const std::string& url,
337 const std::string& referrer, 337 const std::string& referrer,
338 NavigationConstraints* navigation_constraints); 338 NavigationConstraints* navigation_constraints);
339 339
340 virtual bool NavigateToIndex(int index); 340 virtual bool NavigateToIndex(int index);
341 bool ForwardMessageFromExternalHost(const std::string& message, 341 bool ForwardMessageFromExternalHost(const std::string& message,
342 const std::string& origin, 342 const std::string& origin,
343 const std::string& target); 343 const std::string& target);
344 bool SetProxySettings(const std::string& json_encoded_proxy_settings); 344 bool SetProxySettings(const std::string& json_encoded_proxy_settings);
345 345
346 virtual void SetEnableExtensionAutomation(
347 const std::vector<std::string>& functions_enabled);
348
349 void FindInPage(const std::wstring& search_string, 346 void FindInPage(const std::wstring& search_string,
350 FindInPageDirection forward, 347 FindInPageDirection forward,
351 FindInPageCase match_case, 348 FindInPageCase match_case,
352 bool find_next); 349 bool find_next);
353 350
354 virtual void InstallExtension(const FilePath& crx_path, void* user_data);
355
356 virtual void LoadExpandedExtension(const FilePath& path, void* user_data);
357
358 // Starts a request to get the list of enabled extensions' base directories.
359 // Response comes back as ChromeFrameDelegate::OnEnabledExtensions().
360 virtual void GetEnabledExtensions(void* user_data);
361
362 virtual void InstallExtensionComplete(
363 const FilePath& path,
364 void* user_data,
365 AutomationMsg_ExtensionResponseValues res);
366
367 virtual void GetEnabledExtensionsComplete(
368 void* user_data,
369 std::vector<FilePath>* extension_directories);
370
371 // Returns the session ID used to identify a Tab in Chrome.
372 virtual int GetSessionId() const;
373
374 virtual void OnChromeFrameHostMoved(); 351 virtual void OnChromeFrameHostMoved();
375 352
376 TabProxy* tab() const { return tab_.get(); } 353 TabProxy* tab() const { return tab_.get(); }
377 354
378 BEGIN_MSG_MAP(ChromeFrameAutomationClient) 355 BEGIN_MSG_MAP(ChromeFrameAutomationClient)
379 CHAIN_MSG_MAP( 356 CHAIN_MSG_MAP(
380 TaskMarshallerThroughWindowsMessages<ChromeFrameAutomationClient>) 357 TaskMarshallerThroughWindowsMessages<ChromeFrameAutomationClient>)
381 END_MSG_MAP() 358 END_MSG_MAP()
382 359
383 // Resizes the hosted chrome window. This is brokered to the chrome 360 // Resizes the hosted chrome window. This is brokered to the chrome
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 // set to true if the host needs to get notified of all top level navigations 538 // set to true if the host needs to get notified of all top level navigations
562 // in this page. This typically applies to hosts which would render the new 539 // in this page. This typically applies to hosts which would render the new
563 // page without chrome frame. Defaults to false. 540 // page without chrome frame. Defaults to false.
564 bool route_all_top_level_navigations_; 541 bool route_all_top_level_navigations_;
565 542
566 friend class BeginNavigateContext; 543 friend class BeginNavigateContext;
567 friend class CreateExternalTabContext; 544 friend class CreateExternalTabContext;
568 }; 545 };
569 546
570 #endif // CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ 547 #endif // CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_
OLDNEW
« no previous file with comments | « chrome_frame/chrome_frame_activex_base.h ('k') | chrome_frame/chrome_frame_automation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698