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

Unified Diff: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h

Issue 12022002: Fixing activation states from the new launcher. Also adding a whole bunch of unit tests for the new… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed problem with ASAN unittest Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h
diff --git a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h
index 82bdaedab44c7cbd48df9e9ecb58cfd13f266214..47b33f15a62ab625f4927d90ed0971032c91722c 100644
--- a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h
+++ b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h
@@ -41,8 +41,10 @@ class AppShortcutLauncherItemController : public LauncherItemController {
virtual ChromeLauncherAppMenuItems* GetApplicationList() OVERRIDE;
std::vector<content::WebContents*> GetRunningApplications();
- // Stores the optional refocus url pattern for this item.
+ // Get the refocus url pattern, which can be used to identify this application
+ // from a URL link.
const GURL& refocus_url() const { return refocus_url_; }
+ // Set the refocus url pattern. Used by unit tests.
void set_refocus_url(const GURL& refocus_url) { refocus_url_ = refocus_url; }
private:
« no previous file with comments | « no previous file | chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698