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

Side by Side Diff: remoting/client/chromoting_view.h

Issue 8351084: Remove old Authentication code that we don't use or need. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 1 month 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 | « remoting/client/chromoting_client.cc ('k') | remoting/client/plugin/chromoting_instance.h » ('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 REMOTING_CLIENT_CHROMOTING_VIEW_H_ 5 #ifndef REMOTING_CLIENT_CHROMOTING_VIEW_H_
6 #define REMOTING_CLIENT_CHROMOTING_VIEW_H_ 6 #define REMOTING_CLIENT_CHROMOTING_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void SetSolidFill(uint32 color) = 0; 49 virtual void SetSolidFill(uint32 color) = 0;
50 50
51 // Removes a previously set solid fill. If no fill was previous set, this 51 // Removes a previously set solid fill. If no fill was previous set, this
52 // does nothing. 52 // does nothing.
53 virtual void UnsetSolidFill() = 0; 53 virtual void UnsetSolidFill() = 0;
54 54
55 // Record the update the state of the connection, updating the UI as needed. 55 // Record the update the state of the connection, updating the UI as needed.
56 virtual void SetConnectionState(protocol::ConnectionToHost::State state, 56 virtual void SetConnectionState(protocol::ConnectionToHost::State state,
57 protocol::ConnectionToHost::Error error) = 0; 57 protocol::ConnectionToHost::Error error) = 0;
58 58
59 // Update the status of the last login attempt. Updating the UI as needed.
60 // |success| is set to true if the last login successful otherwise false.
61 // |info| contains the error information if available.
62 virtual void UpdateLoginStatus(bool success, const std::string& info) = 0;
63
64 // Return the horizontal scale factor of this view. 59 // Return the horizontal scale factor of this view.
65 virtual double GetHorizontalScaleRatio() const = 0; 60 virtual double GetHorizontalScaleRatio() const = 0;
66 61
67 // Return the vertical scale factor of this view. 62 // Return the vertical scale factor of this view.
68 virtual double GetVerticalScaleRatio() const = 0; 63 virtual double GetVerticalScaleRatio() const = 0;
69 64
70 protected: 65 protected:
71 // Framebuffer for the decoder. 66 // Framebuffer for the decoder.
72 scoped_refptr<media::VideoFrame> frame_; 67 scoped_refptr<media::VideoFrame> frame_;
73 68
74 // Dimensions of |frame_| bitmap. 69 // Dimensions of |frame_| bitmap.
75 int frame_width_; 70 int frame_width_;
76 int frame_height_; 71 int frame_height_;
77 }; 72 };
78 73
79 } // namespace remoting 74 } // namespace remoting
80 75
81 #endif // REMOTING_CLIENT_CHROMOTING_VIEW_H_ 76 #endif // REMOTING_CLIENT_CHROMOTING_VIEW_H_
OLDNEW
« no previous file with comments | « remoting/client/chromoting_client.cc ('k') | remoting/client/plugin/chromoting_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698