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

Side by Side Diff: remoting/client/plugin/chromoting_instance.h

Issue 16140022: Issue 245137: Mouse-move events not sent after clicking on drop-down toolbar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_instance.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) 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 // TODO(ajwong): We need to come up with a better description of the 5 // TODO(ajwong): We need to come up with a better description of the
6 // responsibilities for each thread. 6 // responsibilities for each thread.
7 7
8 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 8 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
9 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 9 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 // Helper method to parse authentication_methods parameter. 102 // Helper method to parse authentication_methods parameter.
103 static bool ParseAuthMethods(const std::string& auth_methods, 103 static bool ParseAuthMethods(const std::string& auth_methods,
104 ClientConfig* config); 104 ClientConfig* config);
105 105
106 explicit ChromotingInstance(PP_Instance instance); 106 explicit ChromotingInstance(PP_Instance instance);
107 virtual ~ChromotingInstance(); 107 virtual ~ChromotingInstance();
108 108
109 // pp::Instance interface. 109 // pp::Instance interface.
110 virtual void DidChangeView(const pp::View& view) OVERRIDE; 110 virtual void DidChangeView(const pp::View& view) OVERRIDE;
111 virtual void DidChangeFocus(bool has_focus) OVERRIDE;
112 virtual bool Init(uint32_t argc, const char* argn[], 111 virtual bool Init(uint32_t argc, const char* argn[],
113 const char* argv[]) OVERRIDE; 112 const char* argv[]) OVERRIDE;
114 virtual void HandleMessage(const pp::Var& message) OVERRIDE; 113 virtual void HandleMessage(const pp::Var& message) OVERRIDE;
115 virtual bool HandleInputEvent(const pp::InputEvent& event) OVERRIDE; 114 virtual bool HandleInputEvent(const pp::InputEvent& event) OVERRIDE;
116 115
117 // ClientUserInterface interface. 116 // ClientUserInterface interface.
118 virtual void OnConnectionState(protocol::ConnectionToHost::State state, 117 virtual void OnConnectionState(protocol::ConnectionToHost::State state,
119 protocol::ErrorCode error) OVERRIDE; 118 protocol::ErrorCode error) OVERRIDE;
120 virtual void OnConnectionReady(bool ready) OVERRIDE; 119 virtual void OnConnectionReady(bool ready) OVERRIDE;
121 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE; 120 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 base::WeakPtr<PepperTokenFetcher> pepper_token_fetcher_; 253 base::WeakPtr<PepperTokenFetcher> pepper_token_fetcher_;
255 254
256 base::WeakPtrFactory<ChromotingInstance> weak_factory_; 255 base::WeakPtrFactory<ChromotingInstance> weak_factory_;
257 256
258 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); 257 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance);
259 }; 258 };
260 259
261 } // namespace remoting 260 } // namespace remoting
262 261
263 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ 262 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/client/plugin/chromoting_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698