Package com.google.speedtracer.client.messages

Examples of com.google.speedtracer.client.messages.InitializeMonitorMessage


  }

  public void onMessage(Client channel, int type, WindowChannel.Message data) {
    switch (type) {
      case InitializeMonitorMessage.TYPE:
        final InitializeMonitorMessage initMessage = data.cast();
        initialize(initMessage.getTabDescription(), initMessage.getHandle(),
            initMessage.getVersion());
        break;
      case RecordingDataMessage.TYPE:
        final RecordingDataMessage recordingDataMessage = data.cast();
        recordingDataReceived(recordingDataMessage.isRecording());
        break;
View Full Code Here


            // We are talking to another browser. Go ahead and initialize
            // the window since the interaction was started externally.
            assert (tabModel.tabDescription != null);
            assert (tabModel.dataInstance != null);

            final InitializeMonitorMessage initializeMessage = InitializeMonitorMessage.create(
                tabModel.tabDescription, tabModel.dataInstance, getVersion());
            channel.sendMessage(InitializeMonitorMessage.TYPE,
                initializeMessage);

            // If we are talking to chrome, update the pageAction Icon and
View Full Code Here

TOP

Related Classes of com.google.speedtracer.client.messages.InitializeMonitorMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.