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

Side by Side Diff: apps/app_shim/app_shim_host_mac.h

Issue 23514021: Add Hide to app menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Save original key equivalent. Created 7 years, 3 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 | « apps/app_shim/app_shim_handler_mac.h ('k') | apps/app_shim/app_shim_host_mac.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 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 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_APP_SHIM_HOST_MAC_H_ 5 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_APP_SHIM_HOST_MAC_H_
6 #define CHROME_BROWSER_WEB_APPLICATIONS_APP_SHIM_HOST_MAC_H_ 6 #define CHROME_BROWSER_WEB_APPLICATIONS_APP_SHIM_HOST_MAC_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "apps/app_shim/app_shim_handler_mac.h" 10 #include "apps/app_shim/app_shim_handler_mac.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void OnFocus(apps::AppShimFocusType focus_type); 58 void OnFocus(apps::AppShimFocusType focus_type);
59 59
60 void OnSetHidden(bool hidden); 60 void OnSetHidden(bool hidden);
61 61
62 // Called when the app shim process notifies that the app should quit. 62 // Called when the app shim process notifies that the app should quit.
63 void OnQuit(); 63 void OnQuit();
64 64
65 // apps::AppShimHandler::Host overrides: 65 // apps::AppShimHandler::Host overrides:
66 virtual void OnAppLaunchComplete(apps::AppShimLaunchResult result) OVERRIDE; 66 virtual void OnAppLaunchComplete(apps::AppShimLaunchResult result) OVERRIDE;
67 virtual void OnAppClosed() OVERRIDE; 67 virtual void OnAppClosed() OVERRIDE;
68 virtual void OnAppHide() OVERRIDE;
68 virtual void OnAppRequestUserAttention() OVERRIDE; 69 virtual void OnAppRequestUserAttention() OVERRIDE;
69 virtual base::FilePath GetProfilePath() const OVERRIDE; 70 virtual base::FilePath GetProfilePath() const OVERRIDE;
70 virtual std::string GetAppId() const OVERRIDE; 71 virtual std::string GetAppId() const OVERRIDE;
71 72
72 // Closes the channel and destroys the AppShimHost. 73 // Closes the channel and destroys the AppShimHost.
73 void Close(); 74 void Close();
74 75
75 scoped_ptr<IPC::ChannelProxy> channel_; 76 scoped_ptr<IPC::ChannelProxy> channel_;
76 std::string app_id_; 77 std::string app_id_;
77 base::FilePath profile_path_; 78 base::FilePath profile_path_;
78 bool initial_launch_finished_; 79 bool initial_launch_finished_;
79 }; 80 };
80 81
81 #endif // CHROME_BROWSER_WEB_APPLICATIONS_APP_SHIM_HOST_MAC_H_ 82 #endif // CHROME_BROWSER_WEB_APPLICATIONS_APP_SHIM_HOST_MAC_H_
OLDNEW
« no previous file with comments | « apps/app_shim/app_shim_handler_mac.h ('k') | apps/app_shim/app_shim_host_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698